You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Werner Punz <we...@gmail.com> on 2011/02/03 19:20:15 UTC

Myfaces js translation help

Hello everyone I also could need some translation help for as many 
languages as possible, so here is the deal, translate me please 
following key value pairs so that I can add them to the myfaces 
javascripts for the next release:

Currently we have english, german and dutch:

I could at least need spanish french italian, russian and chinese also 
would be nice

   MSG_TEST:               "Testmessage",

     /*Messages*/
     MSG_DEV_MODE:           "Note, this message is only sent, because 
project stage is development and no " +
                             "other error listeners are registered.",
     MSG_AFFECTED_CLASS:     "Affected Class:",
     MSG_AFFECTED_METHOD:    "Affected Method:",

     MSG_ERROR_NAME:         "Error Name:",
     MSG_ERROR_MESSAGE:      "Error Name:",

     MSG_ERROR_DESC:         "Error Description:",
     MSG_ERROR_NO:           "Error Number:",
     MSG_ERROR_LINENO:       "Error Line Number:",

     /*Errors and messages*/
     ERR_FORM:               "Sourceform could not be determined, either 
because element is not attached to a form or we have multiple forms with 
named elements of the same identifier or name, stopping the ajax 
processing",
     ERR_VIEWSTATE:          "jsf.viewState: param value not of type form!",
     ERR_TRANSPORT:          "Transport type {0} does not exist",
     ERR_EVT_PASS:           "an event must be passed down (either a an 
event object null or undefined) ",
     ERR_CONSTRUCT:          "Parts of the response couldn't be 
retrieved when constructing the event data: {0} ",
     ERR_MALFORMEDXML:       "The server response could not be parsed, 
the server has returned with a response which is not xml !",
     ERR_SOURCE_FUNC:        "source cannot be a function (probably 
source and event were not defined or set to null",
     ERR_EV_OR_UNKNOWN:      "An event object or unknown must be passed 
as second parameter",
     ERR_SOURCE_NOSTR:       "source cannot be a string",
     ERR_SOURCE_DEF_NULL:    "source must be defined or null",

     //_Lang.js
     ERR_MUST_STRING:        "{0}: {1} namespace must be of type String",
     ERR_REF_OR_ID:          "{0}: {1} a reference node or identifier 
must be provided",
     ERR_PARAM_GENERIC:      "{0}: parameter {1} must be of type {2}",
     ERR_PARAM_STR:          "{0}: {1} param must be of type string",
     ERR_PARAM_STR_RE:       "{0}: {1} param must be of type string or a 
regular expression",
     ERR_PARAM_MIXMAPS:      "{0}: both a source as well as a 
destination map must be provided",
     ERR_MUST_BE_PROVIDED:   "{0}: an {1} and a {2} must be provided",
     ERR_MUST_BE_PROVIDED1:  "{0}: {1} must be set",

     ERR_REPLACE_EL:         "replaceElements called while evalNodes is 
not an array",
     ERR_EMPTY_RESPONSE:     "{0}: The response cannot be null or empty!",
     ERR_ITEM_ID_NOTFOUND:   "{0}: item with identifier {1} could not be 
found",
     ERR_PPR_IDREQ:          "{0}: Error in PPR Insert, id must be present",
     ERR_PPR_INSERTBEFID:    "{0}: Error in PPR Insert, before id or 
after id must be present",
     ERR_PPR_INSERTBEFID_1:  "{0}: Error in PPR Insert, before  node of 
id {1} does not exist in document",
     ERR_PPR_INSERTBEFID_2:  "{0}: Error in PPR Insert, after  node of 
id {1} does not exist in document",

     ERR_PPR_DELID:          "{0}: Error in delete, id not in xml markup",
     ERR_PPR_UNKNOWNCID:     "{0}:  Unknown Html-Component-ID: {1}",
     ERR_NO_VIEWROOTATTR:    "{0}: Changing of ViewRoot attributes is 
not supported",
     ERR_NO_HEADATTR:        "{0}: Changing of Head attributes is not 
supported",
     ERR_RED_URL:            "{0}: Redirect without url"





Re: Myfaces js translation help

Posted by Werner Punz <we...@gmail.com>.
Thanks a lot i will merge it in in the next few days.

Werner


Am 03.02.11 21:38, schrieb MAX STARETS:
> Werner,
>
> Here are the Russian translations,
> It;s been a while since I used Russian for anything related to
> computing, so hopefully I have not messed up the terminology too much.
>
> Max
>
> MSG_TEST: "ТестовоеСообщение",
>
> /*Messages*/
> MSG_DEV_MODE: "Это сообщение выдано, потому что 'project stage' было
> присоено значение 'development', и никаких" +
> "других error listeners зарегистрировано не было.",
> MSG_AFFECTED_CLASS: "Задействованный класс:",
> MSG_AFFECTED_METHOD: "Задействованный метод:",
>
> MSG_ERROR_NAME: "Имя ошибки:",
> MSG_ERROR_MESSAGE: "Имя ошибки:",
>
> MSG_ERROR_DESC: "Описание ошибки:",
> MSG_ERROR_NO: "Номер ошибки:",
> MSG_ERROR_LINENO: "Номер строки ошибки:",
>
> /*Errors and messages*/
> ERR_FORM: "Sourceform не найдена, потому что элемент не находится внутри
> <form>, либо были найдены элементы <form> с рдинаковым именем или
> идентификатором. Обработка ajax остановлена",
> ERR_VIEWSTATE: "jsf.viewState: Параметру присвоено значение, не
> являющееся элементом <form>!",
> ERR_TRANSPORT: "Несуществующий тип транспорта {0}",
> ERR_EVT_PASS: "Параметр event необходим, и не может быть null или
> undefined",
> ERR_CONSTRUCT: "Часть ответа не удалось прочитать при создании данных
> события: {0} ",
> ERR_MALFORMEDXML: "Ответ сервера не может быть обработан, он не в
> формате xml !",
> ERR_SOURCE_FUNC: "source не может быть функцией (возможно, для source и
> event не были даны значения",
> ERR_EV_OR_UNKNOWN: "Объект event или unknown должен быть всторым
> параметром",
> ERR_SOURCE_NOSTR: "source не может быть типа string",
> ERR_SOURCE_DEF_NULL: "source должно быть присвоено значение или null",
>
> //_Lang.js
> ERR_MUST_STRING: "{0}: {1} namespace должно быть типа String",
> ERR_REF_OR_ID: "{0}: {1} a Ссылочный узел (reference node) или
> идентификатор необходимы",
> ERR_PARAM_GENERIC: "{0}: параметр {1} должен быть типа {2}",
> ERR_PARAM_STR: "{0}: {1} параметр должен быть типа string",
> ERR_PARAM_STR_RE: "{0}: {1} параметр должен быть типа string string или
> regular expression",
> ERR_PARAM_MIXMAPS: "{0}: source b destination map необходимы",
> ERR_MUST_BE_PROVIDED: "{0}: {1} и {2} необходимы",
> ERR_MUST_BE_PROVIDED1: "{0}: {1} должно быть присвоено значение",
>
> ERR_REPLACE_EL: "replaceElements вызвана, с evalNodes, не являющимся
> массивом",
> ERR_EMPTY_RESPONSE: "{0}: Ответ не может бвть null или пустым!",
> ERR_ITEM_ID_NOTFOUND: "{0}: Элемент с идентификатором {1} не найден",
> ERR_PPR_IDREQ: "{0}: Ошибка в PPR Insert, id необходим",
> ERR_PPR_INSERTBEFID: "{0}: Ошибка в PPR Insert, before id или after id
> необходимы",
> ERR_PPR_INSERTBEFID_1: "{0}: Ошибка в PPR Insert, before node c id {1}
> не найден в документе",
> ERR_PPR_INSERTBEFID_2: "{0}: Ошибка в PPR Insert, after node с id {1} не
> найден в документе",
>
> ERR_PPR_DELID: "{0}: Ошибка в удалении, id не найден в xml документе",
> ERR_PPR_UNKNOWNCID: "{0}: Неопознанный Html-Component-ID: {1}",
> ERR_NO_VIEWROOTATTR: "{0}: Изменение атрибутов ViewRoot не предусмотрено",
> ERR_NO_HEADATTR: "{0}: Изменение атрибутов Head не предусмотрено",
> ERR_RED_URL: "{0}: Перенаправление (Redirect) без url"
>
>
>
> On 2/3/2011 1:20 PM, Werner Punz wrote:
>> Hello everyone I also could need some translation help for as many
>> languages as possible, so here is the deal, translate me please
>> following key value pairs so that I can add them to the myfaces
>> javascripts for the next release:
>>
>> Currently we have english, german and dutch:
>>
>> I could at least need spanish french italian, russian and chinese also
>> would be nice
>>
>> MSG_TEST: "Testmessage",
>>
>> /*Messages*/
>> MSG_DEV_MODE: "Note, this message is only sent, because project stage
>> is development and no " +
>> "other error listeners are registered.",
>> MSG_AFFECTED_CLASS: "Affected Class:",
>> MSG_AFFECTED_METHOD: "Affected Method:",
>>
>> MSG_ERROR_NAME: "Error Name:",
>> MSG_ERROR_MESSAGE: "Error Name:",
>>
>> MSG_ERROR_DESC: "Error Description:",
>> MSG_ERROR_NO: "Error Number:",
>> MSG_ERROR_LINENO: "Error Line Number:",
>>
>> /*Errors and messages*/
>> ERR_FORM: "Sourceform could not be determined, either because element
>> is not attached to a form or we have multiple forms with named
>> elements of the same identifier or name, stopping the ajax processing",
>> ERR_VIEWSTATE: "jsf.viewState: param value not of type form!",
>> ERR_TRANSPORT: "Transport type {0} does not exist",
>> ERR_EVT_PASS: "an event must be passed down (either a an event object
>> null or undefined) ",
>> ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when
>> constructing the event data: {0} ",
>> ERR_MALFORMEDXML: "The server response could not be parsed, the server
>> has returned with a response which is not xml !",
>> ERR_SOURCE_FUNC: "source cannot be a function (probably source and
>> event were not defined or set to null",
>> ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as
>> second parameter",
>> ERR_SOURCE_NOSTR: "source cannot be a string",
>> ERR_SOURCE_DEF_NULL: "source must be defined or null",
>>
>> //_Lang.js
>> ERR_MUST_STRING: "{0}: {1} namespace must be of type String",
>> ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be
>> provided",
>> ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}",
>> ERR_PARAM_STR: "{0}: {1} param must be of type string",
>> ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a regular
>> expression",
>> ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination map
>> must be provided",
>> ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided",
>> ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set",
>>
>> ERR_REPLACE_EL: "replaceElements called while evalNodes is not an array",
>> ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!",
>> ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not be found",
>> ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present",
>> ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or after id
>> must be present",
>> ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before node of id
>> {1} does not exist in document",
>> ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after node of id {1}
>> does not exist in document",
>>
>> ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup",
>> ERR_PPR_UNKNOWNCID: "{0}: Unknown Html-Component-ID: {1}",
>> ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is not
>> supported",
>> ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not supported",
>> ERR_RED_URL: "{0}: Redirect without url"
>>
>>
>>
>>
>



Re: Myfaces js translation help

Posted by MAX STARETS <ma...@oracle.com>.
Werner,

