Commit Graph

17996 Commits

Author SHA1 Message Date
Philip Withnall
c4f58e362e tests: Skip the gdatetime month names test when running uninstalled
It needs the translations to be installed. See the comment added to the
code.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=794180
2018-03-12 19:24:15 +00:00
Philip Withnall
36af567045 tests: Ensure gettext strings are loaded in UTF-8 in gdatetime.c
See the previous commit. By convention, GLib assumes strings loaded from
gettext are always in UTF-8, but we do need to tell gettext this. In
most other tests, it doesn’t matter; but in the gdatetime test, we test
re-encoding month names from EUC-JP, so we need to ensure the
translations start in UTF-8 correctly.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793578
2018-03-12 19:22:13 +00:00
Philip Withnall
12f11090dc gdatetime: Fix locale handling for nl_langinfo() calls
With the various macros we use to provide fallbacks for missing
nl_langinfo() fields, the locale handling can become quite complex:
nl_langinfo() returns strings encoded in the current locale, but C_()
returns strings encoded in UTF-8 (by GLib convention — you do actually
need to call bind_textdomain_codeset() to achieve this).

There are various format specifiers, especially with the new %Ob, %OB,
%Oh specifiers, which conditionally call nl_langinfo() or something
based on C_(). This makes encoding handling difficult.

Add additional macros which indicate whether the macros they’re paired
with return something encoded in the current locale, or encoded in
UTF-8. The user of the macro can then use these to work out whether to
re-encode.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793578
2018-03-12 19:22:13 +00:00
Mart Raudsepp
f59c379c7a Update Estonian translation 2018-03-12 16:25:24 +00:00
Justin van Steijn
7c1e2b7cef Update Dutch translation 2018-03-10 15:46:55 +00:00
Emin Tufan Çetin
5d93dd63e8 Update Turkish translation 2018-03-08 12:42:22 +00:00
Aurimas Černius
76f770ad98 More corrections in Lithuanian date formats 2018-03-05 22:57:16 +02:00
Aurimas Černius
8b89331d5a Updated Lithuanian translation 2018-03-05 22:48:26 +02:00
Dr. Michael Lauer
cc50c19544 configure.ac: link to AppKit on macOS.
This is actually only necessary for gio, not for the other libraries.

https://bugzilla.gnome.org/show_bug.cgi?id=793565
2018-03-05 16:48:07 +00:00
Piotr Drąg
b03c37cf3b Sync abbreviated month names in Greek translation with CLDR
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-05 17:13:51 +01:00
Piotr Drąg
0040ba008b Add month names with day to Chinese (Taiwan) translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
20d8cb3374 Add month names with day to Chinese (Hong Kong) translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
a998018b5f Add month names with day to Chinese (Simplified) translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
58e00dd89e Add month names with day to Vietnamese translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
24f2398c60 Add month names with day to Ukrainian translation
Ukrainian uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
e663b246c9 Add month names with day to Uyghur translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
05b7d38a57 Add month names with day to Turkish translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
ca7c43e54d Add month names with day to Thai translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
b9c332888a Add month names with day to Tajik translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
44a96b6462 Add month names with day to Telugu translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
c5123298b3 Add month names with day to Tamil translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
360bf29202 Add month names with day to Slovenian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
1144cfcd75 Add month names with day to Slovak translation
Slovak uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
5f865be08b Add month names with day to Russian translation
Russian uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
45c3e87d63 Add month names with day to Romanian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
6a06647a03 Add month names with day to Portuguese translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
6e26ac68a0 Add month names with day to Punjabi translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
99c9feb4c1 Add month names with day to Odia translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
7dc3c8f9dc Add month names with day to Occitan translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
d5933a40af Add month names with day to Nepali translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
a4e950a12f Add month names with day to Norwegian bokmål translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
de92a63807 Add month names with day to Marathi translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
eea69910f5 Add month names with day to Malayalam translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
94eb23d8d0 Add month names with day to Kannada translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
09d371e880 Add month names with day to Japanese translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
bfdc5b7ec5 Add month names with day to Icelandic translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
01596ae8bd Add month names with day to Croatian translation
Croatian uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
098c00f23a Add month names with day to Hindi translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
bdecf974fe Add month names with day to Hebrew translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
dc6d504061 Add month names with day to Gujarati translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
9aee2f4e04 Add month names with day to Scottish Gaelic translation
Scottish Gaelic uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
1d4e8f5342 Add month names with day to Irish translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
5d83103dc3 Add month names with day to Friulian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
dc45e88c08 Add month names with day to Persian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
bda8b1abe4 Add month names with day to Basque translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
7f1b023578 Add month names with day to Estonian translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
fac607dd7e Add month names with day to Esperanto translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
ec9a7dcc54 Add month names with day to English (Canadian) translation
https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
53c0f9a24c Add month names with day to Greek translation
Greek uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00
Piotr Drąg
ee85287d09 Add month names with day to Catalan (Valencian) translation
Catalan uses genitive for month names with day.

https://bugzilla.gnome.org/show_bug.cgi?id=793645
2018-03-04 16:19:53 +01:00