Commit Graph

1289 Commits

Author SHA1 Message Date
Jordan Petridis
10fc1d4a2a
Gitlab: Add merge request template 2018-08-09 10:23:34 +03:00
Jordan Petridis
4fa973007d
App: Make sure to quit on delete event.
Since 9a76c6428a I've noticed
the applciation does not quit properly, and then it's unable
to be launched again till it's killed manually.

This patch is an attept to correct/workaroud that by calling
explcitly gio::ApplicationExt::quit().
2018-08-06 01:01:21 +03:00
Jordan Petridis
c27f5ec02e Merge branch 'readme_improvements' into 'master'
Fix some typos in README.md

See merge request World/podcasts!47
2018-08-05 08:57:26 +00:00
Matthew
5d6cf3d17d
Fix some typos in README.md 2018-08-05 11:32:42 +03:00
Jordan Petridis
f6c7731377
Fix Rust 2018 edition warnings 2018-08-05 11:24:20 +03:00
Jordan Petridis
bcd739da76 Merge branch 'i18n' into 'master'
Translation support and initial spanish translation

See merge request World/podcasts!46
2018-08-02 14:54:41 +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
Jordan Petridis
f695ba4605
cargo fmt 2018-08-02 07:10:22 +03:00
Jordan Petridis
24983ba3af Readme.md: Improve wording and formatting 2018-08-02 02:44:29 +00:00
Jordan Petridis
0a2a3b3377
Remove unused permission. 2018-08-01 02:14:27 +03:00
Jordan Petridis
d8d7193cbc
README: Add flahub instructions. 2018-07-31 11:40:05 +03:00
Jordan Petridis
042c9eed9c
Appdata: Remove 'lang=' metadata tag from the description.
This seems to confuse the flathub store website.
2018-07-31 11:22:15 +03:00
Jordan Petridis
b0c94dd998
Appdata: Add OARS Rating
This help with content age rating. Usefull for store
clients like gnome-software.

https://hughsie.github.io/oars/
2018-07-31 10:58:04 +03:00
Jordan Petridis
4c8cc9e823
Version bump. 2018-07-31 00:31:44 +03:00
Jordan Petridis
132c9bbdff
ShowModel: Remove dead unused methods. 2018-07-30 23:23:58 +03:00
Jordan Petridis
cc0caff8d0
EpisodeModels: Remove unused methods. 2018-07-30 23:20:10 +03:00
Jordan Petridis
3496df24f8
App: Fix refference cycles in actions. 2018-07-28 19:52:37 +03:00
Jordan Petridis
e4e35e4c57
App: Replace action macro with a generic fuction. 2018-07-28 19:52:27 +03:00
Jordan Petridis
838320785e
Replace SendCell with fragile.
SendCell is depricated now and its advised to use the Fragile
crate instead.

https://github.com/sdroege/send-cell/issues/5
2018-07-28 19:46:01 +03:00
Jordan Petridis
91bea85519
Update dependancies. 2018-07-28 19:15:26 +03:00
Jordan Petridis
88ea081661
Version bump. 2018-07-28 00:12:08 +03:00
Jordan Petridis
39c0a0dba5
Fix cargo vendor config. 2018-07-28 00:08:48 +03:00
Jordan Petridis
9d64d3e30d
AppStream: captions were too short. 2018-07-27 21:45:33 +03:00
Jordan Petridis
39ff238716
Version bump. 2018-07-27 20:21:28 +03:00
Jordan Petridis
7c96152f3f
Gtk: Change the minimum requests of the views. 2018-07-27 19:46:18 +03:00
Jordan Petridis
a2440c19e1
Appdata: Fix screenshots metadata. 2018-07-27 00:42:54 +03:00
Jordan Petridis
24dff5ce85
Update the release script. 2018-07-27 00:27:42 +03:00
Tobias Bernard
1ca8e15d19 Update org.gnome.Podcasts.appdata.xml 2018-07-26 21:15:10 +00:00
Tobias Bernard
f77a8f09bb Update podcasts.doap 2018-07-26 21:13:04 +00:00
Jordan Petridis
48a7c8140f
Update screenshots. 2018-07-26 23:53:08 +03:00
Jordan Petridis
b03ff46767
Version bump. 2018-07-26 08:33:45 +03:00
Jordan Petridis
e66e6364c3 Update Changelog 2018-07-26 05:30:46 +00:00
Jordan Petridis
89ef7ac4f6
Rename the .doap file. 2018-07-26 07:56:00 +03:00
Jordan Petridis
27e74ee064
Update the appdata summary. 2018-07-26 07:53:29 +03:00
Jordan Petridis
83c44aa12c
Replace links again 2018-07-26 07:41:43 +03:00
Jordan Petridis
17da62d53b
App: Fix some refference cycles. 2018-07-26 07:19:43 +03:00
Jordan Petridis
d43fc268f4
App: Only execute .show_all() at startup.
If you would had an instance running and activate the app again
the UI would break visually in all kind of ways.
2018-07-26 07:07:56 +03:00
Jordan Petridis
5a7ab9795d
Headerbar: rename menu-button to hamburger. 2018-07-25 04:57:00 +03:00
Jordan Petridis
cfcdba5aea
Headerbar: Avoid code duplication and ref cycles. 2018-07-25 04:38:24 +03:00
Jordan Petridis
aaca6a6704
Prefs: Use weak refs to avoid refference cycle. 2018-07-25 04:25:40 +03:00
Jordan Petridis
5f7c822deb
gtk: Rename left over home_view .ui files. 2018-07-25 03:55:42 +03:00
Jordan Petridis
53be091a31
Replace links 2018-07-25 03:26:41 +03:00
Jordan Petridis
04c68ba013
Initial massive renaming. 2018-07-25 03:26:35 +03:00
Jordan Petridis
518ea9c8b5
EmptyView: Improve wording of strings and Center stuff. 2018-07-24 15:07:13 +03:00
Jordan Petridis
6bb2142f35
Prefs: Fix typo. 2018-07-24 15:06:56 +03:00
Jordan Petridis
6aa931c866
Update deps. 2018-07-24 09:28:25 +03:00
Jordan Petridis
67ab54f820
Headerbar: Try to improve the add button behavior. 2018-07-24 09:05:55 +03:00
Jordan Petridis
cc9fc80328
Remove some unwraps. 2018-07-24 08:04:31 +03:00
Jordan Petridis
3e8a8a6b85
Hamburger: connect the MenuModel during initialization. 2018-07-24 07:36:41 +03:00
Jordan Petridis
70a2d0e5f3
EpisodeWidget: Improve total_size label wording. 2018-07-24 07:29:52 +03:00