Commit Graph

25 Commits

Author SHA1 Message Date
Jordan Petridis
569c00ff5f
Allow for parallel development instance
This adds a configuration option in meson, if set it changes the
application ID allowing for stable and development version to be
run at the same time.
2018-08-28 17:22:13 +03:00
Jordan Petridis
0ae1eb9578
build: Translate desktop and appdata files 2018-08-28 17:22:13 +03:00
Jordan Petridis
4ef789e7b9
Meson: Fix build_always deprication warning
build_always has been replaced by build_always_stale and
build_by_default is assumed now.

https://mesonbuild.com/Reference-manual.html#custom_target
2018-08-26 12:38:36 +03: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
Jordan Petridis
4c8cc9e823
Version bump. 2018-07-31 00:31:44 +03:00
Jordan Petridis
88ea081661
Version bump. 2018-07-28 00:12:08 +03:00
Jordan Petridis
39ff238716
Version bump. 2018-07-27 20:21:28 +03:00
Jordan Petridis
b03ff46767
Version bump. 2018-07-26 08:33:45 +03:00
Jordan Petridis
04c68ba013
Initial massive renaming. 2018-07-25 03:26:35 +03:00
Zander Brown
a69254612c
Install as a DBus service 2018-07-15 22:20:31 +03:00
Jordan Petridis
2b6cca6bab
Version bump. 2018-07-04 17:26:56 +03:00
Jordan Petridis
74f8e744ac
Version bump. 2018-05-20 17:47:33 +03:00
Jordan Petridis
c4e6fcc451
Version bump. 2018-05-19 13:11:02 +03:00
Jordan Petridis
f06dbd0562
Version bump. 2018-05-07 19:48:21 +03:00
Jordan Petridis
89ee174ded
Version bump. 2018-03-28 14:48:43 +03:00
Jordan Petridis
b6a71688c0
Version bump to 0.3 2018-02-11 22:57:37 +02:00
Jordan Petridis
1888539a97
Rename assets folder to screenshots, and improve the build system. 2018-02-04 01:34:34 +02:00
Jordan Petridis
817d5d9cf7
Fix meson config to build each time. 2018-01-29 18:17:02 +02:00
Jordan Petridis
13e47e9b4e
Version bump. 2017-11-28 10:46:03 +02:00
Jordan Petridis
ab002ebcd7
Kinda have copied the whole Contributing file from gnome-TODO. 2017-11-13 19:28:22 +02:00
Jordan Petridis
e3f0263dc0
Added appdata.xml and moved .desktop into hammond-gtk/resources. 2017-11-13 17:34:16 +02:00
Jordan Petridis
b39f635cf5
Updated readme. 2017-11-11 14:39:03 +02:00
Jordan Petridis
021f616aef
Added make release option. 2017-11-11 14:30:29 +02:00
Jordan Petridis
1199c9aa81
Now building with meson. 2017-11-11 13:29:11 +02:00
Jordan Petridis
bc6da31178
Initial meson build. 2017-11-10 17:53:09 +02:00