From dc98b6b536e400a710961b0c9fe2c9ad4146b160 Mon Sep 17 00:00:00 2001 From: gbamber Date: Tue, 6 Dec 2016 14:00:44 +0000 Subject: [PATCH] Finally! Language options working. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5431 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- .../json_packager/deploywin/json_packager.iss | 3 + .../deploywin/locale/jsoneditor.po | 321 ++++++++++++++++++ applications/json_packager/jsonpackage.lps | 20 +- .../json_packager/locale/jsoneditor.en.mo | Bin 6511 -> 6696 bytes .../json_packager/locale/jsoneditor.en.po | 12 +- .../json_packager/locale/jsoneditor.es.po | 13 +- .../json_packager/locale/jsoneditor.mo | Bin 1245 -> 322 bytes .../json_packager/locale/jsoneditor.po | 13 +- 8 files changed, 362 insertions(+), 20 deletions(-) create mode 100644 applications/json_packager/deploywin/locale/jsoneditor.po diff --git a/applications/json_packager/deploywin/json_packager.iss b/applications/json_packager/deploywin/json_packager.iss index b08c48bb2..959e32d35 100644 --- a/applications/json_packager/deploywin/json_packager.iss +++ b/applications/json_packager/deploywin/json_packager.iss @@ -40,6 +40,9 @@ Source: "jsoneditor.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode; Flags ; Source: "readme.txt"; DestDir: "{app}"; Flags: isreadme Source: ".\locale\jsoneditor.en.po"; DestDir: "{app}\locale"; Flags: solidbreak Source: ".\locale\jsoneditor.es.po"; DestDir: "{app}\locale"; +Source: ".\locale\jsoneditor.en.mo"; DestDir: "{app}\locale"; +Source: ".\locale\jsoneditor.es.mo"; DestDir: "{app}\locale"; +Source: ".\locale\jsoneditor.po"; DestDir: "{app}\locale"; [Icons] Name: "{group}\External OPM JSON package Editor"; Filename: "{app}\jsoneditor.exe" diff --git a/applications/json_packager/deploywin/locale/jsoneditor.po b/applications/json_packager/deploywin/locale/jsoneditor.po new file mode 100644 index 000000000..ffab0c425 --- /dev/null +++ b/applications/json_packager/deploywin/locale/jsoneditor.po @@ -0,0 +1,321 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: jsoneditor\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: de\n" +"X-Generator: Poedit 1.8.11\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#: tfrmmain.btnadd.caption +msgid "Add" +msgstr "" + +#: tfrmmain.btnadd.hint +msgid "" +"Add Package File:\n" +"The update zip can contain more than one lpk file\n" +"deployed to the same place.\n" +msgstr "" + +#: tfrmmain.btnremove.caption +msgid "Remove" +msgstr "" + +#: tfrmmain.btnremove.hint +msgid "" +"Remove Package File:\n" +"Deletes the last entry from the list\n" +msgstr "" + +#: tfrmmain.cbforcenotify.caption +msgid "Force Notify" +msgstr "" + +#: tfrmmain.cbforcenotify.hint +msgid "" +"Force Notify check box:\n" +"If this is checked the OPM user will be notified\n" +"of your update. Only check this if the update is important.\n" +msgstr "" + +#: tfrmmain.cmd_close.caption +msgid "&Close" +msgstr "" + +#: tfrmmain.cmd_save.caption +msgid "&Save" +msgstr "" + +#: tfrmmain.cmd_save.hint +msgid "" +"Save the current configuration to disk\n" +"as a JSON update file\n" +msgstr "" + +#: tfrmmain.editdownloadzipurl.hint +msgid "" +"Download URL:\n" +"Include the FULL url needed to download the package Zip file\n" +msgstr "" + +#: tfrmmain.editname.hint +msgid "" +"Update Zip Name:\n" +"This is just the filename (not including the path)\n" +"of your update zip. Type, or click the [...]\n" +msgstr "" + +#: tfrmmain.filemenu.caption +msgid "File" +msgstr "" + +#: tfrmmain.fileopen1.caption +msgid "&Open ..." +msgstr "" + +#: tfrmmain.fileopen1.hint +msgid "Open" +msgstr "" + +#: tfrmmain.filesaveas1.caption +msgid "&Save As ..." +msgstr "" + +#: tfrmmain.filesaveas1.hint +msgid "Save As" +msgstr "" + +#: tfrmmain.lbldownloadzipurl.caption +msgid "Download URL:" +msgstr "" + +#: tfrmmain.lblname.caption +msgid "Update Zip Name:" +msgstr "" + +#: tfrmmain.lblpackagefiles.caption +msgid "Package Files:" +msgstr "" + +#: tfrmmain.loaditem.caption +msgid "Load..." +msgstr "" + +#: tfrmmain.mnu_filenew.caption +msgid "New" +msgstr "" + +#: tfrmmain.mnu_filesave.caption +msgid "Save" +msgstr "" + +#: tfrmmain.mnu_help.caption +msgid "&Help" +msgstr "" + +#: tfrmmain.mnu_helpabout.caption +msgid "About.." +msgstr "" + +#: tfrmmain.mnu_helpdisablewarnings.caption +msgid "Disable warnings" +msgstr "" + +#: tfrmmain.mnu_helpshowhints.caption +msgid "Show Popup Hints" +msgstr "" + +#: tfrmmain.mnu_lang.caption +msgid "Languages.." +msgstr "" + +#: tfrmmain.mnu_lang_en.caption +msgid "English" +msgstr "" + +#: tfrmmain.mnu_lang_es.caption +msgid "Español" +msgstr "" + +#: tfrmmain.saveasitem.caption +msgid "Save As..." +msgstr "" + +#: tfrmmain.sb_editname.caption +msgid "..." +msgstr "" + +#: tfrmmain.sb_editname.hint +msgid "" +"Update Zip Name:\n" +"Click this to browse your system to find\n" +" an existing Update Zip\n" +msgstr "" + +#: tfrmmain.spd_checkurl.caption +msgid "Check URL" +msgstr "" + +#: tfrmmain.spd_checkurl.hint +msgid "Attempting to Open URL" +msgstr "" + +#: tfrmmain.stringpackagefiles.hint +msgid "" +"Package Files:\n" +"[Add]: to make a new entry\n" +"[Remove]: Remove last entry\n" +"lpk filename: i.e. mycontrol.lpk\n" +"Version: The FULL version (i.e. not 1.0 but 1.0.0.0)\n" +msgstr "" + +#: umain.rsabout +msgid "About" +msgstr "" + +#: umain.rscompiledwith2 +msgid "Compiled with FPC V:%s and Lazarus V:%d.%d%s for the %s - %s platform%s%s" +msgstr "" + +#: umain.rsdownloadzipurld +msgid "- Download URL does not contain the zipfile name" +msgstr "" + +#: umain.rsdownloadzipurli +msgid "- Download URL is too short or missing" +msgstr "" + +#: umain.rsdownloadzipurli2 +msgid "- Download URL is incomplete" +msgstr "" + +#: umain.rsdownloadzipurls +msgid "- Download URL should start with \"http\"" +msgstr "" + +#: umain.rsfilemaybeuns +msgid "JSON may be unsaved. Are you sure you want to quit?" +msgstr "" + +#: umain.rsfixthentryag +msgid "Fix, then try again." +msgstr "" + +#: umain.rshelpandinfor +msgid "Help and Information" +msgstr "" + +#: umain.rshttpwwwupdat +msgid "http://www.updatesite.com/myupdate/mypackagename.zip" +msgstr "" + +#: umain.rslanguagechan +msgid "Language changed to \"%s\"." +msgstr "" + +#: umain.rslpkfilename +msgid "lpk FileName" +msgstr "" + +#: umain.rsmypackagenam +msgid "mypackagename.zip" +msgstr "" + +#: umain.rsoneofthereq1 +msgid "One of the required fields is missing or wrong." +msgstr "" + +#: umain.rsoneofthereqn +msgid "One or more of the required fields are missing or wrong." +msgstr "" + +#: umain.rsoverwrite +msgid "Overwrite" +msgstr "" + +#: umain.rssavedok +msgid "Saved OK" +msgstr "" + +#: umain.rssaveunsucces +msgid "Save unsuccessful" +msgstr "" + +#: umain.rssorrycopyope +msgid "Sorry - copy operation was unsuccessful" +msgstr "" + +#: umain.rssorrythislan +msgid "Sorry, this language is unavailable at this time." +msgstr "" + +#: umain.rsswassuccessf +msgid "%s was successfully copied to the %s folder" +msgstr "" + +#: umain.rsthelpkentryd +msgid "The .lpk entry #%d is missing the .lpk extension" +msgstr "" + +#: umain.rsthelpkentryd2 +msgid "The .lpk entry #%d is is absent" +msgstr "" + +#: umain.rstherearenolp +msgid "- There are no .lpk files in the list yet" +msgstr "" + +#: umain.rsthereareoneo +msgid "- There are one or more .lpk entries with the same name.%s- Every .lpk entry must have a unique name." +msgstr "" + +#: umain.rsthisoptionsh +msgid "This option should only be used for crucial updates or bug-fixed packages. Are you OK with that?" +msgstr "" + +#: umain.rsturnhintsoff +msgid "(You can toggle these hints on/off in the Help menu)" +msgstr "" + +#: umain.rsupdate +msgid "Update" +msgstr "" + +#: umain.rsupdatejsonsf +msgid "Update file \"%s\" failed to load correctly." +msgstr "" + +#: umain.rsupdatezipnam +msgid "- Update zip name is too short or missing" +msgstr "" + +#: umain.rsupdatezipnam2 +msgid "- Update zip name missing extension \".zip\"" +msgstr "" + +#: umain.rsversion0000 +msgid "Version (n.n.n.n)" +msgstr "" + +#: umain.rsversionentry +msgid "Version Entry #%d is absent" +msgstr "" + +#: umain.rsversionentry2 +msgid "Version entry #%d needs to be of the form n.n.n.n" +msgstr "" + +#: umain.rswouldyoulike +msgid "Would you like to copy %s to the %s folder?" +msgstr "" + +#: umain.rsyoumayneedto +msgid "(You may need to restart the app to see the change)" +msgstr "" + diff --git a/applications/json_packager/jsonpackage.lps b/applications/json_packager/jsonpackage.lps index ee434597e..04a54ca92 100644 --- a/applications/json_packager/jsonpackage.lps +++ b/applications/json_packager/jsonpackage.lps @@ -3,7 +3,7 @@ - + @@ -160,7 +160,7 @@ - + @@ -262,25 +262,21 @@ - - + + - + - - - - - - + + - + diff --git a/applications/json_packager/locale/jsoneditor.en.mo b/applications/json_packager/locale/jsoneditor.en.mo index 2f42acae93ec939769f209e6e2b7d87b7fa26671..85493cc430ac6a72455288fdf147147d63f8103c 100644 GIT binary patch delta 787 zcmYMyO=#3W6u|L^TWdG9e$-lP70k)vN7klYVF|3DwbrFAE_Kl&f*W_IORP;W8}}rn zCy!n#2#Sa&dlc){s|PQFiinF)@n98EDdIs;{Et}`0>8YMnK$z$^JQo;d;jd3cv(aq zZxq>w_cn>N<8xe#uQ83wt@tCZC;p0A{E5Rjv{_^jXK*Lpz}@%|2e65IFx4%h&_W$A zbW1FId3i)4g)68R{)FprwUz&YW#V7hi|4i^8*5;Jcplk{Ji#t(;y8XlUFTqrNC)Pz z4UZv@jQ7MzM`fa`B<5NlzTq%&daKBG%ws2>MqRLidc(7L00Ye79n=fFLVa>?a09-_ z+xQ*z316oR2XDo^=m{@T7jB|~?=X*_k<*j?+ma3rq3(1H2XGo~oX1`G0QIkUhGk6k zB@0$j&zr?5yn>hT$kWzhsRI_nvdl?cJuUV~=Y!jx8duts*1%gFftO6RE=iY(U$K zlh{N&foYt_6z*aIAFvlca0vfU>svvQVa(zt?s)NAP#lSoFxo|GF^<|eh4nb)e;|jtf88vd8>@j*zpvmwTQooa0lcp|MgRZ+ diff --git a/applications/json_packager/locale/jsoneditor.en.po b/applications/json_packager/locale/jsoneditor.en.po index 070fbe351..f06b373dc 100644 --- a/applications/json_packager/locale/jsoneditor.en.po +++ b/applications/json_packager/locale/jsoneditor.en.po @@ -1,5 +1,15 @@ msgid "" -msgstr "Content-Type: text/plain; charset=UTF-8" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en\n" +"X-Generator: Poedit 1.8.11\n" #: tfrmmain.btnadd.caption msgid "Add" diff --git a/applications/json_packager/locale/jsoneditor.es.po b/applications/json_packager/locale/jsoneditor.es.po index aec3882ce..e782ea1c5 100644 --- a/applications/json_packager/locale/jsoneditor.es.po +++ b/applications/json_packager/locale/jsoneditor.es.po @@ -20,7 +20,7 @@ msgid "" "Add Package File:\n" "The update zip can contain more than one lpk file\n" "deployed to the same place.\n" -msgstr "Agregar archivo del paquete: La actualización postal puede contener más de un archivo LPK desplegado en el mismo lugar.\n" +msgstr "Agregar archivo del paquete: La actualización postal puede contener más de un archivo LPK desplegado en el mismo lugar." #: tfrmmain.btnremove.caption msgid "Remove" @@ -30,7 +30,7 @@ msgstr "Eliminar" msgid "" "Remove Package File:\n" "Deletes the last entry from the list\n" -msgstr "Eliminar archivo del paquete: Borra la última entrada de la lista\n" +msgstr "Eliminar archivo del paquete: Borra la última entrada de la lista" #: tfrmmain.cbforcenotify.caption msgid "Force Notify" @@ -41,7 +41,7 @@ msgid "" "Force Notify check box:\n" "If this is checked the OPM user will be notified\n" "of your update. Only check this if the update is important.\n" -msgstr "Casilla de verificación notificar de fuerza: Si esto se comprueba se notificará al usuario de la OPM de su actualización. Sólo esto Compruebe si la actualización es importante.\n" +msgstr "Casilla de verificación notificar de fuerza: Si esto se comprueba se notificará al usuario de la OPM de su actualización. Sólo esto Compruebe si la actualización es importante." #: tfrmmain.cmd_close.caption msgid "&Close" @@ -55,13 +55,13 @@ msgstr "Guardar" msgid "" "Save the current configuration to disk\n" "as a JSON update file\n" -msgstr "Guardar la configuración actual en el disco como un archivo de actualización JSON\n" +msgstr "Guardar la configuración actual en el disco como un archivo de actualización JSON" #: tfrmmain.editdownloadzipurl.hint msgid "" "Download URL:\n" "Include the FULL url needed to download the package Zip file\n" -msgstr "URL de descarga: Incluir el url COMPLETO necesario para descargar el archivo Zip del paquete\n" +msgstr "URL de descarga: Incluir el url COMPLETO necesario para descargar el archivo Zip del paquete" #: tfrmmain.editname.hint msgid "" @@ -157,7 +157,7 @@ msgid "" "Update Zip Name:\n" "Click this to browse your system to find\n" " an existing Update Zip\n" -msgstr "Actualización Zip nombre: Haga clic aquí para ver su sistema para encontrar un Zip de actualización existentes\n" +msgstr "Actualización Zip nombre: Haga clic aquí para ver su sistema para encontrar un Zip de actualización existentes" #: tfrmmain.spd_checkurl.caption msgid "Check URL" @@ -323,3 +323,4 @@ msgstr "¿Quieres copiar la carpeta de %s %s?" #: umain.rsyoumayneedto msgid "(You may need to restart the app to see the change)" msgstr "(Puede que necesite reiniciar la aplicación para ver el cambio)" + diff --git a/applications/json_packager/locale/jsoneditor.mo b/applications/json_packager/locale/jsoneditor.mo index f8f1859fbb0f1d1d48e3c63a20e1430cb5bc2a69..89032fdf968defd59074e1a5e6c0db45da46e19a 100644 GIT binary patch literal 322 zcmYLEu};H43~dENm64g@21Xpn77j6mf-1Elf`C{}V!~C$SKYa&{SbbSZ^5UC@T4cp z_Vcs-b8`GWQB0Mm$}{DW@?4ovDreff(wHXg8jnG~$wi|SOZQ2hEk>uvN zxq~vRgI`lCu;}20LUf+3Sx3**Iq@N@9~!6vp=bkcQPfLo@JL@SY5z(~jJhfy#|`S3 zik8Uz4ts)z@Kf{EVm1HYP~?}{cwriQrvP(qedoBhrhIcUI#|lM?Y|fn5UU|JqHWC#Q zZ$M4O!yqBiQ6U;$gx~C5kl+yz*3N!wd*`z~{;|6BL7^=p))5J@g7|`vcK@1Ex4;$f zCb$OP03U$I;6v~Q_zt`Weg)ry-$BXCuPZeG-+85jD|~XEuGdx%ye=tHrin zVHe#xY8Yb9v>%c!+CMs!&p4mcNw~lg1?;vaJl&|6VH+R3q^9Ob=hitoVe+D}Y_d>L z8=AN{^cKUR2??BH&Yv^i-j9#G