Here are the Russian translations,
It;s been a while since I used Russian for anything related to 
computing, so hopefully I have not messed up the terminology too much.

Max

MSG_TEST: "ТестовоеСообщение",

/*Messages*/
MSG_DEV_MODE: "Это сообщение выдано, потому что 'project stage' было 
присоено значение 'development', и никаких" +
"других error listeners зарегистрировано не было.",
MSG_AFFECTED_CLASS: "Задействованный класс:",
MSG_AFFECTED_METHOD: "Задействованный метод:",

MSG_ERROR_NAME: "Имя ошибки:",
MSG_ERROR_MESSAGE: "Имя ошибки:",

MSG_ERROR_DESC: "Описание ошибки:",
MSG_ERROR_NO: "Номер ошибки:",
MSG_ERROR_LINENO: "Номер строки ошибки:",

/*Errors and messages*/
ERR_FORM: "Sourceform не найдена, потому что элемент не находится внутри 
<form>, либо были найдены элементы <form> с рдинаковым именем или 
идентификатором. Обработка ajax остановлена",
ERR_VIEWSTATE: "jsf.viewState: Параметру присвоено значение, не 
являющееся элементом <form>!",
ERR_TRANSPORT: "Несуществующий тип транспорта {0}",
ERR_EVT_PASS: "Параметр event необходим, и не может быть null или 
undefined",
ERR_CONSTRUCT: "Часть ответа не удалось прочитать при создании данных 
события: {0} ",
ERR_MALFORMEDXML: "Ответ сервера не может быть обработан, он не в 
формате xml !",
ERR_SOURCE_FUNC: "source не может быть функцией (возможно, для source и 
event не были даны значения",
ERR_EV_OR_UNKNOWN: "Объект event или unknown должен быть всторым 
параметром",
ERR_SOURCE_NOSTR: "source не может быть типа string",
ERR_SOURCE_DEF_NULL: "source должно быть присвоено значение или null",

//_Lang.js
ERR_MUST_STRING: "{0}: {1} namespace должно быть типа String",
ERR_REF_OR_ID: "{0}: {1} a Ссылочный узел (reference node) или 
идентификатор необходимы",
ERR_PARAM_GENERIC: "{0}: параметр {1} должен быть типа {2}",
ERR_PARAM_STR: "{0}: {1} параметр должен быть типа string",
ERR_PARAM_STR_RE: "{0}: {1} параметр должен быть типа string string или 
regular expression",
ERR_PARAM_MIXMAPS: "{0}: source b destination map необходимы",
ERR_MUST_BE_PROVIDED: "{0}: {1} и {2} необходимы",
ERR_MUST_BE_PROVIDED1: "{0}: {1} должно быть присвоено значение",

ERR_REPLACE_EL: "replaceElements вызвана, с evalNodes, не являющимся 
массивом",
ERR_EMPTY_RESPONSE: "{0}: Ответ не может бвть null или пустым!",
ERR_ITEM_ID_NOTFOUND: "{0}: Элемент с идентификатором {1} не найден",
ERR_PPR_IDREQ: "{0}: Ошибка в PPR Insert, id необходим",
ERR_PPR_INSERTBEFID: "{0}: Ошибка в PPR Insert, before id или after id 
необходимы",
ERR_PPR_INSERTBEFID_1: "{0}: Ошибка в PPR Insert, before node c id {1} 
не найден в документе",
ERR_PPR_INSERTBEFID_2: "{0}: Ошибка в PPR Insert, after node с id {1} не 
найден в документе",

ERR_PPR_DELID: "{0}: Ошибка в удалении, id не найден в xml документе",
ERR_PPR_UNKNOWNCID: "{0}: Неопознанный Html-Component-ID: {1}",
ERR_NO_VIEWROOTATTR: "{0}: Изменение атрибутов ViewRoot не предусмотрено",
ERR_NO_HEADATTR: "{0}: Изменение атрибутов Head не предусмотрено",
ERR_RED_URL: "{0}: Перенаправление (Redirect) без url"



On 2/3/2011 1:20 PM, Werner Punz wrote:
> Hello everyone I also could need some translation help for as many 
> languages as possible, so here is the deal, translate me please 
> following key value pairs so that I can add them to the myfaces 
> javascripts for the next release:
>
> Currently we have english, german and dutch:
>
> I could at least need spanish french italian, russian and chinese also 
> would be nice
>
> MSG_TEST: "Testmessage",
>
> /*Messages*/
> MSG_DEV_MODE: "Note, this message is only sent, because project stage 
> is development and no " +
> "other error listeners are registered.",
> MSG_AFFECTED_CLASS: "Affected Class:",
> MSG_AFFECTED_METHOD: "Affected Method:",
>
> MSG_ERROR_NAME: "Error Name:",
> MSG_ERROR_MESSAGE: "Error Name:",
>
> MSG_ERROR_DESC: "Error Description:",
> MSG_ERROR_NO: "Error Number:",
> MSG_ERROR_LINENO: "Error Line Number:",
>
> /*Errors and messages*/
> ERR_FORM: "Sourceform could not be determined, either because element 
> is not attached to a form or we have multiple forms with named 
> elements of the same identifier or name, stopping the ajax processing",
> ERR_VIEWSTATE: "jsf.viewState: param value not of type form!",
> ERR_TRANSPORT: "Transport type {0} does not exist",
> ERR_EVT_PASS: "an event must be passed down (either a an event object 
> null or undefined) ",
> ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when 
> constructing the event data: {0} ",
> ERR_MALFORMEDXML: "The server response could not be parsed, the server 
> has returned with a response which is not xml !",
> ERR_SOURCE_FUNC: "source cannot be a function (probably source and 
> event were not defined or set to null",
> ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as 
> second parameter",
> ERR_SOURCE_NOSTR: "source cannot be a string",
> ERR_SOURCE_DEF_NULL: "source must be defined or null",
>
> //_Lang.js
> ERR_MUST_STRING: "{0}: {1} namespace must be of type String",
> ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be 
> provided",
> ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}",
> ERR_PARAM_STR: "{0}: {1} param must be of type string",
> ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a regular 
> expression",
> ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination map 
> must be provided",
> ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided",
> ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set",
>
> ERR_REPLACE_EL: "replaceElements called while evalNodes is not an array",
> ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!",
> ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not be found",
> ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present",
> ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or after id 
> must be present",
> ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before node of id 
> {1} does not exist in document",
> ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after node of id {1} 
> does not exist in document",
>
> ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup",
> ERR_PPR_UNKNOWNCID: "{0}: Unknown Html-Component-ID: {1}",
> ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is not 
> supported",
> ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not supported",
> ERR_RED_URL: "{0}: Redirect without url"
>
>
>
>

Re: Myfaces js translation help

Posted by Matthias Wessendorf <ma...@apache.org>.
+1

