WebsiteBaker Community Forum

General Community => Global WebsiteBaker 2.8.x discussion => Topic started by: aldus on December 29, 2008, 12:55:39 PM

Title: Translations need for update
Post by: aldus on December 29, 2008, 12:55:39 PM
Hello

As for the comming releas we need some translations for the
Messages comming up at the uninstall.php routines for the modules and templates.

See attachment ...

At this time the messages are mostly hardcoded in english,
and only an DE.php and NL.php translation is avaible.

Details:
There are three new keys inside the language array
- $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN _USE_TMPL']
- $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN _USE_TMPL_PAGES']
- $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IS _DEFAULT_TEMPLATE']

If the keys are not found in the $MESSAGE array a standard english text will be used instead.

inside the text of the templates there are three //keywords//
{{type}}        := Module|Template
{{type_name}}    := The name of the module|template
{{pages}}        := the singular or the plural form of //page//, def. in the ''CANNOT_UNINSTALL_IN _USE_TMPL_PAGES' key

the 'CANNOT_UNINSTALL_IN _USE_TMPL_PAGES' key has the followingform
"the singular string; the plural string" -- Semicolon-separated

E.g.
Code: [Select]
<?php

$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />{{type}} <b>{{type_name}}</b> could not be uninstalled, because it is still in use on {{pages}}.<br /><br />";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "this page;these pages";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "Can&#39;t uninstall the template <b>{{name}}</b>, because it is the default template!";


or Dutch

Code: [Select]
<?php
$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />De {{type}} <b>{{type_name}}</b> kan niet verwijderd wordem omdat het in gebruik is op {{pages}}:<br /><br />";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "volgende pagina;volgende pagina&#39;s";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "De Template <b>{{name}}</b> kan niet verwijderd worden omdat het de Standaardtemplate is!";

So, if someoune could give pleas a (more or less quick) translation for
the following missing languages/languagefiles, please? (i'll keep the list update)

[ ] BE
[ ] BG
[ ] CA
[ ] CS
[ ] DA

[ ] ET
[ ] FL

[ ] HR
[ ] HU
[ ] IT
[ ] LV
[w] NO
[w] RU
[ ] SE
[ ] TR

[ ] Empty - Job open / english text used
[w] In progress - not ready yet


Also remarks for an
[ ] Plattduesk
[ ] Austria Edition :-)
 
are welcome ...

Edit: Please keep in Mind that you only need to translate the three lines ... not the whole languagefile again,
and post it here and/or pm.

Kind regards
Aldus

[gelöscht durch Administrator]
Title: Re: Translations need for update
Post by: erpe0812 on December 29, 2008, 01:35:21 PM
Hi Aldus,

I will care for
[ ] PT
[ ] RU
[ ] ES

rgds

erpe
Title: Re: Translations need for update
Post by: Luckyluke on December 29, 2008, 03:41:37 PM
Hi,

I don't think BE will be used. Belgium has 2 languages: the north uses Dutch (NL) and south uses French (FR).

Grtz,
Luc (from the North of Belgium  :-D)
Title: Re: Translations need for update
Post by: oeh on December 29, 2008, 03:47:18 PM
Hi all.

I can do all the  [ ]NO.
I have finished the translation.

Code: [Select]
<?php 
$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />{{type}} <b>{{type_name}}</b> kunne ikke avinstaleres, for de den fortsatt brukes p&oslash; siden {{pages}}.<br /><br />";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "denne siden;disse sidene";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "Kan ikke avinstalere malen <b>{{name}}</b>, for de den brukes som standard mal!";

Regards

Odd Egil
Title: Re: Translations need for update
Post by: aldus on December 29, 2008, 03:51:18 PM
Hi,

I don't think BE will be used. Belgium has 2 languages: the north uses Dutch (NL) and south uses French (FR).

Grtz,
Luc (from the North of Belgium  :-D)

Sorry - LuckyLuke - it was my typos - hast to be BG, not BE  :-D

Regards
Aldus
Title: Re: Translations need for update
Post by: ruebenwurzel on December 30, 2008, 08:56:38 AM
Code: [Select]
<?php

$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />De {{type}} <b>{{type_name}}</b> kan niet verwijderd wordem omdat het in gebruik is op {{pages}}:<br /><br />";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "volgende pagina;volgende pagina&#39;s";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "De Template <b>{{name}}</b> kan niet verwijderd worden omdat het de Standaardtemplate is!";

