diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2015-01-13 08:08:22 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2015-01-13 08:08:22 +0000 |
| commit | 4baba7f3f85ba6a2d6811750ff93e5f29a397e84 (patch) | |
| tree | c8398d195d28f2194f5de81be4f8b6deb7994bd6 /src | |
| parent | Fixing build error on Ubuntu (GThread error due to include ordering). (diff) | |
| download | inkscape-4baba7f3f85ba6a2d6811750ff93e5f29a397e84.tar.gz inkscape-4baba7f3f85ba6a2d6811750ff93e5f29a397e84.zip | |
i18n. String handling improvement and memory leak fix.
Translations. Translations template and French translation update.
(bzr r13850)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/lpe-fillet-chamfer-properties.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ui/dialog/lpe-fillet-chamfer-properties.cpp b/src/ui/dialog/lpe-fillet-chamfer-properties.cpp index 23b6f0458..b318933a7 100644 --- a/src/ui/dialog/lpe-fillet-chamfer-properties.cpp +++ b/src/ui/dialog/lpe-fillet-chamfer-properties.cpp @@ -207,12 +207,12 @@ void FilletChamferPropertiesDialog::_handleButtonEvent(GdkEventButton *event) void FilletChamferPropertiesDialog::_set_knot_point(Geom::Point knotpoint) { double position; - std::string distance_or_radius = std::string(_("Radius ")); + std::string distance_or_radius = std::string(_("Radius")); if(aprox){ - distance_or_radius = std::string(_("Radius approximated ")); + distance_or_radius = std::string(_("Radius approximated")); } if(use_distance){ - distance_or_radius = std::string(_("Knot distance ")); + distance_or_radius = std::string(_("Knot distance")); } if (knotpoint.x() > 0) { double intpart; @@ -222,8 +222,7 @@ void FilletChamferPropertiesDialog::_set_knot_point(Geom::Point knotpoint) _fillet_chamfer_position_label.set_label(_("Position (%):")); } else { _flexible = false; - std::string posConcat = distance_or_radius + - std::string(g_strdup_printf(_("(%s):"), unit)); + std::string posConcat = Glib::ustring::compose (_("%1 (%2):"), distance_or_radius, unit); _fillet_chamfer_position_label.set_label(_(posConcat.c_str())); position = knotpoint[Geom::X] * -1; |