2011/2/4 Werner Punz <we...@gmail.com>:
> Also a big thank you I will merge it in tomorrow
>
> Werner
>
>
> Am 04.02.11 11:09, schrieb Cédric Durmont:
>>
>> Hi,
>> Here's the French translation :
>>
>>
>> MSG_TEST:               "MessageTest",
>>
>>    /*Messages*/
>>    MSG_DEV_MODE:           "Note : ce message n'est envoyé que parce
>> que le projet est au stade de développement et " +
>>                            "qu'aucun autre listener d'erreurs n'est
>> enregistré.",
>>    MSG_AFFECTED_CLASS:     "Classe affectée : ",
>>    MSG_AFFECTED_METHOD:    "Méthode affectée : ",
>>
>>    MSG_ERROR_NAME:         "Nom de l'erreur : ",
>>    MSG_ERROR_MESSAGE:      "Nom de l'erreur : ",
>>
>>    MSG_ERROR_DESC:         "Description de l'erreur : ",
>>    MSG_ERROR_NO:           "Numéro de l'erreur : ",
>>    MSG_ERROR_LINENO:       "Erreur à la ligne : ",
>>
>>    /*Errors and messages*/
>>    ERR_FORM:               "Le formulaire source n'a pas pu être
>> déterminé, soit parce que l'élément n'est rattaché à aucun formulaire,
>> soit parce qu'ils y a plusieurs formulaires contenant des éléments
>> avec le même nom ou identifiant. Arrêt du traitement AJAX",
>>    ERR_VIEWSTATE:          "jsf.viewState: La valeur de 'param' n'est
>> pas de type 'form' !",
>>    ERR_TRANSPORT:          "Le type de tansport {0} n'existe pas",
>>    ERR_EVT_PASS:           "Un évènement doit être transmis (soit un
>> objet évènement, soit null ou undefined) ",
>>    ERR_CONSTRUCT:          "Des éléments de la réponse n'ont pu être
>> récupérés lors de la construction des données de l'évènement : {0} ",
>>    ERR_MALFORMEDXML:       "La réponse du serveur n'a pas pu être
>> analysée : le serveur n'a pas renvoyé une réponse en xml !",
>>    ERR_SOURCE_FUNC:        "La source ne peut pas être une fonction
>> (Il est probable que 'source' et 'event' n'ont pas été définis ou mis
>> à null",
>>    ERR_EV_OR_UNKNOWN:      "Le second paramètre doit être un objet
>> évènement ou 'unknown' ",
>>    ERR_SOURCE_NOSTR:       "La source ne peut pas être de type String",
>>    ERR_SOURCE_DEF_NULL:    "La source doit être définie ou égale à null",
>>
>>    //_Lang.js
>>    ERR_MUST_STRING:        "{0}: Le namespace {1} doit être de type
>> String",
>>    ERR_REF_OR_ID:          "{0}: {1} un noeud de référence ou un
>> identifiant doit être passé",
>>    ERR_PARAM_GENERIC:      "{0}: Le paramètre {1} doit être de type {2}",
>>    ERR_PARAM_STR:          "{0}: Le paramètre {1} doit être de type
>> String",
>>    ERR_PARAM_STR_RE:       "{0}: Le paramètre {1} doit être de type
>> String ou être une expression régulière",
>>    ERR_PARAM_MIXMAPS:      "{0}: Un Map de source et un Map de
>> destination doivent être passés",
>>    ERR_MUST_BE_PROVIDED:   "{0}: un(e) {1} et un(e) {2} doivent être
>> passés",
>>    ERR_MUST_BE_PROVIDED1:  "{0}: {1} doit être défini",
>>
>>    ERR_REPLACE_EL:         "replaceElements a été appelé alors que
>> evalNodes n'est pas un tableau",
>>    ERR_EMPTY_RESPONSE:     "{0}: La réponse ne peut pas être nulle ou vide
>> !",
>>    ERR_ITEM_ID_NOTFOUND:   "{0}: l'élément portant l'identifiant {1}
>> n'a pas pu être trouvé",
>>    ERR_PPR_IDREQ:          "{0}: Erreur lors de l'insertion PPR, l'id
>> doit être présent",
>>    ERR_PPR_INSERTBEFID:    "{0}: Erreur lors de l'insertion PPR,
>> 'before id' ou 'after id' doivent être présents",
>>    ERR_PPR_INSERTBEFID_1:  "{0}: Erreur lors de l'insertion PPR, le
>> noeud before de l'id {1} n'existe pas dans le document",
>>    ERR_PPR_INSERTBEFID_2:  "{0}: Erreur lors de l'insertion PPR, le
>> noeud after  de l'id {1} n'existe pas dans le document",
>>
>>    ERR_PPR_DELID:          "{0}: Erreur lors de la suppression, l'id
>> n'est pas présent dans le xml",
>>    ERR_PPR_UNKNOWNCID:     "{0}:  Html-Component-ID inconnu : {1}",
>>    ERR_NO_VIEWROOTATTR:    "{0}: Le changement d'attributs dans
>> ViewRoot n'est pas supporté",
>>    ERR_NO_HEADATTR:        "{0}: Le changement d'attributs dans Head
>> n'est pas supporté",
>>    ERR_RED_URL:            "{0}: Redirection sans url"
>>
>>
>>
>>
>> 2011/2/3 Werner Punz<we...@gmail.com>:
>>>
>>> Also thanks a lot
>>>
>>> Werner
>>>
>>>
>>> Am 03.02.11 21:55, schrieb Bruno Aranda:
>>>>
>>>> Hi,
>>>>
>>>> Spanish:
>>>>
>>>> MSG_TEST: "Mensajeprueba",
>>>>
>>>>    /*Messages*/
>>>>    MSG_DEV_MODE: "Aviso. Este mensaje solo se envia porque el "Project
>>>> Stage" es "Development" y no hay otros 'listeners' de errores
>>>> registrados.",
>>>>    MSG_AFFECTED_CLASS: "Clase Afectada:",
>>>>    MSG_AFFECTED_METHOD: "Método Afectado:",
>>>>
>>>>    MSG_ERROR_NAME: "Nombre del Error:",
>>>>    MSG_ERROR_MESSAGE: "Nombre del Error:",
>>>>
>>>>    MSG_ERROR_DESC: "Descripción del Error:",
>>>>    MSG_ERROR_NO: "Número de Error:",
>>>>    MSG_ERROR_LINENO: "Número de Línea del Error:",
>>>>
>>>>    /*Errors and messages*/
>>>>    ERR_FORM: "El formulario de origen no ha podido ser determinado,
>>>> debido a que el elemento no forma parte de un formulario o hay diversos
>>>> formularios con elementos usando el mismo nombre o identificador.
>>>> Parando el procesamiento de Ajax.",
>>>>    ERR_VIEWSTATE: "jsf.viewState: el valor del parámetro no es de tipo
>>>> 'form'!",
>>>>    ERR_TRANSPORT: "El tipo de transporte {0} no existe",
>>>>    ERR_EVT_PASS: "un evento debe ser transmitido (sea null o no
>>>> definido)",
>>>>    ERR_CONSTRUCT: "Partes de la respuesta no pudieron ser recuperadas
>>>> cuando construyendo los datos del evento: {0} ",
>>>>    ERR_MALFORMEDXML: "La respuesta del servidor no ha podido ser
>>>> interpretada. El servidor ha devuelto una respuesta que no es xml !",
>>>>    ERR_SOURCE_FUNC: "el origen no puede ser una función (probablemente
>>>> 'source' y evento no han sido definidos o son 'null'",
>>>>    ERR_EV_OR_UNKNOWN: "Un objeto de tipo evento o desconocido debe ser
>>>> pasado como segundo parámetro",
>>>>    ERR_SOURCE_NOSTR: "el origen no puede ser 'string'",
>>>>    ERR_SOURCE_DEF_NULL: "el origen debe haber sido definido o ser
>>>> 'null'",
>>>>
>>>>    //_Lang.js
>>>>    ERR_MUST_STRING: "{0}: {1} namespace debe ser de tipo String",
>>>>    ERR_REF_OR_ID: "{0}: {1} una referencia a un nodo o identificador
>>>> tiene que ser pasada",
>>>>    ERR_PARAM_GENERIC: "{0}: el parámetro {1} tiene que ser de tipo {2}",
>>>>    ERR_PARAM_STR: "{0}: el parámetro {1} tiene que ser de tipo string",
>>>>    ERR_PARAM_STR_RE: "{0}: el parámetro {1} tiene que ser de tipo
>>>> string o una expresión regular",
>>>>    ERR_PARAM_MIXMAPS: "{0}: han de ser pasados tanto un origen como un
>>>> destino",
>>>>    ERR_MUST_BE_PROVIDED: "{0}: {1} y {2} deben ser pasados",
>>>>    ERR_MUST_BE_PROVIDED1: "{0}: {1} debe estar definido",
>>>>
>>>>    ERR_REPLACE_EL: "replaceElements invocado mientras que evalNodes no
>>>> es un an array",
>>>>    ERR_EMPTY_RESPONSE: "{0}: ¡La respuesta no puede ser de tipo 'null'
>>>> o vacía!",
>>>>    ERR_ITEM_ID_NOTFOUND: "{0}: el elemento con identificador {1} no ha
>>>> sido encontrado",
>>>>    ERR_PPR_IDREQ: "{0}: Error en PPR Insert, 'id' debe estar presente",
>>>>    ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, antes de 'id' o
>>>> después de 'id' deben estar presentes",
>>>>    ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, antes de nodo con
>>>> id {1} no existe en el documento",
>>>>    ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, después de nodo
>>>> con id {1} no existe en el documento",
>>>>
>>>>    ERR_PPR_DELID: "{0}: Error durante borrado, id no presente en xml",
>>>>    ERR_PPR_UNKNOWNCID: "{0}:  Desconocido Html-Component-ID: {1}",
>>>>    ERR_NO_VIEWROOTATTR: "{0}: El cambio de atributos de ViewRoot
>>>> attributes no es posible",
>>>>    ERR_NO_HEADATTR: "{0}: El cambio de los atributos de Head attributes
>>>> no es posible",
>>>>    ERR_RED_URL: "{0}: Redirección sin url"
>>>>
>>>> On 3 February 2011 18:20, Werner Punz<werner.punz@gmail.com
>>>> <ma...@gmail.com>>  wrote:
>>>>
>>>>    MSG_TEST: "Testmessage",
>>>>
>>>>        /*Messages*/
>>>>        MSG_DEV_MODE: "Note, this message is only sent, because project
>>>>    stage is development and no " +
>>>>    "other error listeners are registered.",
>>>>        MSG_AFFECTED_CLASS: "Affected Class:",
>>>>        MSG_AFFECTED_METHOD: "Affected Method:",
>>>>
>>>>        MSG_ERROR_NAME: "Error Name:",
>>>>        MSG_ERROR_MESSAGE: "Error Name:",
>>>>
>>>>        MSG_ERROR_DESC: "Error Description:",
>>>>        MSG_ERROR_NO: "Error Number:",
>>>>        MSG_ERROR_LINENO: "Error Line Number:",
>>>>
>>>>        /*Errors and messages*/
>>>>        ERR_FORM: "Sourceform could not be determined, either because
>>>>    element is not attached to a form or we have multiple forms with
>>>>    named elements of the same identifier or name, stopping the ajax
>>>>    processing",
>>>>        ERR_VIEWSTATE: "jsf.viewState: param value not of type form!",
>>>>        ERR_TRANSPORT: "Transport type {0} does not exist",
>>>>        ERR_EVT_PASS: "an event must be passed down (either a an event
>>>>    object null or undefined) ",
>>>>        ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when
>>>>    constructing the event data: {0} ",
>>>>        ERR_MALFORMEDXML: "The server response could not be parsed, the
>>>>    server has returned with a response which is not xml !",
>>>>        ERR_SOURCE_FUNC: "source cannot be a function (probably source
>>>>    and event were not defined or set to null",
>>>>        ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as
>>>>    second parameter",
>>>>        ERR_SOURCE_NOSTR: "source cannot be a string",
>>>>        ERR_SOURCE_DEF_NULL: "source must be defined or null",
>>>>
>>>>        //_Lang.js
>>>>        ERR_MUST_STRING: "{0}: {1} namespace must be of type String",
>>>>        ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be
>>>>    provided",
>>>>        ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}",
>>>>        ERR_PARAM_STR: "{0}: {1} param must be of type string",
>>>>        ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a
>>>>    regular expression",
>>>>        ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination
>>>>    map must be provided",
>>>>        ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided",
>>>>        ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set",
>>>>
>>>>        ERR_REPLACE_EL: "replaceElements called while evalNodes is not
>>>>    an array",
>>>>        ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!",
>>>>        ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not
>>>>    be found",
>>>>        ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present",
>>>>        ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or
>>>>    after id must be present",
>>>>        ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before  node
>>>>    of id {1} does not exist in document",
>>>>        ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after  node of
>>>>    id {1} does not exist in document",
>>>>
>>>>        ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup",
>>>>        ERR_PPR_UNKNOWNCID: "{0}:  Unknown Html-Component-ID: {1}",
>>>>        ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is
>>>>    not supported",
>>>>        ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not
>>>>    supported",
>>>>        ERR_RED_URL: "{0}: Redirect without url"
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Myfaces js translation help

Posted by Werner Punz <we...@gmail.com>.
Also a big thank you I will merge it in tomorrow

Werner


