Skip to content

Commit 89b96c3

Browse files
authored
Merge pull request #423 from technosf/development
Desktop translation
2 parents 282e3be + 5c799f9 commit 89b96c3

8 files changed

Lines changed: 116 additions & 40 deletions

File tree

data/io.github.tuner_labs.tuner.metainfo.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
2424
<color type="primary" scheme_preference="light">#f5c211</color>
2525
<color type="primary" scheme_preference="dark">#655510</color>
2626
</branding>
27-
<summary>Internet Radio</summary>
27+
<summary>Discover, stream, save your favorite Internet radio station</summary>
2828
<description>
29-
<p>Make finding and listening to internet radio station and music fun again!</p>
29+
<p>Make finding and listening to Internet radio station and music fun again!</p>
3030
<p>Instead of showing all the stations you already know,
3131
Tuner presents you a new selection of stations from all over the world
3232
every time you hit the Shuffle button.</p>

po/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ This document explains how translation targets in `po/` are generated, what each
2727
```bash
2828
# Enable POT generation via Meson option, then run the pot target
2929
meson setup builddir -Dtranslation=update
30-
meson build application-pot
31-
meson build countries-pot
32-
meson build extra-pot
30+
meson compile -C builddir application-pot
31+
meson compile -C builddir countries-pot
32+
meson compile -C builddir extra-pot
3333
```
3434

3535
2. Generate translations:

po/application/application.pot

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: application\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-03-14 13:23-0700\n"
11+
"POT-Creation-Date: 2026-03-30 17:20-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -121,35 +121,35 @@ msgid "Maximum Bitrate"
121121
msgstr ""
122122

123123
#: src/Models/StreamMetadata.vala:40
124-
msgid "Container Format"
124+
msgid "Has CRC"
125125
msgstr ""
126126

127127
#: src/Models/StreamMetadata.vala:41
128-
msgid "Application Name"
128+
msgid "Container Format"
129129
msgstr ""
130130

131131
#: src/Models/StreamMetadata.vala:42
132-
msgid "Encoder"
132+
msgid "Track Id"
133133
msgstr ""
134134

135135
#: src/Models/StreamMetadata.vala:43
136-
msgid "Encoder Version"
136+
msgid "Application Name"
137137
msgstr ""
138138

139139
#: src/Models/StreamMetadata.vala:44
140-
msgid "Encoded by"
140+
msgid "Encoder"
141141
msgstr ""
142142

143143
#: src/Models/StreamMetadata.vala:45
144-
msgid "Date Time"
144+
msgid "Encoder Version"
145145
msgstr ""
146146

147147
#: src/Models/StreamMetadata.vala:46
148-
msgid "Private Data"
148+
msgid "Encoded by"
149149
msgstr ""
150150

151151
#: src/Models/StreamMetadata.vala:47
152-
msgid "Has CRC"
152+
msgid "Private Data"
153153
msgstr ""
154154

155155
#: src/Models/StreamMetadata.vala:48
@@ -160,103 +160,111 @@ msgstr ""
160160
msgid "GStreamer Sample"
161161
msgstr ""
162162

163+
#: src/Models/StreamMetadata.vala:50
164+
msgid "GStreamer Date Time"
165+
msgstr ""
166+
167+
#: src/Models/StreamMetadata.vala:51
168+
msgid "Date Time"
169+
msgstr ""
170+
163171
#.
164172
#. Display Assets
165173
#.
166-
#: src/Widgets/Display.vala:114
174+
#: src/Widgets/Display.vala:113
167175
msgid "Selections"
168176
msgstr ""
169177

170-
#: src/Widgets/Display.vala:115
178+
#: src/Widgets/Display.vala:114
171179
msgid "Library"
172180
msgstr ""
173181

174-
#: src/Widgets/Display.vala:116
182+
#: src/Widgets/Display.vala:115
175183
msgid "Saved Searches"
176184
msgstr ""
177185

178-
#: src/Widgets/Display.vala:117
186+
#: src/Widgets/Display.vala:116
179187
msgid "Explore"
180188
msgstr ""
181189

182-
#: src/Widgets/Display.vala:118
190+
#: src/Widgets/Display.vala:117
183191
msgid "Genres"
184192
msgstr ""
185193

186-
#: src/Widgets/Display.vala:119
194+
#: src/Widgets/Display.vala:118
187195
msgid "Subgenres"
188196
msgstr ""
189197

190-
#: src/Widgets/Display.vala:120
198+
#: src/Widgets/Display.vala:119
191199
msgid "Eras"
192200
msgstr ""
193201

194-
#: src/Widgets/Display.vala:121
202+
#: src/Widgets/Display.vala:120
195203
msgid "Talk, News, Sport"
196204
msgstr ""
197205

198-
#: src/Widgets/Display.vala:441
206+
#: src/Widgets/Display.vala:440
199207
msgid "Discover"
200208
msgstr ""
201209

202-
#: src/Widgets/Display.vala:442
210+
#: src/Widgets/Display.vala:441
203211
msgid "Stations to Discover"
204212
msgstr ""
205213

206-
#: src/Widgets/Display.vala:445
214+
#: src/Widgets/Display.vala:444
207215
msgid "Discover more stations"
208216
msgstr ""
209217

