[gnome-control-center] datetime: Ensure that translated strings for timezones are UTF-8
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] datetime: Ensure that translated strings for timezones are UTF-8
- Date: Tue, 20 Aug 2013 12:52:53 +0000 (UTC)
commit 19d3e96d6a940d27da33f27021ba76676a6246b9
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Aug 20 03:04:11 2013 +0100
datetime: Ensure that translated strings for timezones are UTF-8
This was fixed in commit 2c4bba74e07405205b22c684b3822d13aa429ea7 but
then got lost in a code refactor in commit
3686cf7eb8528b19597945e2c19ba0f619ef42f6.
https://bugzilla.gnome.org/show_bug.cgi?id=706350
panels/datetime/cc-datetime-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index 533b63b..763b57e 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -174,6 +174,8 @@ cc_date_time_panel_class_init (CcDateTimePanelClass *klass)
panel_class->get_permission = cc_date_time_panel_get_permission;
panel_class->get_help_uri = cc_date_time_panel_get_help_uri;
+
+ bind_textdomain_codeset (GETTEXT_PACKAGE_TIMEZONES, "UTF-8");
}
static void clock_settings_changed_cb (GSettings *settings,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]