Am 04.02.11 11:09, schrieb Cédric Durmont:
> Hi,
> Here's the French translation :
>
>
> MSG_TEST:               "MessageTest",
>
>     /*Messages*/
>     MSG_DEV_MODE:           "Note : ce message n'est envoyé que parce
> que le projet est au stade de développement et " +
>                             "qu'aucun autre listener d'erreurs n'est
> enregistré.",
>     MSG_AFFECTED_CLASS:     "Classe affectée : ",
>     MSG_AFFECTED_METHOD:    "Méthode affectée : ",
>
>     MSG_ERROR_NAME:         "Nom de l'erreur : ",
>     MSG_ERROR_MESSAGE:      "Nom de l'erreur : ",
>
>     MSG_ERROR_DESC:         "Description de l'erreur : ",
>     MSG_ERROR_NO:           "Numéro de l'erreur : ",
>     MSG_ERROR_LINENO:       "Erreur à la ligne : ",
>
>     /*Errors and messages*/
>     ERR_FORM:               "Le formulaire source n'a pas pu être
> déterminé, soit parce que l'élément n'est rattaché à aucun formulaire,
> soit parce qu'ils y a plusieurs formulaires contenant des éléments
> avec le même nom ou identifiant. Arrêt du traitement AJAX",
>     ERR_VIEWSTATE:          "jsf.viewState: La valeur de 'param' n'est
> pas de type 'form' !",
>     ERR_TRANSPORT:          "Le type de tansport {0} n'existe pas",
>     ERR_EVT_PASS:           "Un évènement doit être transmis (soit un
> objet évènement, soit null ou undefined) ",
>     ERR_CONSTRUCT:          "Des éléments de la réponse n'ont pu être
> récupérés lors de la construction des données de l'évènement : {0} ",
>     ERR_MALFORMEDXML:       "La réponse du serveur n'a pas pu être
> analysée : le serveur n'a pas renvoyé une réponse en xml !",
>     ERR_SOURCE_FUNC:        "La source ne peut pas être une fonction
> (Il est probable que 'source' et 'event' n'ont pas été définis ou mis
> à null",
>     ERR_EV_OR_UNKNOWN:      "Le second paramètre doit être un objet
> évènement ou 'unknown' ",
>     ERR_SOURCE_NOSTR:       "La source ne peut pas être de type String",
>     ERR_SOURCE_DEF_NULL:    "La source doit être définie ou égale à null",
>
>     //_Lang.js
>     ERR_MUST_STRING:        "{0}: Le namespace {1} doit être de type String",
>     ERR_REF_OR_ID:          "{0}: {1} un noeud de référence ou un
> identifiant doit être passé",
>     ERR_PARAM_GENERIC:      "{0}: Le paramètre {1} doit être de type {2}",
>     ERR_PARAM_STR:          "{0}: Le paramètre {1} doit être de type String",
>     ERR_PARAM_STR_RE:       "{0}: Le paramètre {1} doit être de type
> String ou être une expression régulière",
>     ERR_PARAM_MIXMAPS:      "{0}: Un Map de source et un Map de
> destination doivent être passés",
>     ERR_MUST_BE_PROVIDED:   "{0}: un(e) {1} et un(e) {2} doivent être passés",
>     ERR_MUST_BE_PROVIDED1:  "{0}: {1} doit être défini",
>
>     ERR_REPLACE_EL:         "replaceElements a été appelé alors que
> evalNodes n'est pas un tableau",
>     ERR_EMPTY_RESPONSE:     "{0}: La réponse ne peut pas être nulle ou vide !",
>     ERR_ITEM_ID_NOTFOUND:   "{0}: l'élément portant l'identifiant {1}
> n'a pas pu être trouvé",
>     ERR_PPR_IDREQ:          "{0}: Erreur lors de l'insertion PPR, l'id
> doit être présent",
>     ERR_PPR_INSERTBEFID:    "{0}: Erreur lors de l'insertion PPR,
> 'before id' ou 'after id' doivent être présents",
>     ERR_PPR_INSERTBEFID_1:  "{0}: Erreur lors de l'insertion PPR, le
> noeud before de l'id {1} n'existe pas dans le document",
>     ERR_PPR_INSERTBEFID_2:  "{0}: Erreur lors de l'insertion PPR, le
> noeud after  de l'id {1} n'existe pas dans le document",
>
>     ERR_PPR_DELID:          "{0}: Erreur lors de la suppression, l'id
> n'est pas présent dans le xml",
>     ERR_PPR_UNKNOWNCID:     "{0}:  Html-Component-ID inconnu : {1}",
>     ERR_NO_VIEWROOTATTR:    "{0}: Le changement d'attributs dans
> ViewRoot n'est pas supporté",
>     ERR_NO_HEADATTR:        "{0}: Le changement d'attributs dans Head
> n'est pas supporté",
>     ERR_RED_URL:            "{0}: Redirection sans url"
>
>
>
>
> 2011/2/3 Werner Punz<we...@gmail.com>:
>> Also thanks a lot
>>
>> Werner
>>
>>
>> Am 03.02.11 21:55, schrieb Bruno Aranda:
>>>
>>> Hi,
>>>
>>> Spanish:
>>>
>>> MSG_TEST: "Mensajeprueba",
>>>
>>>     /*Messages*/
>>>     MSG_DEV_MODE: "Aviso. Este mensaje solo se envia porque el "Project
>>> Stage" es "Development" y no hay otros 'listeners' de errores
>>> registrados.",
>>>     MSG_AFFECTED_CLASS: "Clase Afectada:",
>>>     MSG_AFFECTED_METHOD: "Método Afectado:",
>>>
>>>     MSG_ERROR_NAME: "Nombre del Error:",
>>>     MSG_ERROR_MESSAGE: "Nombre del Error:",
>>>
>>>     MSG_ERROR_DESC: "Descripción del Error:",
>>>     MSG_ERROR_NO: "Número de Error:",
>>>     MSG_ERROR_LINENO: "Número de Línea del Error:",
>>>
>>>     /*Errors and messages*/
>>>     ERR_FORM: "El formulario de origen no ha podido ser determinado,
>>> debido a que el elemento no forma parte de un formulario o hay diversos
>>> formularios con elementos usando el mismo nombre o identificador.
>>> Parando el procesamiento de Ajax.",
>>>     ERR_VIEWSTATE: "jsf.viewState: el valor del parámetro no es de tipo
>>> 'form'!",
>>>     ERR_TRANSPORT: "El tipo de transporte {0} no existe",
>>>     ERR_EVT_PASS: "un evento debe ser transmitido (sea null o no
>>> definido)",
>>>     ERR_CONSTRUCT: "Partes de la respuesta no pudieron ser recuperadas
>>> cuando construyendo los datos del evento: {0} ",
>>>     ERR_MALFORMEDXML: "La respuesta del servidor no ha podido ser
>>> interpretada. El servidor ha devuelto una respuesta que no es xml !",
>>>     ERR_SOURCE_FUNC: "el origen no puede ser una función (probablemente
>>> 'source' y evento no han sido definidos o son 'null'",
>>>     ERR_EV_OR_UNKNOWN: "Un objeto de tipo evento o desconocido debe ser
>>> pasado como segundo parámetro",
>>>     ERR_SOURCE_NOSTR: "el origen no puede ser 'string'",
>>>     ERR_SOURCE_DEF_NULL: "el origen debe haber sido definido o ser 'null'",
>>>
>>>     //_Lang.js
>>>     ERR_MUST_STRING: "{0}: {1} namespace debe ser de tipo String",
>>>     ERR_REF_OR_ID: "{0}: {1} una referencia a un nodo o identificador
>>> tiene que ser pasada",
>>>     ERR_PARAM_GENERIC: "{0}: el parámetro {1} tiene que ser de tipo {2}",
>>>     ERR_PARAM_STR: "{0}: el parámetro {1} tiene que ser de tipo string",
>>>     ERR_PARAM_STR_RE: "{0}: el parámetro {1} tiene que ser de tipo
>>> string o una expresión regular",
>>>     ERR_PARAM_MIXMAPS: "{0}: han de ser pasados tanto un origen como un
>>> destino",
>>>     ERR_MUST_BE_PROVIDED: "{0}: {1} y {2} deben ser pasados",
>>>     ERR_MUST_BE_PROVIDED1: "{0}: {1} debe estar definido",
>>>
>>>     ERR_REPLACE_EL: "replaceElements invocado mientras que evalNodes no
>>> es un an array",
>>>     ERR_EMPTY_RESPONSE: "{0}: ¡La respuesta no puede ser de tipo 'null'
>>> o vacía!",
>>>     ERR_ITEM_ID_NOTFOUND: "{0}: el elemento con identificador {1} no ha
>>> sido encontrado",
>>>     ERR_PPR_IDREQ: "{0}: Error en PPR Insert, 'id' debe estar presente",
>>>     ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, antes de 'id' o
>>> después de 'id' deben estar presentes",
>>>     ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, antes de nodo con
>>> id {1} no existe en el documento",
>>>     ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, después de nodo
>>> con id {1} no existe en el documento",
>>>
>>>     ERR_PPR_DELID: "{0}: Error durante borrado, id no presente en xml",
>>>     ERR_PPR_UNKNOWNCID: "{0}:  Desconocido Html-Component-ID: {1}",
>>>     ERR_NO_VIEWROOTATTR: "{0}: El cambio de atributos de ViewRoot
>>> attributes no es posible",
>>>     ERR_NO_HEADATTR: "{0}: El cambio de los atributos de Head attributes
>>> no es posible",
>>>     ERR_RED_URL: "{0}: Redirección sin url"
>>>
>>> On 3 February 2011 18:20, Werner Punz<werner.punz@gmail.com
>>> <ma...@gmail.com>>  wrote:
>>>
>>>     MSG_TEST: "Testmessage",
>>>
>>>         /*Messages*/
>>>         MSG_DEV_MODE: "Note, this message is only sent, because project
>>>     stage is development and no " +
>>>     "other error listeners are registered.",
>>>         MSG_AFFECTED_CLASS: "Affected Class:",
>>>         MSG_AFFECTED_METHOD: "Affected Method:",
>>>
>>>         MSG_ERROR_NAME: "Error Name:",
>>>         MSG_ERROR_MESSAGE: "Error Name:",
>>>
>>>         MSG_ERROR_DESC: "Error Description:",
>>>         MSG_ERROR_NO: "Error Number:",
>>>         MSG_ERROR_LINENO: "Error Line Number:",
>>>
>>>         /*Errors and messages*/
>>>         ERR_FORM: "Sourceform could not be determined, either because
>>>     element is not attached to a form or we have multiple forms with
>>>     named elements of the same identifier or name, stopping the ajax
>>>     processing",
>>>         ERR_VIEWSTATE: "jsf.viewState: param value not of type form!",
>>>         ERR_TRANSPORT: "Transport type {0} does not exist",
>>>         ERR_EVT_PASS: "an event must be passed down (either a an event
>>>     object null or undefined) ",
>>>         ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when
>>>     constructing the event data: {0} ",
>>>         ERR_MALFORMEDXML: "The server response could not be parsed, the
>>>     server has returned with a response which is not xml !",
>>>         ERR_SOURCE_FUNC: "source cannot be a function (probably source
>>>     and event were not defined or set to null",
>>>         ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as
>>>     second parameter",
>>>         ERR_SOURCE_NOSTR: "source cannot be a string",
>>>         ERR_SOURCE_DEF_NULL: "source must be defined or null",
>>>
>>>         //_Lang.js
>>>         ERR_MUST_STRING: "{0}: {1} namespace must be of type String",
>>>         ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be
>>>     provided",
>>>         ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}",
>>>         ERR_PARAM_STR: "{0}: {1} param must be of type string",
>>>         ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a
>>>     regular expression",
>>>         ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination
>>>     map must be provided",
>>>         ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided",
>>>         ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set",
>>>
>>>         ERR_REPLACE_EL: "replaceElements called while evalNodes is not
>>>     an array",
>>>         ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!",
>>>         ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not
>>>     be found",
>>>         ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present",
>>>         ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or
>>>     after id must be present",
>>>         ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before  node
>>>     of id {1} does not exist in document",
>>>         ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after  node of
>>>     id {1} does not exist in document",
>>>
>>>         ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup",
>>>         ERR_PPR_UNKNOWNCID: "{0}:  Unknown Html-Component-ID: {1}",
>>>         ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is
>>>     not supported",
>>>         ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not
>>>     supported",
>>>         ERR_RED_URL: "{0}: Redirect without url"
>>>
>>>
>>
>>
>>
>



Re: Myfaces js translation help

Posted by Cédric Durmont <cd...@gmail.com>.
Hi,
Here's the French translation :


MSG_TEST:               "MessageTest",

   /*Messages*/
   MSG_DEV_MODE:           "Note : ce message n'est envoyé que parce
que le projet est au stade de développement et " +
                           "qu'aucun autre listener d'erreurs n'est
enregistré.",
   MSG_AFFECTED_CLASS:     "Classe affectée : ",
   MSG_AFFECTED_METHOD:    "Méthode affectée : ",

   MSG_ERROR_NAME:         "Nom de l'erreur : ",
   MSG_ERROR_MESSAGE:      "Nom de l'erreur : ",

   MSG_ERROR_DESC:         "Description de l'erreur : ",
   MSG_ERROR_NO:           "Numéro de l'erreur : ",
   MSG_ERROR_LINENO:       "Erreur à la ligne : ",

   /*Errors and messages*/
   ERR_FORM:               "Le formulaire source n'a pas pu être
déterminé, soit parce que l'élément n'est rattaché à aucun formulaire,
soit parce qu'ils y a plusieurs formulaires contenant des éléments
avec le même nom ou identifiant. Arrêt du traitement AJAX",
   ERR_VIEWSTATE:          "jsf.viewState: La valeur de 'param' n'est
