Skip to content

Commit

Permalink
Merge pull request #13 from trolek/locale
Browse files Browse the repository at this point in the history
Typo fixed and pol-PL localization added.
  • Loading branch information
bdunogier committed Nov 5, 2012
2 parents 9d55ff6 + 470e6e2 commit b307adf
Show file tree
Hide file tree
Showing 10 changed files with 130 additions and 24 deletions.
4 changes: 2 additions & 2 deletions design/admin2/templates/content/edit/autosave.tpl
Expand Up @@ -23,15 +23,15 @@ YUI(YUI3_config).use('ezautosubmit', 'ezcontentpreview', 'node-base', 'node-styl
{rdelim}),
messages = {ldelim}
error: "{'An error occured while autosaving the draft'|i18n( 'design/admin2/autosave' )|wash( 'javascript' )}",
error: "{'An error occurred while autosaving the draft'|i18n( 'design/admin2/autosave' )|wash( 'javascript' )}",
saving: "{'The draft is being saved'|i18n( 'design/admin2/autosave' )|wash( 'javascript' )}"
{rdelim},
preview = new Y.eZ.ContentPreview({ldelim}
texts: {ldelim}
loading: "{'Loading...'|i18n( 'design/admin2/preview' )|wash( 'javascript' )}",
error: "{'An error occured.'|i18n( 'design/admin2/preview' )|wash( 'javascript' )}",
error: "{'An error occurred.'|i18n( 'design/admin2/preview' )|wash( 'javascript' )}",
preview: "{'Preview'|i18n( 'design/admin2/preview' )|wash( 'javascript' )}"
{rdelim},
topPosition: Y.one('#controlbar-top .box-bc').getStyle('height')
Expand Down
2 changes: 1 addition & 1 deletion design/ezwebin/templates/content/edit/autosave.tpl
Expand Up @@ -13,7 +13,7 @@ YUI(YUI3_config).use('ezautosubmit', 'node-base', 'node-style', function (Y) {ld
{rdelim}),
messages = {ldelim}
error: "{'An error occured while autosaving the draft'|i18n( 'design/ezwebin/autosave' )|wash( 'javascript' )}",
error: "{'An error occurred while autosaving the draft'|i18n( 'design/ezwebin/autosave' )|wash( 'javascript' )}",
saving: "{'The draft is being saved'|i18n( 'design/ezwebin/autosave' )|wash( 'javascript' )}"
{rdelim},
timer = false, place;
Expand Down
6 changes: 3 additions & 3 deletions translations/cro-HR/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Dogodila se greška prilikom automatskog spremanja radne verzije</translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation>Učitavanje...</translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation>Dogodila se greška.</translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Dogodila se greška prilikom automatskog spremanja radne verzije</translation>
</message>
<message>
Expand Down
6 changes: 3 additions & 3 deletions translations/ell-GR/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Ένα λάθος συνέβη κατά την αυτόματη αποθήκευση του προσχεδίου</translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation>Φόρτωση...</translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation>Ένα λάθος συνέβη.</translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Ένα λάθος συνέβη κατά την αυτόματη αποθήκευση του προσχεδίου</translation>
</message>
<message>
Expand Down
6 changes: 3 additions & 3 deletions translations/esl-ES/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Ha ocurrido un error mientras se relizaba el autoguardado del borrador</translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation>Cargando...</translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation>Ha ocurrido un error.</translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Ha ocurrido un error mientras se relizaba el autoguardado del borrador</translation>
</message>
<message>
Expand Down
6 changes: 3 additions & 3 deletions translations/fre-FR/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Une erreur s&apos;est produite durant l&apos;enregistrement automatique du brouillon</translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation>Chargement...</translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation>Une erreur est survenue.</translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Une erreur s&apos;est produite durant l&apos;enregistrement automatique du brouillon</translation>
</message>
<message>
Expand Down
6 changes: 3 additions & 3 deletions translations/ita-IT/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Errore nel salvataggio automatico della bozza</translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation>Caricamento...</translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation>Si è verificato un errore.</translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Errore nel salvataggio automatico della bozza</translation>
</message>
<message>
Expand Down
106 changes: 106 additions & 0 deletions translations/pol-PL/translation.ts
@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pl_PL">
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occurred while autosaving the draft</source>
<translation>Wystąpił błąd podczas automatycznego zapisywania szkicu</translation>
</message>
<message>
<source>The draft is being saved</source>
<translation>Szkic jest zapisywany</translation>
</message>
</context>
<context>
<name>design/admin2/content/ajax_preview</name>
<message>
<source>Back to the edit form</source>
<translation>Powrót do formularza edycji</translation>
</message>
<message>
<source>Preview of &amp;lt;%name&amp;gt; in siteaccess</source>
<translation>Podgląd &amp;lt;%name&amp;gt; w dostępie do strony</translation>
</message>
<message>
<source>&lt;strong&gt;Warning:&lt;/strong&gt; &lt;em&gt;following links from the preview will take you to the live version of the website&lt;/em&gt;</source>
<translation>&lt;strong&gt;Uwaga:&lt;/strong&gt; &lt;em&gt;Poniższe odnośniki z podglądu przeniosą cię do właściwej wersji strony&lt;/em&gt;</translation>
</message>
</context>
<context>
<name>design/admin2/preview</name>
<message>
<source>Loading...</source>
<translation>Wczytywanie...</translation>
</message>
<message>
<source>An error occurred.</source>
<translation>Wystąpił błąd.</translation>
</message>
<message>
<source>Preview</source>
<translation>Podgląd</translation>
</message>
</context>
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occurred while autosaving the draft</source>
<translation>Wystąpił błąd podczas automatycznego zapisywania szkicu</translation>
</message>
<message>
<source>The draft is being saved</source>
<translation>Szkic jest zapisywany</translation>
</message>
</context>
<context>
<name>extension/ezautosave</name>
<message>
<source>Draft saved at %time</source>
<translation>Szkic zapisany o %time</translation>
</message>
<message>
<source>(%min minutes ago)</source>
<translation>(%min minut temu)</translation>
</message>
</context>
<context>
<name>extension/ezautosave/autosave</name>
<message>
<source>This action requires 3 parameters</source>
<translation>Ta akcja wymaga trzech parametrów</translation>
</message>
<message>
<source>A POST request is expected</source>
<translation>Oczekuje się żądania POST</translation>
</message>
<message>
<source>No POST data found, it&apos;s probably because you tried to upload a too big file</source>
<translation>Nie znaleziono żadnych danych POST, prawdopodobnie próbowano przesłać zbyt duży plik</translation>
</message>
<message>
<source>Unable to load the content #%objectid</source>
<translation>Nie można wczytać obiektu #%objectid</translation>
</message>
<message>
<source>The content #%objectid is archived</source>
<translation>Obiekt #%objectid jest archiwizowany</translation>
</message>
<message>
<source>Unable to load version #%versionr of content #%objectid</source>
<translation>Nie można załadować wesji #%versionr obiektu #%objectid</translation>
</message>
<message>
<source>Version #%versionr of content #%objectid is not a draft</source>
<translation>Wersja #%versionr obiektu #%objectid nie jest szkicem</translation>
</message>
<message>
<source>You&apos;re not allowed to store a version that is not yours</source>
<translation>Nie masz uprawnień do zapisu wersji, której nie jesteś właścicielem</translation>
</message>
<message>
<source>Unable to load the language &apos;%localeCode&apos;</source>
<translation>Nie można wczytać języka &apos;%localeCode&apos;</translation>
</message>
</context>
</TS>
6 changes: 3 additions & 3 deletions translations/por-BR/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Ocorreu um erro durante o salvamento automático do rascunho</translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation>Carregando...</translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation>Ocorreu um erro.</translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation>Ocorreu um erro durante o salvamento automático do rascunho</translation>
</message>
<message>
Expand Down
6 changes: 3 additions & 3 deletions translations/untranslated/translation.ts
Expand Up @@ -4,7 +4,7 @@
<context>
<name>design/admin2/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down Expand Up @@ -34,7 +34,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>An error occured.</source>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand All @@ -45,7 +45,7 @@
<context>
<name>design/ezwebin/autosave</name>
<message>
<source>An error occured while autosaving the draft</source>
<source>An error occurred while autosaving the draft</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down

0 comments on commit b307adf

Please sign in to comment.