From 6e27210f9fb2d8671fd80d67eff872c57a324edf Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 31 Oct 2022 16:48:55 +0100 Subject: [PATCH] Translations: Update English backend messages in default.po #2083 Signed-off-by: Michael Mayer --- assets/locales/en/default.mo | Bin 5442 -> 384 bytes assets/locales/en/default.po | 177 ++++++++++++++++------------------- assets/locales/messages.pot | 2 +- scripts/gettext-merge.sh | 4 +- 4 files changed, 86 insertions(+), 97 deletions(-) diff --git a/assets/locales/en/default.mo b/assets/locales/en/default.mo index 9abebad69fc637cb56b7929fed259d7433ae8e26..607066be17abb78cbebe2eb64753c8562e2ea561 100644 GIT binary patch delta 90 zcmX@4)xd0VPl#nI0}wC*u?!Ha05LNV>i{tbSOBpbP|^}egVeylz;(4f=@u{PoU<16*l3wU<*QTTf(eSfL=Pk0~o|3K+GJXZ2Jl%J16t@|XDzGva>FolQV*PzyY zwQBzvR6KqSQEC1Pwf+q#zYd^OJOt(66qH@_Q0qKbwZ~9)z6d`7UxJ6=H7I?*g0kc7 ziZ`If?PHSk-3!$}0j2jmlz*3@>}^BscOOo`uS3P*H7NVuf|~blsD0bVVCfx)^7~=< z_&#Hvfy%pA8LYU!0X6?mQ0v@)iklYK`gc?uhw48GQDH7Z#bXu9zxAs9E0CXgi4QKC z??Y6YYfy214Qky#R(uy~{y~&!-9u3JpMcW;1wNX;0h{m&Y{6?#c3+45%)j{Hy4jDB z8h;y9-W`H0VNOBi-5lg+zQ{**ya2WC%TRW_0u{HPL+SfX#kZj1{WmCm2iYv~E+{{b zLaqA{l)hQW&pgdX@!y0@HQ%h-e*hJapFri^@1WMd4&~Ro6>q^9`F8}$u1P*xXRc~r zg|c%UDxW-5-hCTN-;W`x%r7fmhZ^?|b#$*{vO3=shmfYC)0@X(Ts=IC3zM(Z-X#&q0Lh} z?nj$5*G;$RSkKaK)wLeQjPLj2G|-eNv8Z7ZI^xU);kI>GBcB&78-cfL&LuW;K2I|j znzQY8+D~%ZW@tWA4_)j=>q(m1bw&EJvr#G#eGHD^mTgD&51x1IOv z{W#tpbfvxRDCyWTaDzzBj_MdVGi=16#I^JPHN{*=@+jXfRxblI7qs1uDjO7*0Uj({ zt7&hz_NMK*tQ&bBrHMCl!LH$H9J=hiCy**-cuHxwAw%kfn@>U#jkpen)-C^kaJdOeT5oC% zX%=;&B#3>p*`#$Vh@&EaAt@EnT(`whf`!$9Bx1I>Kb!uoT9SgSDP6eOCli4u6lIWPK zKg!*%8H{uB4kfuA&L>2@{#qQhZ8r@a8V2WaDRITE!O$<&s+bmZxv+d$sg=U$&3=)FQ*%=%O+I*Vqt`764>Mz5$T%OxF?I=xxgd1&egw3Vu zD&w}QVnsKV-bR|I-drwX$&uLM)<|owm+2}T9hkK@qMc3MAloEIx%PTlw8f<{GJI(B zP-}fJUUqrTRk$FFQSdnMR({T_~URguDq^SD1|*ZR5b z_I+_zO>9`wg8SQ>)x=%x71?85mZifJKaALFamU+k)Y&Lzr|au3@px=jJ^MJc<(agf z*hrUSky@%fIJ@oo#!QMkZc>Z@^8G8>sZhwt^!{};8`i?{#) diff --git a/assets/locales/en/default.po b/assets/locales/en/default.po index de4da19c6..27dd6e649 100644 --- a/assets/locales/en/default.po +++ b/assets/locales/en/default.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-31 12:20+0000\n" -"PO-Revision-Date: 2022-08-02 08:36+0200\n" +"PO-Revision-Date: 2022-10-31 16:44+0100\n" "Last-Translator: Michael Mayer \n" "Language-Team: \n" "Language: en\n" @@ -16,36 +16,36 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.1.1\n" +"X-Generator: Poedit 2.3\n" #: messages.go:94 msgid "Unexpected error, please try again" -msgstr "Unexpected error, please try again" +msgstr "" #: messages.go:95 msgid "Invalid request" -msgstr "Invalid request" +msgstr "" #: messages.go:96 msgid "Changes could not be saved" -msgstr "Changes could not be saved" +msgstr "" #: messages.go:97 msgid "Could not be deleted" -msgstr "Could not be deleted" +msgstr "" #: messages.go:98 #, c-format msgid "%s already exists" -msgstr "%s already exists" +msgstr "" #: messages.go:99 msgid "Not found" -msgstr "Not found" +msgstr "" #: messages.go:100 msgid "File not found" -msgstr "File not found" +msgstr "" #: messages.go:101 msgid "File too large" @@ -57,66 +57,63 @@ msgstr "" #: messages.go:103 msgid "Originals folder is empty" -msgstr "Originals folder is empty" +msgstr "" #: messages.go:104 msgid "Selection not found" -msgstr "Selection not found" +msgstr "" #: messages.go:105 msgid "Entity not found" -msgstr "Entity not found" +msgstr "" #: messages.go:106 msgid "Account not found" -msgstr "Account not found" +msgstr "" #: messages.go:107 msgid "User not found" -msgstr "User not found" +msgstr "" #: messages.go:108 msgid "Label not found" -msgstr "Label not found" +msgstr "" #: messages.go:109 msgid "Album not found" -msgstr "Album not found" +msgstr "" #: messages.go:110 msgid "Subject not found" -msgstr "Subject not found" +msgstr "" #: messages.go:111 msgid "Person not found" -msgstr "Person not found" +msgstr "" #: messages.go:112 msgid "Face not found" -msgstr "Face not found" +msgstr "" #: messages.go:113 msgid "Not available in public mode" -msgstr "Not available in public mode" +msgstr "" #: messages.go:114 -#, fuzzy msgid "Not available in read-only mode" -msgstr "not available in read-only mode" +msgstr "" #: messages.go:115 -#, fuzzy msgid "Please log in to your account" -msgstr "Please log in and try again" +msgstr "" #: messages.go:116 -#, fuzzy msgid "Permission denied" -msgstr "Person deleted" +msgstr "" #: messages.go:117 msgid "Upload might be offensive" -msgstr "Upload might be offensive" +msgstr "" #: messages.go:118 msgid "Upload failed" @@ -124,264 +121,256 @@ msgstr "" #: messages.go:119 msgid "No items selected" -msgstr "No items selected" +msgstr "" #: messages.go:120 -#, fuzzy msgid "Failed creating file, please check permissions" -msgstr "Failed creating file, please check permissions" +msgstr "" #: messages.go:121 -#, fuzzy msgid "Failed creating folder, please check permissions" -msgstr "Failed creating folder, please check permissions" +msgstr "" #: messages.go:122 msgid "Could not connect, please try again" -msgstr "Could not connect, please try again" +msgstr "" #: messages.go:123 msgid "Invalid password, please try again" -msgstr "Invalid password, please try again" +msgstr "" #: messages.go:124 msgid "Feature disabled" -msgstr "Feature disabled" +msgstr "" #: messages.go:125 msgid "No labels selected" -msgstr "No labels selected" +msgstr "" #: messages.go:126 msgid "No albums selected" -msgstr "No albums selected" +msgstr "" #: messages.go:127 msgid "No files available for download" -msgstr "No files available for download" +msgstr "" #: messages.go:128 -#, fuzzy msgid "Failed to create zip file" -msgstr "Failed to create zip file" +msgstr "" #: messages.go:129 msgid "Invalid credentials" -msgstr "Invalid credentials" +msgstr "" #: messages.go:130 msgid "Invalid link" -msgstr "Invalid link" +msgstr "" #: messages.go:131 msgid "Invalid name" -msgstr "Invalid name" +msgstr "" #: messages.go:132 msgid "Busy, please try again later" -msgstr "Busy, please try again later" +msgstr "" #: messages.go:133 #, c-format msgid "The wakeup interval is %s, but must be 1h or less" -msgstr "The wakeup interval is %s, but must be 1h or less" +msgstr "" #: messages.go:134 msgid "Your account could not be connected" -msgstr "Your account could not be connected" +msgstr "" #: messages.go:137 msgid "Changes successfully saved" -msgstr "Changes successfully saved" +msgstr "" #: messages.go:138 msgid "Album created" -msgstr "Album created" +msgstr "" #: messages.go:139 msgid "Album saved" -msgstr "Album saved" +msgstr "" #: messages.go:140 #, c-format msgid "Album %s deleted" -msgstr "Album %s deleted" +msgstr "" #: messages.go:141 msgid "Album contents cloned" -msgstr "Album contents cloned" +msgstr "" #: messages.go:142 msgid "File removed from stack" -msgstr "File removed from stack" +msgstr "" #: messages.go:143 msgid "File deleted" -msgstr "File deleted" +msgstr "" #: messages.go:144 #, c-format msgid "Selection added to %s" -msgstr "Selection added to %s" +msgstr "" #: messages.go:145 #, c-format msgid "One entry added to %s" -msgstr "One entry added to %s" +msgstr "" #: messages.go:146 #, c-format msgid "%d entries added to %s" -msgstr "%d entries added to %s" +msgstr "" #: messages.go:147 #, c-format msgid "One entry removed from %s" -msgstr "One entry removed from %s" +msgstr "" #: messages.go:148 #, c-format msgid "%d entries removed from %s" -msgstr "%d entries removed from %s" +msgstr "" #: messages.go:149 msgid "Account created" -msgstr "Account created" +msgstr "" #: messages.go:150 msgid "Account saved" -msgstr "Account saved" +msgstr "" #: messages.go:151 msgid "Account deleted" -msgstr "Account deleted" +msgstr "" #: messages.go:152 msgid "Settings saved" -msgstr "Settings saved" +msgstr "" #: messages.go:153 msgid "Password changed" -msgstr "Password changed" +msgstr "" #: messages.go:154 #, c-format msgid "Import completed in %d s" -msgstr "Import completed in %d s" +msgstr "" #: messages.go:155 msgid "Import canceled" -msgstr "Import canceled" +msgstr "" #: messages.go:156 #, c-format msgid "Indexing completed in %d s" -msgstr "Indexing completed in %d s" +msgstr "" #: messages.go:157 msgid "Indexing originals..." -msgstr "Indexing originals..." +msgstr "" #: messages.go:158 #, c-format msgid "Indexing files in %s" -msgstr "Indexing files in %s" +msgstr "" #: messages.go:159 msgid "Indexing canceled" -msgstr "Indexing canceled" +msgstr "" #: messages.go:160 #, c-format msgid "Removed %d files and %d photos" -msgstr "Removed %d files and %d photos" +msgstr "" #: messages.go:161 #, c-format msgid "Moving files from %s" -msgstr "Moving files from %s" +msgstr "" #: messages.go:162 #, c-format msgid "Copying files from %s" -msgstr "Copying files from %s" +msgstr "" #: messages.go:163 msgid "Labels deleted" -msgstr "Labels deleted" +msgstr "" #: messages.go:164 msgid "Label saved" -msgstr "Label saved" +msgstr "" #: messages.go:165 msgid "Subject saved" -msgstr "Subject saved" +msgstr "" #: messages.go:166 msgid "Subject deleted" -msgstr "Subject deleted" +msgstr "" #: messages.go:167 msgid "Person saved" -msgstr "Person saved" +msgstr "" #: messages.go:168 msgid "Person deleted" -msgstr "Person deleted" +msgstr "" #: messages.go:169 -#, fuzzy msgid "File uploaded" -msgstr "File deleted" +msgstr "" #: messages.go:170 #, c-format msgid "%d files uploaded in %d s" -msgstr "%d files uploaded in %d s" +msgstr "" #: messages.go:171 msgid "Processing upload..." msgstr "" #: messages.go:172 -#, fuzzy msgid "Upload has been processed" -msgstr "%s has been restored" +msgstr "" #: messages.go:173 msgid "Selection approved" -msgstr "Selection approved" +msgstr "" #: messages.go:174 msgid "Selection archived" -msgstr "Selection archived" +msgstr "" #: messages.go:175 msgid "Selection restored" -msgstr "Selection restored" +msgstr "" #: messages.go:176 msgid "Selection marked as private" -msgstr "Selection marked as private" +msgstr "" #: messages.go:177 msgid "Albums deleted" -msgstr "Albums deleted" +msgstr "" #: messages.go:178 #, c-format msgid "Zip created in %d s" -msgstr "Zip created in %d s" +msgstr "" #: messages.go:179 msgid "Permanently deleted" -msgstr "Permanently deleted" +msgstr "" #: messages.go:180 #, c-format msgid "%s has been restored" -msgstr "%s has been restored" - -#~ msgid "Not found on server, deleted?" -#~ msgstr "Not found on server, deleted?" +msgstr "" diff --git a/assets/locales/messages.pot b/assets/locales/messages.pot index 8e4c9570c..ec554f7f1 100644 --- a/assets/locales/messages.pot +++ b/assets/locales/messages.pot @@ -12,7 +12,7 @@ msgstr "" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -"Language: \n" +"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/scripts/gettext-merge.sh b/scripts/gettext-merge.sh index d74ae2d8f..ace8b77b7 100755 --- a/scripts/gettext-merge.sh +++ b/scripts/gettext-merge.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash echo "Merging backend translations..." -for file in ./assets/locales/**/*.po; do msgmerge --update "${file}" ./assets/locales/messages.pot; done +for file in ./assets/locales/**/*.po; do msgmerge --previous --no-location --no-wrap --update "${file}" ./assets/locales/messages.pot; done echo "Merging frontend translations..." -for file in ./frontend/src/locales/*.po; do msgmerge --update "${file}" ./frontend/src/locales/translations.pot; done +for file in ./frontend/src/locales/*.po; do msgmerge --previous --no-location --no-wrap --update "${file}" ./frontend/src/locales/translations.pot; done echo "Done." \ No newline at end of file