pas de type 'form' !",
   ERR_TRANSPORT:          "Le type de tansport {0} n'existe pas",
   ERR_EVT_PASS:           "Un évènement doit être transmis (soit un
objet évènement, soit null ou undefined) ",
   ERR_CONSTRUCT:          "Des éléments de la réponse n'ont pu être
récupérés lors de la construction des données de l'évènement : {0} ",
   ERR_MALFORMEDXML:       "La réponse du serveur n'a pas pu être
analysée : le serveur n'a pas renvoyé une réponse en xml !",
   ERR_SOURCE_FUNC:        "La source ne peut pas être une fonction
(Il est probable que 'source' et 'event' n'ont pas été définis ou mis
à null",
   ERR_EV_OR_UNKNOWN:      "Le second paramètre doit être un objet
évènement ou 'unknown' ",
   ERR_SOURCE_NOSTR:       "La source ne peut pas être de type String",
   ERR_SOURCE_DEF_NULL:    "La source doit être définie ou égale à null",

   //_Lang.js
   ERR_MUST_STRING:        "{0}: Le namespace {1} doit être de type String",
   ERR_REF_OR_ID:          "{0}: {1} un noeud de référence ou un
identifiant doit être passé",
   ERR_PARAM_GENERIC:      "{0}: Le paramètre {1} doit être de type {2}",
   ERR_PARAM_STR:          "{0}: Le paramètre {1} doit être de type String",
   ERR_PARAM_STR_RE:       "{0}: Le paramètre {1} doit être de type
String ou être une expression régulière",
   ERR_PARAM_MIXMAPS:      "{0}: Un Map de source et un Map de
destination doivent être passés",
   ERR_MUST_BE_PROVIDED:   "{0}: un(e) {1} et un(e) {2} doivent être passés",
   ERR_MUST_BE_PROVIDED1:  "{0}: {1} doit être défini",

   ERR_REPLACE_EL:         "replaceElements a été appelé alors que
evalNodes n'est pas un tableau",
   ERR_EMPTY_RESPONSE:     "{0}: La réponse ne peut pas être nulle ou vide !",
   ERR_ITEM_ID_NOTFOUND:   "{0}: l'élément portant l'identifiant {1}
n'a pas pu être trouvé",
   ERR_PPR_IDREQ:          "{0}: Erreur lors de l'insertion PPR, l'id
doit être présent",
   ERR_PPR_INSERTBEFID:    "{0}: Erreur lors de l'insertion PPR,
'before id' ou 'after id' doivent être présents",
   ERR_PPR_INSERTBEFID_1:  "{0}: Erreur lors de l'insertion PPR, le
noeud before de l'id {1} n'existe pas dans le document",
   ERR_PPR_INSERTBEFID_2:  "{0}: Erreur lors de l'insertion PPR, le
noeud after  de l'id {1} n'existe pas dans le document",

   ERR_PPR_DELID:          "{0}: Erreur lors de la suppression, l'id
n'est pas présent dans le xml",
   ERR_PPR_UNKNOWNCID:     "{0}:  Html-Component-ID inconnu : {1}",
   ERR_NO_VIEWROOTATTR:    "{0}: Le changement d'attributs dans
ViewRoot n'est pas supporté",
   ERR_NO_HEADATTR:        "{0}: Le changement d'attributs dans Head
n'est pas supporté",
   ERR_RED_URL:            "{0}: Redirection sans url"




2011/2/3 Werner Punz <we...@gmail.com>:
> Also thanks a lot
>
> Werner
>
>
> Am 03.02.11 21:55, schrieb Bruno Aranda:
>>
>> Hi,
>>
>> Spanish:
>>
>> MSG_TEST: "Mensajeprueba",
>>
>>    /*Messages*/
>>    MSG_DEV_MODE: "Aviso. Este mensaje solo se envia porque el "Project
>> Stage" es "Development" y no hay otros 'listeners' de errores
>> registrados.",
>>    MSG_AFFECTED_CLASS: "Clase Afectada:",
>>    MSG_AFFECTED_METHOD: "Método Afectado:",
>>
>>    MSG_ERROR_NAME: "Nombre del Error:",
>>    MSG_ERROR_MESSAGE: "Nombre del Error:",
>>
>>    MSG_ERROR_DESC: "Descripción del Error:",
>>    MSG_ERROR_NO: "Número de Error:",
>>    MSG_ERROR_LINENO: "Número de Línea del Error:",
>>
>>    /*Errors and messages*/
>>    ERR_FORM: "El formulario de origen no ha podido ser determinado,
>> debido a que el elemento no forma parte de un formulario o hay diversos
>> formularios con elementos usando el mismo nombre o identificador.
>> Parando el procesamiento de Ajax.",
>>    ERR_VIEWSTATE: "jsf.viewState: el valor del parámetro no es de tipo
>> 'form'!",
>>    ERR_TRANSPORT: "El tipo de transporte {0} no existe",
>>    ERR_EVT_PASS: "un evento debe ser transmitido (sea null o no
>> definido)",
>>    ERR_CONSTRUCT: "Partes de la respuesta no pudieron ser recuperadas
>> cuando construyendo los datos del evento: {0} ",
>>    ERR_MALFORMEDXML: "La respuesta del servidor no ha podido ser
>> interpretada. El servidor ha devuelto una respuesta que no es xml !",
>>    ERR_SOURCE_FUNC: "el origen no puede ser una función (probablemente
>> 'source' y evento no han sido definidos o son 'null'",
>>    ERR_EV_OR_UNKNOWN: "Un objeto de tipo evento o desconocido debe ser
>> pasado como segundo parámetro",
>>    ERR_SOURCE_NOSTR: "el origen no puede ser 'string'",
>>    ERR_SOURCE_DEF_NULL: "el origen debe haber sido definido o ser 'null'",
>>
>>    //_Lang.js
>>    ERR_MUST_STRING: "{0}: {1} namespace debe ser de tipo String",
>>    ERR_REF_OR_ID: "{0}: {1} una referencia a un nodo o identificador
>> tiene que ser pasada",
>>    ERR_PARAM_GENERIC: "{0}: el parámetro {1} tiene que ser de tipo {2}",
>>    ERR_PARAM_STR: "{0}: el parámetro {1} tiene que ser de tipo string",
>>    ERR_PARAM_STR_RE: "{0}: el parámetro {1} tiene que ser de tipo
>> string o una expresión regular",
>>    ERR_PARAM_MIXMAPS: "{0}: han de ser pasados tanto un origen como un
>> destino",
>>    ERR_MUST_BE_PROVIDED: "{0}: {1} y {2} deben ser pasados",
>>    ERR_MUST_BE_PROVIDED1: "{0}: {1} debe estar definido",
>>
>>    ERR_REPLACE_EL: "replaceElements invocado mientras que evalNodes no
>> es un an array",
>>    ERR_EMPTY_RESPONSE: "{0}: ¡La respuesta no puede ser de tipo 'null'
>> o vacía!",
>>    ERR_ITEM_ID_NOTFOUND: "{0}: el elemento con identificador {1} no ha
>> sido encontrado",
>>    ERR_PPR_IDREQ: "{0}: Error en PPR Insert, 'id' debe estar presente",
>>    ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, antes de 'id' o
>> después de 'id' deben estar presentes",
>>    ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, antes de nodo con
>> id {1} no existe en el documento",
>>    ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, después de nodo
>> con id {1} no existe en el documento",
>>
>>    ERR_PPR_DELID: "{0}: Error durante borrado, id no presente en xml",
>>    ERR_PPR_UNKNOWNCID: "{0}:  Desconocido Html-Component-ID: {1}",
>>    ERR_NO_VIEWROOTATTR: "{0}: El cambio de atributos de ViewRoot
>> attributes no es posible",
>>    ERR_NO_HEADATTR: "{0}: El cambio de los atributos de Head attributes
>> no es posible",
>>    ERR_RED_URL: "{0}: Redirección sin url"
>>
>> On 3 February 2011 18:20, Werner Punz <werner.punz@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>>    MSG_TEST: "Testmessage",
>>
>>        /*Messages*/
>>        MSG_DEV_MODE: "Note, this message is only sent, because project
>>    stage is development and no " +
>>    "other error listeners are registered.",
>>        MSG_AFFECTED_CLASS: "Affected Class:",
>>        MSG_AFFECTED_METHOD: "Affected Method:",
>>
>>        MSG_ERROR_NAME: "Error Name:",
>>        MSG_ERROR_MESSAGE: "Error Name:",
>>
>>        MSG_ERROR_DESC: "Error Description:",
>>        MSG_ERROR_NO: "Error Number:",
>>        MSG_ERROR_LINENO: "Error Line Number:",
>>
>>        /*Errors and messages*/
>>        ERR_FORM: "Sourceform could not be determined, either because
>>    element is not attached to a form or we have multiple forms with
>>    named elements of the same identifier or name, stopping the ajax
>>    processing",
>>        ERR_VIEWSTATE: "jsf.viewState: param value not of type form!",
>>        ERR_TRANSPORT: "Transport type {0} does not exist",
>>        ERR_EVT_PASS: "an event must be passed down (either a an event
>>    object null or undefined) ",
>>        ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when
>>    constructing the event data: {0} ",
>>        ERR_MALFORMEDXML: "The server response could not be parsed, the
>>    server has returned with a response which is not xml !",
>>        ERR_SOURCE_FUNC: "source cannot be a function (probably source
>>    and event were not defined or set to null",
>>        ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as
>>    second parameter",
>>        ERR_SOURCE_NOSTR: "source cannot be a string",
>>        ERR_SOURCE_DEF_NULL: "source must be defined or null",
>>
>>        //_Lang.js
>>        ERR_MUST_STRING: "{0}: {1} namespace must be of type String",
>>        ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be
>>    provided",
>>        ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}",
>>        ERR_PARAM_STR: "{0}: {1} param must be of type string",
>>        ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a
>>    regular expression",
>>        ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination
>>    map must be provided",
>>        ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided",
>>        ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set",
>>
>>        ERR_REPLACE_EL: "replaceElements called while evalNodes is not
>>    an array",
>>        ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!",
>>        ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not
>>    be found",
>>        ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present",
>>        ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or
>>    after id must be present",
>>        ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before  node
>>    of id {1} does not exist in document",
>>        ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after  node of
>>    id {1} does not exist in document",
>>
>>        ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup",
>>        ERR_PPR_UNKNOWNCID: "{0}:  Unknown Html-Component-ID: {1}",
>>        ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is
>>    not supported",
>>        ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not
>>    supported",
>>        ERR_RED_URL: "{0}: Redirect without url"
>>
>>
>
>
>

Re: Myfaces js translation help

Posted by Werner Punz <we...@gmail.com>.
Also thanks a lot

Werner


