On Fri, Apr 26, 2002 at 04:43:26PM +0200, [EMAIL PROTECTED] wrote:

> Sorry to send many similar messages.

No problem.

> - in Insert->Lists->Bibtex, the two Browse buttons open dialogs
>       with untranslated titles "Select Database" and "Select BibTeX-Style"
>       (not in .po)
> 
> - in Insert->Graphics, tab File, the Origin options gives untranslated
>       choices "center", "leftTop", ... However the strings are in .po

Patch attached (probably)

> - the inset labels for float:algorithm, float:figure and float:table,
>       the word float is translated, but not the other ones
>        (all other inset labels are translatable)
> 
> - in Layout->Character, all the language names are left untranslated,
>       but they are translated in .po,
>       idem in Layout->Document, tab Language
>       and in Edit->Preferences, tab Language->Language
> 
> - in Layout->Document, tab Extra, the "default" and "none" in "PS Driver"
>       are left as is

Don't know what to do about these, they are tied into code !

john


-- 
"I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt."
        - Herb Sutter
Index: src/frontends/xforms/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.359
diff -u -r1.359 ChangeLog
--- src/frontends/xforms/ChangeLog      26 Apr 2002 10:26:35 -0000      1.359
+++ src/frontends/xforms/ChangeLog      26 Apr 2002 15:01:07 -0000
@@ -1,3 +1,12 @@
+2002-04-26  John Levon  <[EMAIL PROTECTED]>
+
+       * FormGraphics.C:
+       * FormBibtex.C: a little more translation
+ 
+2002-04-26  John Levon  <[EMAIL PROTECTED]>
+
+       * FormMathsPanel.C: translate Close
+ 
 2002-04-22  Angus Leeming  <[EMAIL PROTECTED]>
 
        * FormCitation.C (apply, input): ensure that the choice is always valid.
Index: src/frontends/xforms/FormBibtex.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormBibtex.C,v
retrieving revision 1.30
diff -u -r1.30 FormBibtex.C
--- src/frontends/xforms/FormBibtex.C   23 Apr 2002 10:52:57 -0000      1.30
+++ src/frontends/xforms/FormBibtex.C   26 Apr 2002 15:01:07 -0000
@@ -80,8 +80,8 @@
                string const in_name = fl_get_input(dialog_->input_database);
                string out_name =
                        controller().Browse("",
-                                           "Select Database",
-                                           "*.bib| BibTeX Databases (*.bib)");
+                                           _("Select Database"),
+                                           _("*.bib| BibTeX Databases (*.bib)"));
                if (!out_name.empty()) {
                        // add the database to any existing ones
                        if (!in_name.empty())
@@ -97,8 +97,8 @@
                string const in_name = fl_get_input(dialog_->input_style);
                string out_name =
                        controller().Browse(in_name,
-                                           "Select BibTeX-Style",
-                                           "*.bst| BibTeX Styles (*.bst)");
+                                           _("Select BibTeX-Style"),
+                                           _("*.bst| BibTeX Styles (*.bst)"));
                if (!out_name.empty()) {
                        fl_freeze_form(form());
                        fl_set_input(dialog_->input_style, out_name.c_str());
Index: src/frontends/xforms/FormGraphics.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormGraphics.C,v
retrieving revision 1.69
diff -u -r1.69 FormGraphics.C
--- src/frontends/xforms/FormGraphics.C 11 Apr 2002 18:39:17 -0000      1.69
+++ src/frontends/xforms/FormGraphics.C 26 Apr 2002 15:01:08 -0000
@@ -95,10 +95,10 @@
        setPrehandler(file_->input_rotate_angle);
 
        string const choice_origin =
-               "center|"                                       // c
+               _("center|"                                     // c
                "leftTop|leftBottom|leftBaseline|"              // lt lb lB
                "centerTop|centerBottom|centerBaseline|"        // ct cb cB
-               "rightTop|rightBottom|rightBaseline";   // rt rb rB
+               "rightTop|rightBottom|rightBaseline");  // rt rb rB
        fl_addto_choice(file_->choice_origin, choice_origin.c_str());
 
        bc().addReadOnly(file_->button_browse);

Reply via email to