Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Commit f248e5c

Browse files
committed
init translations
1 parent c01349e commit f248e5c

File tree

6 files changed

+132
-10
lines changed

6 files changed

+132
-10
lines changed

data/empty.ui

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<child>
1111
<object class="AdwStatusPage" id="statusPage">
1212
<property name="icon-name">com.vixalien.decibels-symbolic</property>
13-
<property name="title" translatable="true">Open an Audio File</property>
13+
<property name="title" translatable="yes">Open an Audio File</property>
1414
<child>
1515
<object class="GtkBox">
1616
<property name="orientation">1</property>
1717
<property name="spacing">12</property>
1818
<child>
1919
<object class="GtkButton">
20-
<property name="label">_Open…</property>
20+
<property name="label" translatable="yes">_Open…</property>
2121
<property name="use-underline">true</property>
2222
<property name="action-name">win.open-file</property>
2323
<property name="can-shrink">True</property>

data/error.ui

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<child>
1111
<object class="AdwStatusPage" id="statusPage">
1212
<property name="icon-name">warning-symbolic</property>
13-
<property name="title" translatable="true">File Cannot Be Played</property>
13+
<property name="title" translatable="yes">File Cannot Be Played</property>
1414
<child>
1515
<object class="GtkBox">
1616
<property name="orientation">1</property>
1717
<property name="spacing">12</property>
1818
<child>
1919
<object class="GtkButton">
20-
<property name="label">_Try Again…</property>
20+
<property name="label" translatable="yes">_Try Again…</property>
2121
<property name="use-underline">true</property>
2222
<property name="action-name">win.open-file</property>
2323
<property name="can-shrink">True</property>

data/header.ui

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<property name="icon-name">open-menu-symbolic</property>
1010
<property name="menu-model">primary_menu</property>
1111
<property name="primary">true</property>
12-
<property name="tooltip-text" translatable="true">Main Menu</property>
12+
<property name="tooltip-text" translatable="yes">Main Menu</property>
1313
</object>
1414
</child>
1515
</object>
@@ -18,17 +18,17 @@
1818
<menu id="primary_menu">
1919
<section>
2020
<item>
21-
<attribute name="label" translatable="true">Open…</attribute>
21+
<attribute name="label" translatable="yes">Open…</attribute>
2222
<attribute name="action">win.open-file</attribute>
2323
</item>
2424
</section>
2525
<section>
2626
<item>
27-
<attribute name="label" translatable="true">_Keyboard Shortcuts</attribute>
27+
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
2828
<attribute name="action">win.show-help-overlay</attribute>
2929
</item>
3030
<item>
31-
<attribute name="label" translatable="true">_About Decibels</attribute>
31+
<attribute name="label" translatable="yes">_About Decibels</attribute>
3232
<attribute name="action">app.about</attribute>
3333
</item>
3434
</section>

data/window.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<property name="default-height">400</property>
77
<property name="width-request">300</property>
88
<property name="height-request">260</property>
9-
<property name="title" translatable="true">Decibels</property>
9+
<property name="title" translatable="yes">Decibels</property>
1010
<property name="content">
1111
<object class="GtkStack" id="stack">
1212
<child>

po/POTFILES.in

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
data/com.vixalien.decibels.desktop.in
2-
data/com.vixalien.decibels.appdata.xml.in
2+
data/com.vixalien.decibels.metainfo.xml.in
33
data/com.vixalien.decibels.gschema.xml
4+
data/empty.ui
5+
data/error.ui
6+
data/header.ui
47
data/window.ui
58
src/application.ts
9+
src/error.ts
10+
src/stream.ts
611
src/window.ts

po/decibels.pot

+117
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the decibels package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: decibels\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2023-09-21 16:34+0200\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: data/com.vixalien.decibels.desktop.in:3
21+
#: data/com.vixalien.decibels.metainfo.xml.in:5 data/window.ui:9
22+
msgid "Decibels"
23+
msgstr ""
24+
25+
#. Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
26+
#: data/com.vixalien.decibels.desktop.in:11
27+
msgid "music;player;media;audio;"
28+
msgstr ""
29+
30+
#: data/com.vixalien.decibels.metainfo.xml.in:6
31+
#: data/com.vixalien.decibels.metainfo.xml.in:12
32+
msgid "Play audio files"
33+
msgstr ""
34+
35+
#: data/com.vixalien.decibels.metainfo.xml.in:9
36+
msgid "Angelo Verlain"
37+
msgstr ""
38+
39+
#: data/com.vixalien.decibels.metainfo.xml.in:13
40+
msgid "Current features:"
41+
msgstr ""
42+
43+
#: data/com.vixalien.decibels.metainfo.xml.in:15
44+
msgid "Shows the waveform of the track"
45+
msgstr ""
46+
47+
#: data/com.vixalien.decibels.metainfo.xml.in:16
48+
msgid "Adjust playback speed"
49+
msgstr ""
50+
51+
#: data/com.vixalien.decibels.metainfo.xml.in:17
52+
msgid "Easy seek controls"
53+
msgstr ""
54+
55+
#: data/com.vixalien.decibels.metainfo.xml.in:34
56+
msgid "Initial Release"
57+
msgstr ""
58+
59+
#: data/com.vixalien.decibels.gschema.xml:6
60+
msgid "Last width & height of window"
61+
msgstr ""
62+
63+
#: data/com.vixalien.decibels.gschema.xml:7
64+
msgid "The saved last size of the window (to be restored)"
65+
msgstr ""
66+
67+
#: data/empty.ui:13
68+
msgid "Open an Audio File"
69+
msgstr ""
70+
71+
#: data/empty.ui:20
72+
msgid "_Open…"
73+
msgstr ""
74+
75+
#: data/error.ui:13 src/window.ts:117 src/window.ts:163
76+
msgid "File Cannot Be Played"
77+
msgstr ""
78+
79+
#: data/error.ui:20
80+
msgid "_Try Again…"
81+
msgstr ""
82+
83+
#: data/header.ui:12
84+
msgid "Main Menu"
85+
msgstr ""
86+
87+
#: data/header.ui:21
88+
msgid "Open…"
89+
msgstr ""
90+
91+
#: data/header.ui:27
92+
msgid "_Keyboard Shortcuts"
93+
msgstr ""
94+
95+
#: data/header.ui:31
96+
msgid "_About Decibels"
97+
msgstr ""
98+
99+
#: src/error.ts:57
100+
msgid "An unknown error happened"
101+
msgstr ""
102+
103+
#: src/stream.ts:361
104+
msgid "Unknown File"
105+
msgstr ""
106+
107+
#: src/window.ts:123
108+
msgid "Audio files"
109+
msgstr ""
110+
111+
#: src/window.ts:130
112+
msgid "Open File"
113+
msgstr ""
114+
115+
#: src/window.ts:164
116+
msgid "The file could not be accessed"
117+
msgstr ""

0 commit comments

Comments
 (0)