Am 03.02.11 21:55, schrieb Bruno Aranda:
> Hi,
>
> Spanish:
>
> MSG_TEST: "Mensajeprueba",
>
>     /*Messages*/
>     MSG_DEV_MODE: "Aviso. Este mensaje solo se envia porque el "Project
> Stage" es "Development" y no hay otros 'listeners' de errores registrados.",
>     MSG_AFFECTED_CLASS: "Clase Afectada:",
>     MSG_AFFECTED_METHOD: "Método Afectado:",
>
>     MSG_ERROR_NAME: "Nombre del Error:",
>     MSG_ERROR_MESSAGE: "Nombre del Error:",
>
>     MSG_ERROR_DESC: "Descripción del Error:",
>     MSG_ERROR_NO: "Número de Error:",
>     MSG_ERROR_LINENO: "Número de Línea del Error:",
>
>     /*Errors and messages*/
>     ERR_FORM: "El formulario de origen no ha podido ser determinado,
> debido a que el elemento no forma parte de un formulario o hay diversos
> formularios con elementos usando el mismo nombre o identificador.
> Parando el procesamiento de Ajax.",
>     ERR_VIEWSTATE: "jsf.viewState: el valor del parámetro no es de tipo
> 'form'!",
>     ERR_TRANSPORT: "El tipo de transporte {0} no existe",
>     ERR_EVT_PASS: "un evento debe ser transmitido (sea null o no definido)",
>     ERR_CONSTRUCT: "Partes de la respuesta no pudieron ser recuperadas
> cuando construyendo los datos del evento: {0} ",
>     ERR_MALFORMEDXML: "La respuesta del servidor no ha podido ser
> interpretada. El servidor ha devuelto una respuesta que no es xml !",
>     ERR_SOURCE_FUNC: "el origen no puede ser una función (probablemente
> 'source' y evento no han sido definidos o son 'null'",
>     ERR_EV_OR_UNKNOWN: "Un objeto de tipo evento o desconocido debe ser
> pasado como segundo parámetro",
>     ERR_SOURCE_NOSTR: "el origen no puede ser 'string'",
>     ERR_SOURCE_DEF_NULL: "el origen debe haber sido definido o ser 'null'",
>
>     //_Lang.js
>     ERR_MUST_STRING: "{0}: {1} namespace debe ser de tipo String",
>     ERR_REF_OR_ID: "{0}: {1} una referencia a un nodo o identificador
> tiene que ser pasada",
>     ERR_PARAM_GENERIC: "{0}: el parámetro {1} tiene que ser de tipo {2}",
>     ERR_PARAM_STR: "{0}: el parámetro {1} tiene que ser de tipo string",
>     ERR_PARAM_STR_RE: "{0}: el parámetro {1} tiene que ser de tipo
> string o una expresión regular",
>     ERR_PARAM_MIXMAPS: "{0}: han de ser pasados tanto un origen como un
> destino",
>     ERR_MUST_BE_PROVIDED: "{0}: {1} y {2} deben ser pasados",
>     ERR_MUST_BE_PROVIDED1: "{0}: {1} debe estar definido",
>
>     ERR_REPLACE_EL: "replaceElements invocado mientras que evalNodes no
> es un an array",
>     ERR_EMPTY_RESPONSE: "{0}: ¡La respuesta no puede ser de tipo 'null'
> o vacía!",
>     ERR_ITEM_ID_NOTFOUND: "{0}: el elemento con identificador {1} no ha
> sido encontrado",
>     ERR_PPR_IDREQ: "{0}: Error en PPR Insert, 'id' debe estar presente",
>     ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, antes de 'id' o
> después de 'id' deben estar presentes",
>     ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, antes de nodo con
> id {1} no existe en el documento",
>     ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, después de nodo
> con id {1} no existe en el documento",
>
>     ERR_PPR_DELID: "{0}: Error durante borrado, id no presente en xml",
>     ERR_PPR_UNKNOWNCID: "{0}:  Desconocido Html-Component-ID: {1}",
>     ERR_NO_VIEWROOTATTR: "{0}: El cambio de atributos de ViewRoot
> attributes no es posible",
>     ERR_NO_HEADATTR: "{0}: El cambio de los atributos de Head attributes
> no es posible",
>     ERR_RED_URL: "{0}: Redirección sin url"
>
> On 3 February 2011 18:20, Werner Punz <werner.punz@gmail.com
> <ma...@gmail.com>> wrote:
>
>     MSG_TEST: "Testmessage",
>
>         /*Messages*/
>         MSG_DEV_MODE: "Note, this message is only sent, because project
>     stage is development and no " +
>     "other error listeners are registered.",
>         MSG_AFFECTED_CLASS: "Affected Class:",
>         MSG_AFFECTED_METHOD: "Affected Method:",
>
>         MSG_ERROR_NAME: "Error Name:",
>         MSG_ERROR_MESSAGE: "Error Name:",
>
>         MSG_ERROR_DESC: "Error Description:",
>         MSG_ERROR_NO: "Error Number:",
>         MSG_ERROR_LINENO: "Error Line Number:",
>
>         /*Errors and messages*/
>         ERR_FORM: "Sourceform could not be determined, either because
>     element is not attached to a form or we have multiple forms with
>     named elements of the same identifier or name, stopping the ajax
>     processing",
>         ERR_VIEWSTATE: "jsf.viewState: param value not of type form!",
>         ERR_TRANSPORT: "Transport type {0} does not exist",
>         ERR_EVT_PASS: "an event must be passed down (either a an event
>     object null or undefined) ",
>         ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when
>     constructing the event data: {0} ",
>         ERR_MALFORMEDXML: "The server response could not be parsed, the
>     server has returned with a response which is not xml !",
>         ERR_SOURCE_FUNC: "source cannot be a function (probably source
>     and event were not defined or set to null",
>         ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as
>     second parameter",
>         ERR_SOURCE_NOSTR: "source cannot be a string",
>         ERR_SOURCE_DEF_NULL: "source must be defined or null",
>
>         //_Lang.js
>         ERR_MUST_STRING: "{0}: {1} namespace must be of type String",
>         ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be
>     provided",
>         ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}",
>         ERR_PARAM_STR: "{0}: {1} param must be of type string",
>         ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a
>     regular expression",
>         ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination
>     map must be provided",
>         ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided",
>         ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set",
>
>         ERR_REPLACE_EL: "replaceElements called while evalNodes is not
>     an array",
>         ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!",
>         ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not
>     be found",
>         ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present",
>         ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or
>     after id must be present",
>         ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before  node
>     of id {1} does not exist in document",
>         ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after  node of
>     id {1} does not exist in document",
>
>         ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup",
>         ERR_PPR_UNKNOWNCID: "{0}:  Unknown Html-Component-ID: {1}",
>         ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is
>     not supported",
>         ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not
>     supported",
>         ERR_RED_URL: "{0}: Redirect without url"
>
>



Re: Myfaces js translation help

Posted by Bruno Aranda <br...@gmail.com>.
Hi,

Spanish:

MSG_TEST:               "Mensajeprueba",

   /*Messages*/
   MSG_DEV_MODE:           "Aviso. Este mensaje solo se envia porque el
"Project Stage" es "Development" y no hay otros 'listeners' de errores
registrados.",
   MSG_AFFECTED_CLASS:     "Clase Afectada:",
   MSG_AFFECTED_METHOD:    "Método Afectado:",

   MSG_ERROR_NAME:         "Nombre del Error:",
   MSG_ERROR_MESSAGE:      "Nombre del Error:",

   MSG_ERROR_DESC:         "Descripción del Error:",
   MSG_ERROR_NO:           "Número de Error:",
   MSG_ERROR_LINENO:       "Número de Línea del Error:",

   /*Errors and messages*/
   ERR_FORM:               "El formulario de origen no ha podido ser
determinado, debido a que el elemento no forma parte de un formulario o hay
diversos formularios con elementos usando el mismo nombre o identificador.
Parando el procesamiento de Ajax.",
   ERR_VIEWSTATE:          "jsf.viewState: el valor del parámetro no es de
tipo 'form'!",
   ERR_TRANSPORT:          "El tipo de transporte {0} no existe",
   ERR_EVT_PASS:           "un evento debe ser transmitido (sea null o no
definido)",
   ERR_CONSTRUCT:          "Partes de la respuesta no pudieron ser
recuperadas cuando construyendo los datos del evento: {0} ",
   ERR_MALFORMEDXML:       "La respuesta del servidor no ha podido ser
interpretada. El servidor ha devuelto una respuesta que no es xml !",
   ERR_SOURCE_FUNC:        "el origen no puede ser una función
(probablemente 'source' y evento no han sido definidos o son 'null'",
   ERR_EV_OR_UNKNOWN:      "Un objeto de tipo evento o desconocido debe ser
pasado como segundo parámetro",
   ERR_SOURCE_NOSTR:       "el origen no puede ser 'string'",
   ERR_SOURCE_DEF_NULL:    "el origen debe haber sido definido o ser
'null'",

   //_Lang.js
   ERR_MUST_STRING:        "{0}: {1} namespace debe ser de tipo String",
   ERR_REF_OR_ID:          "{0}: {1} una referencia a un nodo o
identificador tiene que ser pasada",
   ERR_PARAM_GENERIC:      "{0}: el parámetro {1} tiene que ser de tipo
{2}",
   ERR_PARAM_STR:          "{0}: el parámetro {1} tiene que ser de tipo
string",
   ERR_PARAM_STR_RE:       "{0}: el parámetro {1} tiene que ser de tipo
string o una expresión regular",
   ERR_PARAM_MIXMAPS:      "{0}: han de ser pasados tanto un origen como un
destino",
   ERR_MUST_BE_PROVIDED:   "{0}: {1} y {2} deben ser pasados",
   ERR_MUST_BE_PROVIDED1:  "{0}: {1} debe estar definido",

   ERR_REPLACE_EL:         "replaceElements invocado mientras que evalNodes
no es un an array",
   ERR_EMPTY_RESPONSE:     "{0}: ¡La respuesta no puede ser de tipo 'null' o
vacía!",
   ERR_ITEM_ID_NOTFOUND:   "{0}: el elemento con identificador {1} no ha
sido encontrado",
   ERR_PPR_IDREQ:          "{0}: Error en PPR Insert, 'id' debe estar
presente",
   ERR_PPR_INSERTBEFID:    "{0}: Error in PPR Insert, antes de 'id' o
después de 'id' deben estar presentes",
   ERR_PPR_INSERTBEFID_1:  "{0}: Error in PPR Insert, antes de nodo con id {1}
no existe en el documento",
   ERR_PPR_INSERTBEFID_2:  "{0}: Error in PPR Insert, después de nodo con id
{1} no existe en el documento",

   ERR_PPR_DELID:          "{0}: Error durante borrado, id no presente en
xml",
   ERR_PPR_UNKNOWNCID:     "{0}:  Desconocido Html-Component-ID: {1}",
   ERR_NO_VIEWROOTATTR:    "{0}: El cambio de atributos de ViewRoot
attributes no es posible",
   ERR_NO_HEADATTR:        "{0}: El cambio de los atributos de Head
attributes no es posible",
   ERR_RED_URL:            "{0}: Redirección sin url"

On 3 February 2011 18:20, Werner Punz <we...@gmail.com> wrote:

> MSG_TEST:               "Testmessage",
>
>    /*Messages*/
>    MSG_DEV_MODE:           "Note, this message is only sent, because
> project stage is development and no " +
>                            "other error listeners are registered.",
>    MSG_AFFECTED_CLASS:     "Affected Class:",
>    MSG_AFFECTED_METHOD:    "Affected Method:",
>
>    MSG_ERROR_NAME:         "Error Name:",
>    MSG_ERROR_MESSAGE:      "Error Name:",
>
>    MSG_ERROR_DESC:         "Error Description:",
>    MSG_ERROR_NO:           "Error Number:",
>    MSG_ERROR_LINENO:       "Error Line Number:",
>
>    /*Errors and messages*/
>    ERR_FORM:               "Sourceform could not be determined, either
> because element is not attached to a form or we have multiple forms with
> named elements of the same identifier or name, stopping the ajax
> processing",
>    ERR_VIEWSTATE:          "jsf.viewState: param value not of type form!",
>    ERR_TRANSPORT:          "Transport type {0} does not exist",
>    ERR_EVT_PASS:           "an event must be passed down (either a an event
> object null or undefined) ",
>    ERR_CONSTRUCT:          "Parts of the response couldn't be retrieved
> when constructing the event data: {0} ",
>    ERR_MALFORMEDXML:       "The server response could not be parsed, the
> server has returned with a response which is not xml !",
>    ERR_SOURCE_FUNC:        "source cannot be a function (probably source
> and event were not defined or set to null",
>    ERR_EV_OR_UNKNOWN:      "An event object or unknown must be passed as
> second parameter",
>    ERR_SOURCE_NOSTR:       "source cannot be a string",
>    ERR_SOURCE_DEF_NULL:    "source must be defined or null",
>
>    //_Lang.js
>    ERR_MUST_STRING:        "{0}: {1} namespace must be of type String",
>    ERR_REF_OR_ID:          "{0}: {1} a reference node or identifier must be
> provided",
>    ERR_PARAM_GENERIC:      "{0}: parameter {1} must be of type {2}",
>    ERR_PARAM_STR:          "{0}: {1} param must be of type string",
>    ERR_PARAM_STR_RE:       "{0}: {1} param must be of type string or a
> regular expression",
>    ERR_PARAM_MIXMAPS:      "{0}: both a source as well as a destination map
> must be provided",
>    ERR_MUST_BE_PROVIDED:   "{0}: an {1} and a {2} must be provided",
>    ERR_MUST_BE_PROVIDED1:  "{0}: {1} must be set",
>
>    ERR_REPLACE_EL:         "replaceElements called while evalNodes is not
> an array",
>    ERR_EMPTY_RESPONSE:     "{0}: The response cannot be null or empty!",
>    ERR_ITEM_ID_NOTFOUND:   "{0}: item with identifier {1} could not be
> found",
>    ERR_PPR_IDREQ:          "{0}: Error in PPR Insert, id must be present",
>    ERR_PPR_INSERTBEFID:    "{0}: Error in PPR Insert, before id or after id
> must be present",
>    ERR_PPR_INSERTBEFID_1:  "{0}: Error in PPR Insert, before  node of id
> {1} does not exist in document",
>    ERR_PPR_INSERTBEFID_2:  "{0}: Error in PPR Insert, after  node of id {1}
> does not exist in document",
>
>    ERR_PPR_DELID:          "{0}: Error in delete, id not in xml markup",
>    ERR_PPR_UNKNOWNCID:     "{0}:  Unknown Html-Component-ID: {1}",
>    ERR_NO_VIEWROOTATTR:    "{0}: Changing of ViewRoot attributes is not
> supported",
>    ERR_NO_HEADATTR:        "{0}: Changing of Head attributes is not
> supported",
>    ERR_RED_URL:            "{0}: Redirect without url"
>

