Commit Graph
25 Commits
Author SHA1 Message Date
Dz Chen 975697728e Add Chinese (China) translation 2020-04-18 10:36:24 +00:00
Yuri Chornoivan a2789c9dba Add Ukrainian translation 2020-04-06 16:50:41 +00:00
Asier Sarasua Garmendia 34e4a4f483 Add Basque translation 2019-10-18 08:00:51 +00:00
Bruce Cowan b927b5fac2 Add British English translation 2019-03-16 11:47:15 +00:00
Nathan Follens 53844aa0ff Add Dutch translation 2019-03-10 12:54:18 +00:00
Ask Hjorth Larsen 4dc6034de8 Add Danish translation 2019-02-24 17:46:33 +00:00
Alexandre Franke 3e555c64d9 Add French translation 2018-10-29 12:54:45 +00:00
Dušan Kazik 4692be663e Add Slovak translation 2018-10-28 15:31:17 +00:00
Adolfo Jayme Barrientos 6ea3fc918b Add Catalan translation 2018-09-24 07:52:18 +00:00
Marek Černocký 3563a964ef Add Czech translation 2018-09-15 05:15:51 +00:00
Rūdolfs Mazurs a681b2c944 Add Latvian translation 2018-09-10 17:34:18 +00:00
gogo 0476b67b2f Add Croatian translation 2018-09-06 18:29:14 +00:00
Balázs Meskó 2751a828e0 Add Hungarian translation 2018-09-05 22:09:46 +00:00
Fabio Tomat 60e09c0dd7 Add Friulian translation 2018-09-04 18:18:27 +00:00
Milo Casagrande a23297e56a Add Italian translation 2018-09-03 13:42:38 +00:00
Anders Jonsson 2e527250de Add Swedish translation 2018-09-02 23:35:41 +00:00
Rafael Fontenelle db98e3b722 Add Brazilian Portuguese translation 2018-09-01 13:29:55 +00:00
Seong-ho Cho 36f169635a Add Korean translation 2018-08-31 00:56:44 +00:00
Kukuh Syafaat ded0224f51 Add Indonesian translation 2018-08-30 10:43:20 +00:00
Fran Dieguez 0060a634d2 Add Galician translation 2018-08-30 08:45:45 +00:00
Mario Blättermann 6b6c390cb8 Add German translation 2018-08-15 17:19:11 +00:00
Emin Tufan Çetin 73929f2d25 Add Turkish translation 2018-08-12 11:05:29 +00:00
Piotr Drąg 1bd6efc0c1 Add Polish translation 2018-08-11 16:43:15 +00:00
Jiri Grönroos 936960269d Add Finnish translation 2018-08-11 14:10:14 +00:00
Daniel García Moreno bea4915317 Translation support and initial spanish translation
Added translation support based on the Fractal i18n. To do this I've
added the gettext-rs crate dep. I'm using my own fork because the
official gettext-rs release includes the gettext source files and that
increase the distribution package a lot and for distribution with
flatkap we don't need to build gettext, the lib is in the gnome sdk. So
this gettext-rs fork is the same, but removing the not needed gettext
source files.

The i18n.rs file adds some useful functions to translate strings. These
functions wraps the original gettext and adds more functionality, to be
able to translate compound strings, something that's not supported by
the gettext function.

The 'i18n' function works like the gettext, receives a plain string
without params.

The 'i18n_f' function receives a string with "{}" and a ref to an array
of &str with substitutions for the "{}" in the original string. The
substitution is done by order.

The 'i18n_k' function receives a string with "{named}" and a ref to an
array of (&str, &str) with substitutions for the "{named}" in the
original string. The substitution is done by name, where the first &str
in the tuple is the name and the second the string to use for the
replace.

This mod also include ni18n variants of the three functions for plural
and singular translations.

I've also created the spanish translation.

See #61

https://gitlab.gnome.org/World/podcasts/issues/61
2018-08-02 15:24:19 +02:00