Re: Discrimination of New in po files
Jean-Pierre Chrétien jeanpierre.chretien at free.fr writes: Here is a patch implementing this (not tested). Could you commit and regenerate the po files ? I forgot to mention that the patch is for branch. -- Jean-Pïerre
Re: Discrimination of "New" in po files
Jean-Pierre Chrétien free.fr> writes: > > Here is a patch implementing this (not tested). > Could you commit and regenerate the po files ? I forgot to mention that the patch is for branch. -- Jean-Pïerre
Discrimination of New in po files
Hello, The string New appears in po files both for branches and indexes. In French, the gender of the translation differs, so I need à [[...]] marker to be able to distinguish the two occurrences of the string. Here is a patch implementing this (not tested). Could you commit and regenerate the po files ? TIA Jean-Pierre --- src/frontends/qt4/ui/BranchesUi.ui.orig 2011-10-06 09:39:56.0 +0200 +++ src/frontends/qt4/ui/BranchesUi.ui 2011-10-06 09:41:23.0 +0200 @@ -22,7 +22,7 @@ item row=0 column=0 widget class=QLabel name=newBranchLA property name=text - stringamp;New:/string + stringamp;New:[[branch]]/string /property property name=buddy cstringnewBranchLE/cstring --- src/frontends/qt4/ui_IndicesUi.h.orig 2011-10-06 09:40:13.0 +0200 +++ src/frontends/qt4/ui_IndicesUi.h 2011-10-06 09:43:18.0 +0200 @@ -202,7 +202,7 @@ multipleIndicesCB-setToolTip(lyx::qt_(Check if you need multiple indexes (e.g., an Index of Names), 0)); #endif // QT_NO_TOOLTIP multipleIndicesCB-setText(lyx::qt_(Use multiple indexes, 0)); -newIndexLA-setText(lyx::qt_(New:, 0)); +newIndexLA-setText(lyx::qt_(New:[[index]], 0)); #ifndef QT_NO_TOOLTIP newIndexLE-setToolTip(lyx::qt_(Enter the name of the desired index (e.g. \Index of Names\) and hit \Add\, 0)); #endif // QT_NO_TOOLTIP
Discrimination of "New" in po files
Hello, The string "New" appears in po files both for branches and indexes. In French, the gender of the translation differs, so I need à [[...]] marker to be able to distinguish the two occurrences of the string. Here is a patch implementing this (not tested). Could you commit and regenerate the po files ? TIA Jean-Pierre --- src/frontends/qt4/ui/BranchesUi.ui.orig 2011-10-06 09:39:56.0 +0200 +++ src/frontends/qt4/ui/BranchesUi.ui 2011-10-06 09:41:23.0 +0200 @@ -22,7 +22,7 @@ - New: + New:[[branch]] newBranchLE --- src/frontends/qt4/ui_IndicesUi.h.orig 2011-10-06 09:40:13.0 +0200 +++ src/frontends/qt4/ui_IndicesUi.h 2011-10-06 09:43:18.0 +0200 @@ -202,7 +202,7 @@ multipleIndicesCB->setToolTip(lyx::qt_("Check if you need multiple indexes (e.g., an Index of Names)", 0)); #endif // QT_NO_TOOLTIP multipleIndicesCB->setText(lyx::qt_(" multiple indexes", 0)); -newIndexLA->setText(lyx::qt_(":", 0)); +newIndexLA->setText(lyx::qt_(":[[index]]", 0)); #ifndef QT_NO_TOOLTIP newIndexLE->setToolTip(lyx::qt_("Enter the name of the desired index (e.g. \"Index of Names\") and hit \"Add\"", 0)); #endif // QT_NO_TOOLTIP