From 367aa24e3556aa62a0956459336daa6cbdce7d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Mon, 23 Oct 2023 06:40:37 +0200 Subject: [PATCH 1/3] Setup Transifex translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Until recently all the strings shown in the UI came from PDF.js, and they used its localisation system. However, now there are some strings specific to the Nextcloud PDF viewer, so they need to be explicitly translated using the Nextcloud translation system. Signed-off-by: Daniel Calviño Sánchez --- .l10nignore | 1 + .tx/config | 9 +++++++++ l10n/.gitkeep | 0 3 files changed, 10 insertions(+) create mode 100644 .l10nignore create mode 100644 .tx/config create mode 100644 l10n/.gitkeep diff --git a/.l10nignore b/.l10nignore new file mode 100644 index 00000000..6a63c9d5 --- /dev/null +++ b/.l10nignore @@ -0,0 +1 @@ +js/ diff --git a/.tx/config b/.tx/config new file mode 100644 index 00000000..8f8da76c --- /dev/null +++ b/.tx/config @@ -0,0 +1,9 @@ +[main] +host = https://www.transifex.com +lang_map = th_TH: th, ja_JP: ja, bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk + +[o:nextcloud:p:nextcloud:r:files_pdfviewer] +file_filter = translationfiles//files_pdfviewer.po +source_file = translationfiles/templates/files_pdfviewer.pot +source_lang = en +type = PO diff --git a/l10n/.gitkeep b/l10n/.gitkeep new file mode 100644 index 00000000..e69de29b From 2baa25ff36f4a50d9368e74eec9153d405e6ad84 Mon Sep 17 00:00:00 2001 From: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:17:30 +0100 Subject: [PATCH 2/3] Create backport Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> --- .tx/backport | 1 + 1 file changed, 1 insertion(+) create mode 100644 .tx/backport diff --git a/.tx/backport b/.tx/backport new file mode 100644 index 00000000..8660ecdc --- /dev/null +++ b/.tx/backport @@ -0,0 +1 @@ +stable28 From c722ed2f88c72ed80e7ec57c07fdbfff24a7e475 Mon Sep 17 00:00:00 2001 From: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Date: Mon, 6 Nov 2023 08:50:28 +0100 Subject: [PATCH 3/3] Delete .tx/backport Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> --- .tx/backport | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .tx/backport diff --git a/.tx/backport b/.tx/backport deleted file mode 100644 index 8660ecdc..00000000 --- a/.tx/backport +++ /dev/null @@ -1 +0,0 @@ -stable28