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.000000000 +0200
+++ src/frontends/qt4/ui/BranchesUi.ui	2011-10-06 09:41:23.000000000 +0200
@@ -22,7 +22,7 @@
    <item row="0" column="0" >
     <widget class="QLabel" name="newBranchLA" >
      <property name="text" >
-      <string>&amp;New:</string>
+      <string>&amp;New:[[branch]]</string>
      </property>
      <property name="buddy" >
       <cstring>newBranchLE</cstring>
--- src/frontends/qt4/ui_IndicesUi.h.orig	2011-10-06 09:40:13.000000000 +0200
+++ src/frontends/qt4/ui_IndicesUi.h	2011-10-06 09:43:18.000000000 +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

Reply via email to