From 2537e5bda6786e89987cf75aacdc64a0b968c8fd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 17 Oct 2015 14:16:26 +0200 Subject: [PATCH] Translation fixes --- functions.php | 2 +- languages/it_IT.mo | Bin 1862 -> 1843 bytes languages/it_IT.po | 55 +++++++++++++++------------------- languages/responsive-fixes.po | 8 +++++ languages/responsive.po | 46 ++++++++++------------------ languages/update-po.sh | 4 ++- 6 files changed, 51 insertions(+), 64 deletions(-) create mode 100644 languages/responsive-fixes.po diff --git a/functions.php b/functions.php index e646dec..cdb2700 100644 --- a/functions.php +++ b/functions.php @@ -61,7 +61,7 @@ function openmamba_download_link($milestone, $medium, $currarch, $ext, $mlword, $currreleasetag=$releaseTag[$medium.'-'.$milestone.'-'.$lang.'-'.$currarch]; $ret = ''; if ($lang != "it") { - $downloadmirror = 'http://www2.openmamba.org/pub/openmamba/media'; + $downloadmirror = 'http://cdn.openmamba.org/pub/openmamba/media'; } else { $downloadmirror = '/media'; } diff --git a/languages/it_IT.mo b/languages/it_IT.mo index 49aff6e7f9aa49cdc1c40c6982829a9544fe6a9d..99ab56cf40b27fd42d39c17c96db993d8194a269 100644 GIT binary patch delta 621 zcmXxhJuE{}7{>8)uU6H^EiI)fNkuz}q&FeLq?;Wv_=toGQ>6`Qgowq$BA3NtllYi) zkw_#4mDo(W=wy-@3^s%RQ@rW9zjIE{J?DMTEjuM=ryBMh8zM&QroGWpv@44TF=iVR z#|+lv96Gp!Em%Mw?*6%l4UG4(5s$D5Pq7&<(T_LCemmxlP8$;szZ2#K^+NS;{vEa9 zH);caoiVc*MvZeggj*QFYvgCjJe1%QE>KJblZ;0=U4_hJi1SUBPLzptR3!(f0}pEp zj5)zp#uuo>ZZU|DsEwXc?^Q5_uNc4&RDxgFfi{bEBVDNX`>;4jXMm0tp5YXhP?ZGP zMV0iRZm1XaRl?rA6^ZE|tx_mGMJLVnKCJk-_WO@^I^R%@+x)3CO19c4kz5fQ8(?)_&&V}e}CwA?P@Nu PmaQ$`_Mcl`IuQKJ1j#{7{Kv!`#@ET)+1FzB~^*2bIYV!VqsJg9ky4U7$J#A9^gDK?>rcDzFN&8rffRwiz%6Y3S^gK};D z3uQx_wYq@|ml$`|##tO>ypLYILk9y!Gi9X>nMZKdGG)Wdg&R4T^WFm_lxQ9|v z0p;K$Y{nC8K@%mxYm|fTQNDjf`R)y6eHrWV8>R9eY)2=Hi1UveY4lT4{!_Lxfn diff --git a/languages/it_IT.po b/languages/it_IT.po index 50f00d8..cae75fe 100644 --- a/languages/it_IT.po +++ b/languages/it_IT.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Responsive Theme\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n" -"POT-Creation-Date: 2015-07-11 21:48+0200\n" +"POT-Creation-Date: 2015-10-17 14:10+0200\n" "PO-Revision-Date: 2014-12-08 16:25+0100\n" "Last-Translator: Silvan Calarco \n" "Language-Team: Italian, Italy\n" @@ -16,49 +16,33 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:54 +#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:47 #: ../webbuild-status-page.php:41 msgid "Read more ›" msgstr "Leggi di più ›" -#: ../bbpress.php:42 ../search-page.php:43 ../webbuild-page.php:55 +#: ../bbpress.php:42 ../search-page.php:43 ../webbuild-page.php:48 #: ../webbuild-status-page.php:42 msgid "Pages:" msgstr "Pagine:" -#: ../footer.php:63 -msgid "©" -msgstr "©" - #: ../footer.php:68 msgid "↑" msgstr "↑" -#: ../footer.php:68 -msgid "scroll to top" -msgstr "scorri all'inizio" - -#: ../footer.php:71 -msgid "Website provided by" -msgstr "Sito web fornito da" - -#: ../footer.php:74 -msgid "WordPress" -msgstr "WordPress" - -#: ../functions.php:58 ../functions.php:69 +#: ../functions.php:73 ../functions.php:84 msgid "for" msgstr "per" -#: ../functions.php:60 +#: ../functions.php:75 msgid "File size:" msgstr "Dimensione file:" -#: ../functions.php:61 +#: ../functions.php:76 msgid "Date" msgstr "Data" -#: ../functions.php:71 +#: ../functions.php:86 msgid "" "Sorry, download is temporary unavailable. If the problem persists please " "report the problem." @@ -66,37 +50,37 @@ msgstr "" "Il download non è temporaneamente disponibile. Se il problema persiste ti " "ringraziamo se ci puoi segnalare il problema." -#: ../functions.php:152 +#: ../functions.php:167 msgid "More languages..." msgstr "Altre lingue..." -#: ../functions.php:155 +#: ../functions.php:170 msgid "Features" msgstr "Caratteristiche" -#: ../functions.php:159 +#: ../functions.php:174 msgid "Requirements" msgstr "Requisiti" -#: ../functions.php:163 +#: ../functions.php:178 msgid "Preparation" msgstr "Preparazione" -#: ../functions.php:243 +#: ../functions.php:258 msgid "This website uses cookies to improve user experience." msgstr "" "Questo sito utilizza i cookie per migliorare l'esperienza di navigazione " "dell'utente." -#: ../functions.php:244 +#: ../functions.php:259 msgid "I Understand" msgstr "Ho capito" -#: ../functions.php:245 +#: ../functions.php:260 msgid "Cookie policy" msgstr "Informativa sui cookie" -#: ../header-webbuild.php:101 +#: ../header-webbuild.php:108 msgid "↓ Skip to Main Content" msgstr "↓ Salta al contenuto principale" @@ -124,3 +108,12 @@ msgstr "Salve, %1$s" #: ../sidebar-top.php:40 msgid "Logout" msgstr "Esci" + +msgid "scroll to top" +msgstr "scorri all'inizio" + +msgid "Website provided by" +msgstr "Sito web fornito da" + +msgid "Archive for %s" +msgstr "Archivio per %s" diff --git a/languages/responsive-fixes.po b/languages/responsive-fixes.po new file mode 100644 index 0000000..bccdded --- /dev/null +++ b/languages/responsive-fixes.po @@ -0,0 +1,8 @@ +msgid "scroll to top" +msgstr "scorri all'inizio" + +msgid "Website provided by" +msgstr "Sito web fornito da" + +msgid "Archive for %s" +msgstr "Archivio per %s" diff --git a/languages/responsive.po b/languages/responsive.po index f6f3b54..a6da87a 100644 --- a/languages/responsive.po +++ b/languages/responsive.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: openmamba 1.0\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n" -"POT-Creation-Date: 2015-07-11 21:48+0200\n" +"POT-Creation-Date: 2015-10-17 14:10+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,83 +17,67 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:54 +#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:47 #: ../webbuild-status-page.php:41 msgid "Read more ›" msgstr "" -#: ../bbpress.php:42 ../search-page.php:43 ../webbuild-page.php:55 +#: ../bbpress.php:42 ../search-page.php:43 ../webbuild-page.php:48 #: ../webbuild-status-page.php:42 msgid "Pages:" msgstr "" -#: ../footer.php:63 -msgid "©" -msgstr "" - #: ../footer.php:68 msgid "↑" msgstr "" -#: ../footer.php:68 -msgid "scroll to top" -msgstr "" - -#: ../footer.php:71 -msgid "Website provided by" -msgstr "" - -#: ../footer.php:74 -msgid "WordPress" -msgstr "" - -#: ../functions.php:58 ../functions.php:69 +#: ../functions.php:73 ../functions.php:84 msgid "for" msgstr "" -#: ../functions.php:60 +#: ../functions.php:75 msgid "File size:" msgstr "" -#: ../functions.php:61 +#: ../functions.php:76 msgid "Date" msgstr "" -#: ../functions.php:71 +#: ../functions.php:86 msgid "" "Sorry, download is temporary unavailable. If the problem persists please " "report the problem." msgstr "" -#: ../functions.php:152 +#: ../functions.php:167 msgid "More languages..." msgstr "" -#: ../functions.php:155 +#: ../functions.php:170 msgid "Features" msgstr "" -#: ../functions.php:159 +#: ../functions.php:174 msgid "Requirements" msgstr "" -#: ../functions.php:163 +#: ../functions.php:178 msgid "Preparation" msgstr "" -#: ../functions.php:243 +#: ../functions.php:258 msgid "This website uses cookies to improve user experience." msgstr "" -#: ../functions.php:244 +#: ../functions.php:259 msgid "I Understand" msgstr "" -#: ../functions.php:245 +#: ../functions.php:260 msgid "Cookie policy" msgstr "" -#: ../header-webbuild.php:101 +#: ../header-webbuild.php:108 msgid "↓ Skip to Main Content" msgstr "" diff --git a/languages/update-po.sh b/languages/update-po.sh index c199e9a..4a3901b 100755 --- a/languages/update-po.sh +++ b/languages/update-po.sh @@ -1,3 +1,5 @@ #!/bin/sh xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --sort-by-file --copyright-holder="Silvan Calarco" --package-name=openmamba --package-version=1.0 --msgid-bugs-address="bugs@openmamba.org" ../*.php -msgmerge it.po responsive.po -o it.po +msgmerge it_IT.po responsive.po -o it_IT.po +sed -i "s|#~ ||" it_IT.po +msgcat it_IT.po | msgfmt -o it_IT.mo -