One dutch translation ;)


John

Original Post from John (pcwacht) was in developpers area. Have copied it to this place to keep all translations on one place.
Matthias
Title: Re: Translations need for update
Post by: diodak on January 01, 2009, 10:17:07 PM
PL  :-)

Code: [Select]
<?php

$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />{{type}} <b>{{type_name}}</b> nie może być odinstalowany, ponieważ jest używany przez {{pages}}:<br /><br />";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "następującą stronę;następujące strony";
$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "Szablon <b>{{name}}</b> nie może być odinstalowany, ponieważ jest ustawiony jako szablon domyślny!";

Title: Re: Translations need for update
Post by: Luckyluke on January 02, 2009, 09:14:23 AM
Code: [Select]
<?php

$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />De {{type}} <b>{{type_name}}</b> kan niet verwijderd wordem omdat het in gebruik is op {{pages}}:<br /><br />";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "volgende pagina;volgende pagina&#39;s";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "De Template <b>{{name}}</b> kan niet verwijderd worden omdat het de Standaardtemplate is!";

One dutch translation ;)


John

Original Post from John (pcwacht) was in developpers area. Have copied it to this place to keep all translations on one place.
Matthias

Hi,

There is a typo error in this Dutch translation. And one with a caps error. The last error is no problem, the first has to be corrected. Here the correct translation:

Code: [Select]
<?php

$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />De {{type}} <b>{{type_name}}</b> kan niet verwijderd worden omdat het in gebruik is op {{pages}}:<br /><br />";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "volgende pagina;volgende pagina&#39;s";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "De template <b>{{name}}</b> kan niet verwijderd worden omdat het de standaardtemplate is!";

Now the Dutch explanation:

Er stond:
... kan niet verwijderd wordem omdat het in gebruik ...
Gewijzigd naar:
... kan niet verwijderd worden omdat het in gebruik ...

Ook gewijzigd maar indien jullie vinden dat het niet correct is, gelieve terug aan te passen:
De Template <b>{{name}}</b> kan niet verwijderd worden omdat het de Standaardtemplate is!";
Gewijzigd naar:
De template <b>{{name}}</b> kan niet verwijderd worden omdat het de standaardtemplate is!";

Grtz,
Luc
Title: Re: Translations need for update
Post by: aldus on January 02, 2009, 09:39:04 AM
Thanks Deschek and LuckyLucke

List is updated now.

What is within France, Italiian, Danish, a.s.o?  :roll:

Regards
Aldus
Title: Re: Translations need for update
Post by: Luckyluke on January 02, 2009, 10:00:59 AM
Thanks Deschek and LuckyLucke

List is updated now.

What is within France, Italiian, Danish, a.s.o?  :roll:

Regards
Aldus


I will look for the French translation. It will be done in some hours. My boss told me to drink something for the new year. Hmm...  :-D
Title: Re: Translations need for update
Post by: Argos on January 02, 2009, 05:27:22 PM
To be even more precise about the Dutch translation: there should be a dash between "standaard" and "template", because it is a combination of a Dutch word and an English word. And the first line should be more general, so it will be correct with all three word genders. Finally, I think there is no need for an exclamation mark in the 3rd sentence, and I suggest another phrasing for it as well.

So my suggestion is:

Code: [Select]
<?php

$MESSAGE
[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL&#39;] = "<br /><br />De {{type}} <b>{{type_name}}</b> kan niet verwijderd worden vanwege gebruik op {{pages}}:<br /><br />";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IN_USE_TMPL_PAGES&#39;] = "volgende pagina;volgende pagina&#39;s";

$MESSAGE[&#39;GENERIC&#39;][&#39;CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE&#39;] = "De template <b>{{name}}</b> is de standaard-template en kan daarom niet verwijderd worden.";
Title: Re: Translations need for update
Post by: Luckyluke on January 05, 2009, 11:18:28 AM
Hi,

Here the French translation:

Code: [Select]
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE_TMPL'] = "<br /><br />Le {{type}} <b>{{type_name}}</b> ne sait pas être supprimé comme il est en usage sur {{pages}}:<br /><br />";
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE_TMPL_PAGES'] = "page suivante;pages suivantes";
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE'] = "Le template <b>{{name}}</b> ne sait pas être supprimé comme il s'agit d'un template standard!";

The Dutch translation suggested by Argos seems OK. I have no extra comments for that.

Grtz,
Luc