En fait les fichiers .po doivent suivre une syntaxe qui leur est propre, avec entre autre ce couple msgid/msgstr vide et d'autres choses (pas la doc sous la main)
Le 4 août 2013 09:49, mirovinben <[email protected]> a écrit : > En fait, pour que ça fonctionne correctement dans la 2.5.2-dev-r1262, il > est nécessaire que le fichier de localisation d'un plugin ou d'un thème > commence par le couple > > msgid "" > msgstr "" > > Ce qui n'était pas nécessaire avant... > > Le 04/08/2013 09:40, mirovinben a écrit : > > Bonjour, >> >> Je viens d'installer dotclear-2.5.2-dev-r1262 et constate un bogue >> (absent de la 2.5.1) dans le processus de prise en compte du main.po d'une >> de mes extensions mrvbDeltaDate. Le nom du widget reste en anglais. >> >> si le fichier débute par : >> >> # -- BEGIN LICENSE BLOCK ------------------------------**---- >> # >> # This file is part of mrvbDeltaDate, a plugin for Dotclear 2 >> # >> # Copyright (C) 2010 Mirovinben (http://www.mirovinben.com/) >> # Licensed under the GPL version 2.0 license. >> # See LICENSE file or >> # >> http://www.gnu.org/licenses/**old-licenses/gpl-2.0.html<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> >> # >> # -- END LICENSE BLOCK ------------------------------**------ >> >> msgid "Mrvb: number of days between two dates" >> msgstr "Mrvb : nombre de jours entre deux dates" >> >> msgid "Title :" >> msgstr "Titre :" >> >> (...) >> >> alors "Mrvb: number of days between two dates" n'est pas traduit >> >> si le fichier débute par : >> >> # -- BEGIN LICENSE BLOCK ------------------------------**---- >> # >> # This file is part of mrvbDeltaDate, a plugin for Dotclear 2 >> # >> # Copyright (C) 2010 Mirovinben (http://www.mirovinben.com/) >> # Licensed under the GPL version 2.0 license. >> # See LICENSE file or >> # >> http://www.gnu.org/licenses/**old-licenses/gpl-2.0.html<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> >> # >> # -- END LICENSE BLOCK ------------------------------**------ >> >> msgid "Title :" >> msgstr "Titre :" >> >> msgid "Mrvb: number of days between two dates" >> msgstr "Mrvb : nombre de jours entre deux dates" >> >> (...) >> >> alors "Mrvb: number of days between two dates" est traduit... Par contre >> "Title :", non... >> >> Mystère et boule de gomme ! >> > > -- > Dev mailing list - [email protected] - http://ml.dotclear.org/** > listinfo/dev <http://ml.dotclear.org/listinfo/dev> > -- Franck
-- Dev mailing list - [email protected] - http://ml.dotclear.org/listinfo/dev