210-
#: src/Widgets/Display.vala:465
218+
#: src/Widgets/Display.vala:464
211219
msgid "Trending"
212220
msgstr ""
213221

214-
#: src/Widgets/Display.vala:466
222+
#: src/Widgets/Display.vala:465
215223
msgid "Trending Stations in the last 24 hours"
216224
msgstr ""
217225

218-
#: src/Widgets/Display.vala:483
226+
#: src/Widgets/Display.vala:482
219227
msgid "Popular"
220228
msgstr ""
221229

222-
#: src/Widgets/Display.vala:484
230+
#: src/Widgets/Display.vala:483
223231
msgid "Most listened to Stations in the last 24 hours"
224232
msgstr ""
225233

226-
#: src/Widgets/Display.vala:521 src/Widgets/Display.vala:522
234+
#: src/Widgets/Display.vala:520 src/Widgets/Display.vala:521
227235
msgid "Starred by You"
228236
msgstr ""
229237

230-
#: src/Widgets/Display.vala:560
238+
#: src/Widgets/Display.vala:559
231239
msgid "Latest Search"
232240
msgstr ""
233241

234-
#: src/Widgets/Display.vala:561
242+
#: src/Widgets/Display.vala:560
235243
msgid "Search Results"
236244
msgstr ""
237245

238-
#: src/Widgets/Display.vala:563
246+
#: src/Widgets/Display.vala:562
239247
msgid "Save this search"
240248
msgstr ""
241249

242-
#: src/Widgets/Display.vala:697
250+
#: src/Widgets/Display.vala:696
243251
msgid "Jukebox"
244252
msgstr ""
245253

246-
#: src/Widgets/Display.vala:699
254+
#: src/Widgets/Display.vala:698
247255
#, c-format
248256
msgid "Double click to shuffle through %1$u stations"
249257
msgstr ""
250258

251-
#: src/Widgets/Display.vala:700
259+
#: src/Widgets/Display.vala:699
252260
msgid "one, every ten minutes, for %2$u days"
253261
msgstr ""
254262

255-
#: src/Widgets/Display.vala:766
263+
#: src/Widgets/Display.vala:765
256264
msgid "Saved Search"
257265
msgstr ""
258266

259-
#: src/Widgets/Display.vala:769
267+
#: src/Widgets/Display.vala:768
260268
msgid "Remove this saved search"
261269
msgstr ""
262270

@@ -331,7 +339,7 @@ msgid ""
331339
"played station"
332340
msgstr ""
333341

334-
#. Restart Playing after network interuption
342+
#. Restart Playing after network interruption
335343
#: src/Widgets/PreferencesPopover.vala:60
336344
msgid "Restart playing after a network outage"
337345
msgstr ""

po/extra/POTFILES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright © 2026 <https://github.com/technosf>
2+
# SPDX-FileCopyrightText: © 2026 <https://github.com/technosf>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
#
6+
7+
data/io.github.tuner_labs.tuner.desktop.in

po/extra/extra.pot

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the extra package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: extra\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2026-03-30 17:20-0700\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=CHARSET\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: data/io.github.tuner_labs.tuner.desktop.in:9
21+
msgid "Tuner"
22+
msgstr ""
23+
24+
#: data/io.github.tuner_labs.tuner.desktop.in:10
25+
msgid "Internet Radio Player"
26+
msgstr ""
27+
28+
#: data/io.github.tuner_labs.tuner.desktop.in:11
29+
msgid "Listen to Radio Stations from around the world"
30+
msgstr ""
31+
32+
#: data/io.github.tuner_labs.tuner.desktop.in:16
33+
msgid "Radio;Receiver;FM;Talk;Sport;News"
34+
msgstr ""

po/extra/meson.build

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## SPDX-FileCopyrightText: Copyright © 2024 technosf <https://github.com/technosf>
2+
## SPDX-License-Identifier: GPL-3.0-or-later
3+
##
4+
## @file meson.build
5+
## @brief Install metadata translations
6+
##
7+
##
8+
#
9+
# Metadata translations used by Flatpak and other packaging systems
10+
# live under `po/extra/` and are kept separate from the main `po/`
11+
# catalogs to modularize the translation process by Weblate components.
12+
#
13+
# meson compile -C builddir extra-pot
14+
#
15+
16+
17+
message('Extra translations...')
18+
19+
i18n.gettext ('extra',
20+
preset: 'glib',
21+
install: false
22+
)
23+

po/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ subdir('application') # Generate .po from the .pot, if needed
2323
subdir('countries') # Generate .po from the .pot, if needed
2424

2525

26+
# - `extra/` contains extra data
27+
subdir('extra') # Generate .po from the .pot, if needed
28+
29+
2630
message('Scanning gettext resources...')
2731

2832

src/Widgets/Display.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ public class Tuner.Widgets.Display : Gtk.Paned, StationListHookup {
608608
{
609609
add_saved_search( search_term, saved_searches.get (search_term));
610610
}
611-
_saved_searches_category.icon = new ThemedIcon ("library-music");
611+
_saved_searches_category.icon = new ThemedIcon ("folder-music");
612612
_library_category.add (_saved_searches_category); // Added as last item of library category
613613
614614
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)