diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2010-11-02 17:54:12 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2010-11-02 17:54:12 +0000 |
| commit | a000146744138ebc0cc04d2aa0565e1490fe6274 (patch) | |
| tree | be307be3b302dfd8c384f2b8e82f583aa4bb2543 /src | |
| parent | i18n. Color palette items are now translatable (see Bug #667402, Color palett... (diff) | |
| download | inkscape-a000146744138ebc0cc04d2aa0565e1490fe6274.tar.gz inkscape-a000146744138ebc0cc04d2aa0565e1490fe6274.zip | |
i18n. Palettes translation with context (see Bug #667402, Colour palettes not translatable).
(bzr r9871)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/swatches.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/swatches.cpp b/src/ui/dialog/swatches.cpp index 1747556ee..728bed274 100644 --- a/src/ui/dialog/swatches.cpp +++ b/src/ui/dialog/swatches.cpp @@ -436,7 +436,7 @@ void _loadPaletteFile( gchar const *filename ) if ( !hasErr && *ptr ) { char* n = trim(ptr); if (n != NULL) { - name = _(n); + name = g_dpgettext2(NULL, "Palette", n); } } if ( !hasErr ) { |
