I will comment 1) only. In this specific case, this would be IMHO desirable, as "top", "bottom" etc will not be translated (they're HTML attribute values, if I understand correctly).
In the general case, this would work for Slovak. But be sure to give context id to the variable values (i.e. "htmlattr|top", "htmlattr|bottom"). In our case, this is because the word used in a specific place in one sentence (context) _may_ have a different grammatical case than in another sentence (context) but all from the same context will have the same grammatical case. Context will need to be specified in the comment to msgid containing the sentence with the variable. Moreover, I don't know if it would save any effort to those who use translation memory. I don't so I can't tell. This should be considered. On Dec 2, 2007 9:11 PM, Thomas Thurman <[EMAIL PROTECTED]> wrote: > I note that, for example, in metacity we have lines like this: > > #: ../src/theme-parser.c:1540 > #, c-format > msgid "No \"top\" attribute on element <%s>" > msgstr "" > > #: ../src/theme-parser.c:1547 > #, c-format > msgid "No \"bottom\" attribute on element <%s>" > msgstr "" > > #: ../src/theme-parser.c:1554 > #, c-format > msgid "No \"left\" attribute on element <%s>" > msgstr "" > > #: ../src/theme-parser.c:1561 > #, c-format > msgid "No \"right\" attribute on element <%s>" > msgstr "" > > Now, "top", "bottom', etc. are keywords and so can't be changed. I > could quite easily change this so that it said > > msgid "No \"%s\" attribute on element <%s>" > > thus eliminating three msgids. There are very many such cases, not > only in metacity. > > So: > > 1) It would have saved trouble had the system been designed like this > originally, wouldn't it? > > 2) If so, should we change existing lines so that they work this way, > given that they will both cause existing translations to vanish but > also reduce the msgid count in translation files? > > 3) If so, should we have some kind of GNOME Goal to identify and > eliminate such lines? > > T > _______________________________________________ > gnome-i18n mailing list > gnome-i18n@gnome.org > http://mail.gnome.org/mailman/listinfo/gnome-i18n > _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n