Re: Myfaces js translation help

Posted by Werner Punz <we...@gmail.com>.
Thanks a lot will be merged and will be committed sometime tomorrow.

Werner


Am 04.02.11 11:05, schrieb Clemente Biondo:
> Ciao,
> here comes the italian version.
>
>      /*Messages*/
>      MSG_DEV_MODE: "Questo messaggio è stato inviato esclusivamente
> perchè il progetto è in development stage e nessun altro listener è
> stato registrato.",
>      MSG_AFFECTED_CLASS: "Classi coinvolte:",
>      MSG_AFFECTED_METHOD: "Metodi coinvolti:",
>
>      MSG_ERROR_NAME: "Nome dell'errore:",
>      MSG_ERROR_MESSAGE: "Nome dell'errore:",
>
>      MSG_ERROR_DESC: "Descrizione dell'errore:",
>      MSG_ERROR_NO: "Numero errore:",
>      MSG_ERROR_LINENO: "Numero di riga dell'errore:",
>
>      /*Errors and messages*/
>      ERR_FORM: "Il Sourceform non puo' essere determinato a causa di una
> delle seguenti ragioni: l'elemento non e' agganciato ad un form oppure
> sono presenti più form con elementi con lo stesso nome, il che blocca
> l'elaborazione ajax",
>      ERR_VIEWSTATE: "jsf.viewState: il valore del parametro non è di
> tipo form!",
>      ERR_TRANSPORT: "Il transport type {0} non esiste",
>      ERR_EVT_PASS: "è necessario passare un evento (sono accettati anche
> gli event object null oppure undefined) ",
>      ERR_CONSTRUCT: "Durante la costruzione dell' event data: {0} non è
> stato possibile acquisire alcune parti della response ",
>      ERR_MALFORMEDXML: "Il formato della risposta del server non era
> xml, non è stato quindi possibile effettuarne il parsing!",
>      ERR_SOURCE_FUNC: "source non puo' essere una funzione
> (probabilmente source and event non erano stati definiti o sono null",
>      ERR_EV_OR_UNKNOWN: "Come secondo parametro bisogna passare un event
> object oppure unknown",
>      ERR_SOURCE_NOSTR: "source non può essere una stringa di testo",
>      ERR_SOURCE_DEF_NULL: "source deve essere definito oppure  null",
>
>      //_Lang.js
>      ERR_MUST_STRING: "{0}: {1} namespace deve essere di tipo String",
>      ERR_REF_OR_ID: "{0}: {1} un reference node oppure un identificatore
> deve essere fornito",
>      ERR_PARAM_GENERIC: "{0}: il parametro {1} deve essere di tipo {2}",
>      ERR_PARAM_STR: "{0}: {1} parametro deve essere di tipo String",
>      ERR_PARAM_STR_RE: "{0}: {1} parametro deve essere di tipo String
> oppure una regular expression",
>      ERR_PARAM_MIXMAPS: "{0}: è necessario specificare sia  source che
> destination map",
>      ERR_MUST_BE_PROVIDED: "{0}: è necessario specificare sia {1} che {2} ",
>      ERR_MUST_BE_PROVIDED1: "{0}: {1} deve essere settato",
>
>      ERR_REPLACE_EL: "replaceElements chiamato metre evalNodes non è un
> array",
>      ERR_EMPTY_RESPONSE: "{0}: La response non puo' essere nulla o vuota!",
>      ERR_ITEM_ID_NOTFOUND: "{0}: non è stato trovato alcun item con
> identificativo {1}",
>      ERR_PPR_IDREQ: "{0}: Errore durante la PPR Insert, l' id deve
> essere specificato",
>      ERR_PPR_INSERTBEFID: "{0}: Errore durante la PPR Insert, before id
> o after id deve essere specificato",
>      ERR_PPR_INSERTBEFID_1: "{0}: Errore durante la PPR Insert, before
> node of id {1} non esiste nel document",
>      ERR_PPR_INSERTBEFID_2: "{0}: Errore durante la PPR Insert, after
>   node of id {1} non esiste nel in document",
>
>      ERR_PPR_DELID: "{0}: Errore durante la delete, l'id non e' nella
> forma di un markup xml",
>      ERR_PPR_UNKNOWNCID: "{0}:   Html-Component-ID: {1} sconosciuto",
>      ERR_NO_VIEWROOTATTR: "{0}: La modifica degli attributi del ViewRoot
> non è supportata",
>      ERR_NO_HEADATTR: "{0}: La modifica degli attributi di Head non è
> supportata",
>      ERR_RED_URL: "{0}: Redirect senza url"
>
> Clemente



Re: Myfaces js translation help

Posted by Clemente Biondo <cl...@gmail.com>.
Ciao,
here comes the italian version.

    /*Messages*/
    MSG_DEV_MODE:           "Questo messaggio è stato inviato esclusivamente
perchè il progetto è in development stage e nessun altro listener è stato
registrato.",
    MSG_AFFECTED_CLASS:     "Classi coinvolte:",
    MSG_AFFECTED_METHOD:    "Metodi coinvolti:",

    MSG_ERROR_NAME:         "Nome dell'errore:",
    MSG_ERROR_MESSAGE:      "Nome dell'errore:",

    MSG_ERROR_DESC:         "Descrizione dell'errore:",
    MSG_ERROR_NO:           "Numero errore:",
    MSG_ERROR_LINENO:       "Numero di riga dell'errore:",

    /*Errors and messages*/
    ERR_FORM:               "Il Sourceform non puo' essere determinato a
causa di una delle seguenti ragioni: l'elemento non e' agganciato ad un form
oppure sono presenti più form con elementi con lo stesso nome, il che blocca
l'elaborazione ajax",
    ERR_VIEWSTATE:          "jsf.viewState: il valore del parametro non è di
tipo form!",
    ERR_TRANSPORT:          "Il transport type {0} non esiste",
    ERR_EVT_PASS:           "è necessario passare un evento (sono accettati
anche gli event object null oppure undefined) ",
    ERR_CONSTRUCT:          "Durante la costruzione dell' event data: {0}
non è stato possibile acquisire alcune parti della response ",
    ERR_MALFORMEDXML:       "Il formato della risposta del server non era
xml, non è stato quindi possibile effettuarne il parsing!",
    ERR_SOURCE_FUNC:        "source non puo' essere una funzione
