Projects
home:Eustace:branches:Eulaceura:Factory
gnome-control-center
_service:obs_scm:gnome-control-center-remove-co...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:gnome-control-center-remove-country-in-the-name-of-timezone.patch of Package gnome-control-center
diff --git a/panels/datetime/backward b/panels/datetime/backward index 8594be6..3fe71fc 100644 --- a/panels/datetime/backward +++ b/panels/datetime/backward @@ -35,7 +35,6 @@ Link Asia/Dhaka Asia/Dacca Link Asia/Shanghai Asia/Harbin Link Asia/Urumqi Asia/Kashgar Link Asia/Kathmandu Asia/Katmandu -Link Asia/Macau Asia/Macao Link Asia/Yangon Asia/Rangoon Link Asia/Ho_Chi_Minh Asia/Saigon Link Asia/Jerusalem Asia/Tel_Aviv @@ -125,4 +124,4 @@ Link Pacific/Pago_Pago US/Samoa Link Etc/UTC UTC Link Etc/UTC Universal Link Europe/Moscow W-SU -Link Etc/UTC Zulu \ No newline at end of file +Link Etc/UTC Zulu diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c index c1e6aaa..f562556 100644 --- a/panels/datetime/cc-datetime-panel.c +++ b/panels/datetime/cc-datetime-panel.c @@ -405,7 +405,6 @@ translated_city_name (TzLocation *loc) { g_autofree gchar *zone_translated = NULL; g_auto(GStrv) split_translated = NULL; - g_autofree gchar *country = NULL; gchar *name; gint length; @@ -418,11 +417,9 @@ translated_city_name (TzLocation *loc) length = g_strv_length (split_translated); - country = gnome_get_country_from_code (loc->country, NULL); - /* Translators: "city, country" */ - name = g_strdup_printf (C_("timezone loc", "%s, %s"), - split_translated[length-1], - country); + /* Translators: "city" */ + name = g_strdup_printf (C_("timezone loc", "%s"), + split_translated[length-1]); return name; } diff --git a/panels/datetime/po-timezones/zh_CN.po b/panels/datetime/po-timezones/zh_CN.po index 38b053f..6bd84e9 100644 --- a/panels/datetime/po-timezones/zh_CN.po +++ b/panels/datetime/po-timezones/zh_CN.po @@ -1755,10 +1755,6 @@ msgstr "亚洲/科威特" msgid "Asia/Macao" msgstr "亚洲/澳门" -#: timezones.h:530 -msgid "Asia/Macau" -msgstr "亚洲/澳门" - #: timezones.h:531 msgid "Asia/Magadan" msgstr "亚洲/马加丹"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2