Skip to content

Commit e4ace38

Browse files
NathanBnmnaaando
authored andcommitted
Fix AppStream files translation and update translations (#31)
* Merge translations with AppStream templates files on build process * Update french translations
1 parent aac946e commit e4ace38

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+14478
-8133
lines changed

data/com.github.naaando.lyrics.appdata.xml data/com.github.naaando.lyrics.appdata.xml.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<release version="0.7.5" date="2019-03-06">
5252
<description>
5353
<ul>
54-
<li>Fix bug where the lyrics start to overlap.</li>
54+
<li>Fix bug where the lyrics start to overlap</li>
5555
<li>Remove legacy code for old lyric displayers</li>
5656
<li>Fix warnings related to custom font provider</li>
5757
<li>Fix warnings related to ClickThroughHelper</li>

data/meson.build

+14-8
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ install_data (
1616
install_dir: join_paths (get_option ('datadir'), 'glib-2.0', 'schemas')
1717
)
1818

19-
install_data (
20-
meson.project_name () + '.desktop',
21-
install_dir: join_paths (get_option ('datadir'), 'applications')
22-
)
23-
24-
install_data (
25-
meson.project_name () + '.appdata.xml',
26-
install_dir: join_paths (get_option ('datadir'), 'metainfo')
19+
i18n.merge_file(
20+
input: join_paths(meson.project_name() + '.desktop.in'),
21+
output: meson.project_name() + '.desktop',
22+
po_dir: join_paths(meson.source_root(), 'po'),
23+
type: 'desktop',
24+
install: true,
25+
install_dir: join_paths(get_option('datadir'), 'applications')
2726
)
2827

28+
i18n.merge_file(
29+
input: join_paths(meson.project_name() + '.appdata.xml.in'),
30+
output: meson.project_name() + '.appdata.xml',
31+
po_dir: join_paths(meson.source_root(), 'po'),
32+
install: true,
33+
install_dir: join_paths(get_option('datadir'), 'metainfo')
34+
)

po/POTFILES

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
data/com.github.naaando.lyrics.desktop
2-
data/com.github.naaando.lyrics.appdata.xml
1+
data/com.github.naaando.lyrics.desktop.in
2+
data/com.github.naaando.lyrics.appdata.xml.in
33
src/Core/Factory/MetasongFactory.vala
44
src/Core/Lyric.vala
55
src/Core/LyricsService.vala
@@ -12,7 +12,6 @@ src/Repository/Local/LocalRepository.vala
1212
src/Repository/LyricSources/LyricSourcesDownloader.vala
1313
src/Repository/LyricSources/LyricSourcesRemoteFile.vala
1414
src/Repository/LyricSources/LyricSourcesRepository.vala
15-
src/Repository/ILyricFile.vala
1615
src/Repository/Repository.vala
1716
src/Mpris/MprisClient.vala
1817
src/Mpris/MprisPlayer.vala
@@ -33,7 +32,6 @@ src/View/SettingsPopover.vala
3332
src/View/Helper/ClickThroughHelper.vala
3433
src/View/Helper/SaveWindowStateMixin.vala
3534
src/View/Widgets/Displays/IDisplay.vala
36-
src/View/Widgets/Displays/SimpleDisplay.vala
3735
src/View/Widgets/Displays/ScrolledDisplay.vala
3836
src/View/Widgets/DownloadView.vala
3937
src/View/Widgets/FileChooserButton.vala

po/aa.po

+73-41
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: lyrics\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-02-23 23:47-0300\n"
10+
"POT-Creation-Date: 2019-03-24 00:26+0100\n"
1111
"PO-Revision-Date: 2019-01-26 21:12-0200\n"
1212
"Last-Translator: Automatically generated\n"
1313
"Language-Team: none\n"
@@ -16,159 +16,191 @@ msgstr ""
1616
"Content-Type: text/plain; charset=ASCII\n"
1717
"Content-Transfer-Encoding: 8bit\n"
1818

19-
#: data/com.github.naaando.lyrics.desktop:3
20-
#: data/com.github.naaando.lyrics.appdata.xml:6 src/View/MainWindow.vala:14
19+
#: data/com.github.naaando.lyrics.desktop.in:3
20+
#: data/com.github.naaando.lyrics.appdata.xml.in:6 src/View/MainWindow.vala:14
2121
msgid "Lyrics"
2222
msgstr ""
2323

24-
#: data/com.github.naaando.lyrics.desktop:4
24+
#: data/com.github.naaando.lyrics.desktop.in:4
2525
msgid "Lyrics displayer"
2626
msgstr ""
2727

28-
#: data/com.github.naaando.lyrics.desktop:5
28+
#: data/com.github.naaando.lyrics.desktop.in:5
2929
msgid "The styleful way to sing your songs"
3030
msgstr ""
3131

32-
#: data/com.github.naaando.lyrics.desktop:8
32+
#: data/com.github.naaando.lyrics.desktop.in:8
3333
msgid "com.github.naaando.lyrics"
3434
msgstr ""
3535

36-
#: data/com.github.naaando.lyrics.desktop:12
36+
#: data/com.github.naaando.lyrics.desktop.in:12
3737
msgid "lyrics;music;"
3838
msgstr ""
3939

40-
#: data/com.github.naaando.lyrics.appdata.xml:7
40+
#: data/com.github.naaando.lyrics.appdata.xml.in:7
4141
msgid "The beautiful way to sing your songs"
4242
msgstr ""
4343

44-
#: data/com.github.naaando.lyrics.appdata.xml:9
44+
#: data/com.github.naaando.lyrics.appdata.xml.in:9
4545
msgid ""
4646
"Lyrics is an application that displays lyrics for songs you are listening "
4747
"to, it query the song through MPRIS protocol, search, downloads the lyric "
4848
"file and display it scrolling syncronized."
4949
msgstr ""
5050

51-
#: data/com.github.naaando.lyrics.appdata.xml:42
51+
#: data/com.github.naaando.lyrics.appdata.xml.in:39
52+
msgid "Ported viewlwyrics source"
53+
msgstr ""
54+
55+
#: data/com.github.naaando.lyrics.appdata.xml.in:46
56+
msgid "Fixes file saving when the directory to save don't exists"
57+
msgstr ""
58+
59+
#: data/com.github.naaando.lyrics.appdata.xml.in:47
60+
msgid "Fix bug where selecting a lyric from the search dialog don't display it"
61+
msgstr ""
62+
63+
#: data/com.github.naaando.lyrics.appdata.xml.in:54
64+
msgid "Fix bug where the lyrics start to overlap"
65+
msgstr ""
66+
67+
#: data/com.github.naaando.lyrics.appdata.xml.in:55
68+
msgid "Remove legacy code for old lyric displayers"
69+
msgstr ""
70+
71+
#: data/com.github.naaando.lyrics.appdata.xml.in:56
72+
msgid "Fix warnings related to custom font provider"
73+
msgstr ""
74+
75+
#: data/com.github.naaando.lyrics.appdata.xml.in:57
76+
msgid "Fix warnings related to ClickThroughHelper"
77+
msgstr ""
78+
79+
#: data/com.github.naaando.lyrics.appdata.xml.in:64
5280
msgid ""
53-
"It solves the problem of the window undoing the resize when going to "
54-
"backdrop if it was shortened horizontally."
81+
"(Contribuition by Torikul Habib) Fix a bug where the window increases the "
82+
"minimum width on backdrop."
83+
msgstr ""
84+
85+
#: data/com.github.naaando.lyrics.appdata.xml.in:65
86+
msgid "Update translation files"
5587
msgstr ""
5688

57-
#: data/com.github.naaando.lyrics.appdata.xml:49
89+
#: data/com.github.naaando.lyrics.appdata.xml.in:72
5890
msgid ""
5991
"Fix error where a searched lyric is not displayed if lyrics wasn't "
6092
"displaying already"
6193
msgstr ""
6294

63-
#: data/com.github.naaando.lyrics.appdata.xml:56
95+
#: data/com.github.naaando.lyrics.appdata.xml.in:79
6496
msgid "Fix repositories returning null collections"
6597
msgstr ""
6698

67-
#: data/com.github.naaando.lyrics.appdata.xml:63
99+
#: data/com.github.naaando.lyrics.appdata.xml.in:86
68100
msgid "Fix settings popover menu closing on click"
69101
msgstr ""
70102

71-
#: data/com.github.naaando.lyrics.appdata.xml:70
103+
#: data/com.github.naaando.lyrics.appdata.xml.in:92
72104
msgid "Adds ghost mode:"
73105
msgstr ""
74106

75-
#: data/com.github.naaando.lyrics.appdata.xml:71
107+
#: data/com.github.naaando.lyrics.appdata.xml.in:94
76108
msgid "Let clicks pass through the window when it is translucid"
77109
msgstr ""
78110

79-
#: data/com.github.naaando.lyrics.appdata.xml:72
111+
#: data/com.github.naaando.lyrics.appdata.xml.in:95
80112
msgid "Hide headerbar widgets when the app goes backdrop"
81113
msgstr ""
82114

83-
#: data/com.github.naaando.lyrics.appdata.xml:73
115+
#: data/com.github.naaando.lyrics.appdata.xml.in:96
84116
msgid "Makes headerbar clickable on ghost mode to drag and to grab focus"
85117
msgstr ""
86118

87-
#: data/com.github.naaando.lyrics.appdata.xml:80
119+
#: data/com.github.naaando.lyrics.appdata.xml.in:103
88120
msgid "Add lyric search"
89121
msgstr ""
90122

91-
#: data/com.github.naaando.lyrics.appdata.xml:81
123+
#: data/com.github.naaando.lyrics.appdata.xml.in:104
92124
msgid "Remove Cairo dependency"
93125
msgstr ""
94126

95-
#: data/com.github.naaando.lyrics.appdata.xml:82
127+
#: data/com.github.naaando.lyrics.appdata.xml.in:105
96128
msgid "Remove Granite dependency"
97129
msgstr ""
98130

99-
#: data/com.github.naaando.lyrics.appdata.xml:89
131+
#: data/com.github.naaando.lyrics.appdata.xml.in:112
100132
msgid "Reduce spacing spent on margins and borders"
101133
msgstr ""
102134

103-
#: data/com.github.naaando.lyrics.appdata.xml:90
135+
#: data/com.github.naaando.lyrics.appdata.xml.in:113
104136
msgid "Saves window's width and height properties now"
105137
msgstr ""
106138

107-
#: data/com.github.naaando.lyrics.appdata.xml:91
139+
#: data/com.github.naaando.lyrics.appdata.xml.in:114
108140
msgid "Under the hood code improvements"
109141
msgstr ""
110142

111-
#: data/com.github.naaando.lyrics.appdata.xml:98
143+
#: data/com.github.naaando.lyrics.appdata.xml.in:121
112144
msgid "Reset font on restore settings"
113145
msgstr ""
114146

115-
#: data/com.github.naaando.lyrics.appdata.xml:105
147+
#: data/com.github.naaando.lyrics.appdata.xml.in:128
116148
msgid "Make possible to choose custom fonts"
117149
msgstr ""
118150

119-
#: data/com.github.naaando.lyrics.appdata.xml:106
151+
#: data/com.github.naaando.lyrics.appdata.xml.in:129
120152
msgid "Make the app translatable"
121153
msgstr ""
122154

123-
#: data/com.github.naaando.lyrics.appdata.xml:107
155+
#: data/com.github.naaando.lyrics.appdata.xml.in:130
124156
msgid "Add brazillian portuguese translation"
125157
msgstr ""
126158

127-
#: data/com.github.naaando.lyrics.appdata.xml:108
159+
#: data/com.github.naaando.lyrics.appdata.xml.in:131
128160
msgid "Add french translation"
129161
msgstr ""
130162

131-
#: data/com.github.naaando.lyrics.appdata.xml:109
163+
#: data/com.github.naaando.lyrics.appdata.xml.in:132
132164
msgid "Fixes for packaging to flatpak"
133165
msgstr ""
134166

135-
#: data/com.github.naaando.lyrics.appdata.xml:116
167+
#: data/com.github.naaando.lyrics.appdata.xml.in:139
136168
msgid "Fix when playing setting"
137169
msgstr ""
138170

139-
#: data/com.github.naaando.lyrics.appdata.xml:117
171+
#: data/com.github.naaando.lyrics.appdata.xml.in:140
140172
msgid "Fixes lyric parsing"
141173
msgstr ""
142174

143-
#: data/com.github.naaando.lyrics.appdata.xml:118
175+
#: data/com.github.naaando.lyrics.appdata.xml.in:141
144176
msgid "Fix play and pause icons on player control button"
145177
msgstr ""
146178

147-
#: data/com.github.naaando.lyrics.appdata.xml:119
179+
#: data/com.github.naaando.lyrics.appdata.xml.in:142
148180
msgid "Fix error where lyrics don't stop after closing the player"
149181
msgstr ""
150182

151-
#: data/com.github.naaando.lyrics.appdata.xml:125
183+
#: data/com.github.naaando.lyrics.appdata.xml.in:148
152184
msgid "A major rewrite of the application"
153185
msgstr ""
154186

155-
#: data/com.github.naaando.lyrics.appdata.xml:127
187+
#: data/com.github.naaando.lyrics.appdata.xml.in:150
156188
msgid "Fix lyrics sorting problem"
157189
msgstr ""
158190

159-
#: data/com.github.naaando.lyrics.appdata.xml:128
191+
#: data/com.github.naaando.lyrics.appdata.xml.in:151
160192
msgid "Fix crashes on compact timestamps format: [mm:ss]"
161193
msgstr ""
162194

163-
#: data/com.github.naaando.lyrics.appdata.xml:129
195+
#: data/com.github.naaando.lyrics.appdata.xml.in:152
164196
msgid "Lyrics now scroll on the center of window"
165197
msgstr ""
166198

167-
#: data/com.github.naaando.lyrics.appdata.xml:135
199+
#: data/com.github.naaando.lyrics.appdata.xml.in:158
168200
msgid "Initial release"
169201
msgstr ""
170202

171-
#: data/com.github.naaando.lyrics.appdata.xml:168
203+
#: data/com.github.naaando.lyrics.appdata.xml.in:191
172204
msgid "Fernando da Silva Sousa"
173205
msgstr ""
174206

0 commit comments

Comments
 (0)