(probabilmente source and event non erano stati definiti o sono null",
    ERR_EV_OR_UNKNOWN:      "Come secondo parametro bisogna passare un event
object oppure unknown",
    ERR_SOURCE_NOSTR:       "source non può essere una stringa di testo",
    ERR_SOURCE_DEF_NULL:    "source deve essere definito oppure  null",

    //_Lang.js
    ERR_MUST_STRING:        "{0}: {1} namespace deve essere di tipo String",
    ERR_REF_OR_ID:          "{0}: {1} un reference node oppure un
identificatore deve essere fornito",
    ERR_PARAM_GENERIC:      "{0}: il parametro {1} deve essere di tipo {2}",
    ERR_PARAM_STR:          "{0}: {1} parametro deve essere di tipo String",
    ERR_PARAM_STR_RE:       "{0}: {1} parametro deve essere di tipo String
oppure una regular expression",
    ERR_PARAM_MIXMAPS:      "{0}: è necessario specificare sia  source che
destination map",
    ERR_MUST_BE_PROVIDED:   "{0}: è necessario specificare sia {1} che {2}
",
    ERR_MUST_BE_PROVIDED1:  "{0}: {1} deve essere settato",

    ERR_REPLACE_EL:         "replaceElements chiamato metre evalNodes non è
un array",
    ERR_EMPTY_RESPONSE:     "{0}: La response non puo' essere nulla o
vuota!",
    ERR_ITEM_ID_NOTFOUND:   "{0}: non è stato trovato alcun item con
identificativo {1}",
    ERR_PPR_IDREQ:          "{0}: Errore durante la PPR Insert, l' id deve
essere specificato",
    ERR_PPR_INSERTBEFID:    "{0}: Errore durante la PPR Insert, before id o
after id deve essere specificato",
    ERR_PPR_INSERTBEFID_1:  "{0}: Errore durante la PPR Insert, before node
of id {1} non esiste nel document",
    ERR_PPR_INSERTBEFID_2:  "{0}: Errore durante la PPR Insert, after  node
of id {1} non esiste nel in document",

    ERR_PPR_DELID:          "{0}: Errore durante la delete, l'id non e'
nella forma di un markup xml",
    ERR_PPR_UNKNOWNCID:     "{0}:   Html-Component-ID: {1} sconosciuto",
    ERR_NO_VIEWROOTATTR:    "{0}: La modifica degli attributi del ViewRoot
non è supportata",
    ERR_NO_HEADATTR:        "{0}: La modifica degli attributi di Head non è
supportata",
    ERR_RED_URL:            "{0}: Redirect senza url"

Clemente

Re: Myfaces js translation help

Posted by Werner Punz <we...@gmail.com>.
Every language has its own js file under the i18n folder of the 
javascripts, but then is bundled into the central jsf.js I have to do 
this for now because I am not allowed to dynamically link parts of the 
js in.
Theoretically we could load the bundle on demand myfaces js is capable 
of it but the jsf spec forbids it for now.

So to sum it up yes they are moved into their own files 
Messages_DE_de.js for instance or Messages_EN.js etc.
The i18n filters are capable of finding the correct messages and if none 
is given use english as default for the key requested.


Werner



Am 03.02.11 21:36, schrieb Mark Struberg:
> werner, where are these parts kept? directly in js? Are they already moved to own js files? Eg. jsf.msg_de.js, jsf.msg_en.js,... ?
>
> You know, as usual I have no idea about the js side ... ;)
>
> LieGrue,
> strub
>
> --- On Thu, 2/3/11, Werner Punz<we...@gmail.com>  wrote:
>
>> From: Werner Punz<we...@gmail.com>
>> Subject: Myfaces js translation help
>> To: dev@myfaces.apache.org
>> Date: Thursday, February 3, 2011, 6:20 PM
>> Hello everyone I also could need some
>> translation help for as many languages as possible, so here
>> is the deal, translate me please following key value pairs
>> so that I can add them to the myfaces javascripts for the
>> next release:
>>
>> Currently we have english, german and dutch:
>>
>> I could at least need spanish french italian, russian and
>> chinese also would be nice
>>
>>    MSG_TEST:
>>     "Testmessage",
>>
>>      /*Messages*/
>>      MSG_DEV_MODE:
>>     "Note, this message is only sent, because
>> project stage is development and no " +
>>
>>              "other error
>> listeners are registered.",
>>      MSG_AFFECTED_CLASS:
>>     "Affected Class:",
>>      MSG_AFFECTED_METHOD:    "Affected
>> Method:",
>>
>>      MSG_ERROR_NAME:
>>     "Error Name:",
>>      MSG_ERROR_MESSAGE:      "Error
>> Name:",
>>
>>      MSG_ERROR_DESC:
>>     "Error Description:",
>>      MSG_ERROR_NO:
>>     "Error Number:",
>>      MSG_ERROR_LINENO:
>>     "Error Line Number:",
>>
>>      /*Errors and messages*/
>>      ERR_FORM:
>>       "Sourceform could not be
>> determined, either because element is not attached to a form
>> or we have multiple forms with named elements of the same
>> identifier or name, stopping the ajax processing",
>>      ERR_VIEWSTATE:
>>    "jsf.viewState: param value not of type form!",
>>      ERR_TRANSPORT:
>>    "Transport type {0} does not exist",
>>      ERR_EVT_PASS:
>>     "an event must be passed down (either a an
>> event object null or undefined) ",
>>      ERR_CONSTRUCT:
>>    "Parts of the response couldn't be retrieved when
>> constructing the event data: {0} ",
>>      ERR_MALFORMEDXML:
>>     "The server response could not be parsed,
>> the server has returned with a response which is not xml
>> !",
>>      ERR_SOURCE_FUNC:
>> "source cannot be a function (probably source and event were
>> not defined or set to null",
>>      ERR_EV_OR_UNKNOWN:      "An
>> event object or unknown must be passed as second
>> parameter",
>>      ERR_SOURCE_NOSTR:
>>     "source cannot be a string",
>>      ERR_SOURCE_DEF_NULL:    "source
>> must be defined or null",
>>
>>      //_Lang.js
>>      ERR_MUST_STRING:
>> "{0}: {1} namespace must be of type String",
>>      ERR_REF_OR_ID:
>>    "{0}: {1} a reference node or identifier must be
>> provided",
>>      ERR_PARAM_GENERIC:      "{0}:
>> parameter {1} must be of type {2}",
>>      ERR_PARAM_STR:
>>    "{0}: {1} param must be of type string",
>>      ERR_PARAM_STR_RE:
>>     "{0}: {1} param must be of type string or
>> a regular expression",
>>      ERR_PARAM_MIXMAPS:      "{0}:
>> both a source as well as a destination map must be
>> provided",
>>      ERR_MUST_BE_PROVIDED:   "{0}:
>> an {1} and a {2} must be provided",
>>      ERR_MUST_BE_PROVIDED1:  "{0}: {1} must
>> be set",
>>
>>      ERR_REPLACE_EL:
>>     "replaceElements called while evalNodes is
>> not an array",
>>      ERR_EMPTY_RESPONSE:
>>     "{0}: The response cannot be null or
>> empty!",
>>      ERR_ITEM_ID_NOTFOUND:   "{0}:
>> item with identifier {1} could not be found",
>>      ERR_PPR_IDREQ:
>>    "{0}: Error in PPR Insert, id must be present",
>>      ERR_PPR_INSERTBEFID:    "{0}: Error
>> in PPR Insert, before id or after id must be present",
>>      ERR_PPR_INSERTBEFID_1:  "{0}: Error in
>> PPR Insert, before  node of id {1} does not exist in
>> document",
>>      ERR_PPR_INSERTBEFID_2:  "{0}: Error in
>> PPR Insert, after  node of id {1} does not exist in
>> document",
>>
>>      ERR_PPR_DELID:
>>    "{0}: Error in delete, id not in xml markup",
>>      ERR_PPR_UNKNOWNCID:
>>     "{0}:  Unknown Html-Component-ID:
>> {1}",
>>      ERR_NO_VIEWROOTATTR:    "{0}:
>> Changing of ViewRoot attributes is not supported",
>>      ERR_NO_HEADATTR:
>> "{0}: Changing of Head attributes is not supported",
>>      ERR_RED_URL:
>>      "{0}: Redirect without url"
>>
>>
>>
>>
>>
>
>
>
>



Re: Myfaces js translation help

Posted by Mark Struberg <st...@yahoo.de>.
werner, where are these parts kept? directly in js? Are they already moved to own js files? Eg. jsf.msg_de.js, jsf.msg_en.js,... ?

You know, as usual I have no idea about the js side ... ;)

LieGrue,
strub

--- On Thu, 2/3/11, Werner Punz <we...@gmail.com> wrote:

> From: Werner Punz <we...@gmail.com>
> Subject: Myfaces js translation help
> To: dev@myfaces.apache.org
> Date: Thursday, February 3, 2011, 6:20 PM
> Hello everyone I also could need some
> translation help for as many languages as possible, so here
> is the deal, translate me please following key value pairs
> so that I can add them to the myfaces javascripts for the
> next release:
> 
> Currently we have english, german and dutch:
> 
> I could at least need spanish french italian, russian and
> chinese also would be nice
> 
>   MSG_TEST:           
>    "Testmessage",
> 
>     /*Messages*/
>     MSG_DEV_MODE:       
>    "Note, this message is only sent, because
> project stage is development and no " +
>                
>             "other error
> listeners are registered.",
>     MSG_AFFECTED_CLASS: 
>    "Affected Class:",
>     MSG_AFFECTED_METHOD:    "Affected
> Method:",
> 
>     MSG_ERROR_NAME:     
>    "Error Name:",
>     MSG_ERROR_MESSAGE:      "Error
> Name:",
> 
>     MSG_ERROR_DESC:     
>    "Error Description:",
>     MSG_ERROR_NO:       
>    "Error Number:",
>     MSG_ERROR_LINENO:   
>    "Error Line Number:",
> 
>     /*Errors and messages*/
>     ERR_FORM:         
>      "Sourceform could not be
> determined, either because element is not attached to a form
> or we have multiple forms with named elements of the same
> identifier or name, stopping the ajax processing",
>     ERR_VIEWSTATE:       
>   "jsf.viewState: param value not of type form!",
>     ERR_TRANSPORT:       
>   "Transport type {0} does not exist",
>     ERR_EVT_PASS:       
>    "an event must be passed down (either a an
> event object null or undefined) ",
>     ERR_CONSTRUCT:       
>   "Parts of the response couldn't be retrieved when
> constructing the event data: {0} ",
>     ERR_MALFORMEDXML:   
>    "The server response could not be parsed,
> the server has returned with a response which is not xml
> !",
>     ERR_SOURCE_FUNC:       
> "source cannot be a function (probably source and event were
> not defined or set to null",
>     ERR_EV_OR_UNKNOWN:      "An
> event object or unknown must be passed as second
> parameter",
>     ERR_SOURCE_NOSTR:   
>    "source cannot be a string",
>     ERR_SOURCE_DEF_NULL:    "source
> must be defined or null",
> 
>     //_Lang.js
>     ERR_MUST_STRING:       
> "{0}: {1} namespace must be of type String",
>     ERR_REF_OR_ID:       
>   "{0}: {1} a reference node or identifier must be
> provided",
>     ERR_PARAM_GENERIC:      "{0}:
> parameter {1} must be of type {2}",
>     ERR_PARAM_STR:       
>   "{0}: {1} param must be of type string",
>     ERR_PARAM_STR_RE:   
>    "{0}: {1} param must be of type string or
> a regular expression",
>     ERR_PARAM_MIXMAPS:      "{0}:
> both a source as well as a destination map must be
> provided",
>     ERR_MUST_BE_PROVIDED:   "{0}:
> an {1} and a {2} must be provided",
>     ERR_MUST_BE_PROVIDED1:  "{0}: {1} must
> be set",
> 
>     ERR_REPLACE_EL:     
>    "replaceElements called while evalNodes is
> not an array",
>     ERR_EMPTY_RESPONSE: 
>    "{0}: The response cannot be null or
> empty!",
>     ERR_ITEM_ID_NOTFOUND:   "{0}:
> item with identifier {1} could not be found",
>     ERR_PPR_IDREQ:       
>   "{0}: Error in PPR Insert, id must be present",
>     ERR_PPR_INSERTBEFID:    "{0}: Error
> in PPR Insert, before id or after id must be present",
>     ERR_PPR_INSERTBEFID_1:  "{0}: Error in
> PPR Insert, before  node of id {1} does not exist in
> document",
>     ERR_PPR_INSERTBEFID_2:  "{0}: Error in
> PPR Insert, after  node of id {1} does not exist in
> document",
> 
>     ERR_PPR_DELID:       
>   "{0}: Error in delete, id not in xml markup",
>     ERR_PPR_UNKNOWNCID: 
>    "{0}:  Unknown Html-Component-ID:
> {1}",
>     ERR_NO_VIEWROOTATTR:    "{0}:
> Changing of ViewRoot attributes is not supported",
>     ERR_NO_HEADATTR:       
> "{0}: Changing of Head attributes is not supported",
>     ERR_RED_URL:       
>     "{0}: Redirect without url"
> 
> 
> 
> 
>