diff options
| author | Marcin Floryan <mfloryan@mm.waw.pl> | 2008-03-26 15:52:30 +0000 |
|---|---|---|
| committer | mfloryan <mfloryan@users.sourceforge.net> | 2008-03-26 15:52:30 +0000 |
| commit | 44486114954ee7a3b5d75bd43fdddc395f00efdb (patch) | |
| tree | 04fa708f6e60015007f230c1b029a5a2412d332e /src/extension/paramenum.cpp | |
| parent | remove the inkscape-shadow hack as no longer needed (diff) | |
| download | inkscape-44486114954ee7a3b5d75bd43fdddc395f00efdb.tar.gz inkscape-44486114954ee7a3b5d75bd43fdddc395f00efdb.zip | |
Fixing localization issues (following a patch for 0.46 rev. 17583) where some messages for internal extensions were not being used as translated.
(bzr r5197)
Diffstat (limited to '')
| -rw-r--r-- | src/extension/paramenum.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extension/paramenum.cpp b/src/extension/paramenum.cpp index 199512e0e..336b4fd66 100644 --- a/src/extension/paramenum.cpp +++ b/src/extension/paramenum.cpp @@ -77,6 +77,8 @@ ParamComboBox::ParamComboBox (const gchar * name, const gchar * guitext, const g const char * contents = sp_repr_children(child_repr)->content(); if (contents != NULL) // don't translate when 'item' but do translate when '_item' + // NOTE: internal extensions use build_from_mem and don't need _item but + // still need to include if are to be localized newguitext = new Glib::ustring( !strcmp(chname, "_item") ? _(contents) : contents ); else continue; |
