Skip to content

Commit 8c66cb9

Browse files
committed
Remove translations
* GNOME development is pretty much English only * The quality of translations is not good (at least French) * Weblate setup is broken We may revisit this in the future
1 parent 7cc1ffe commit 8c66cb9

30 files changed

+14
-15099
lines changed

data/app.metainfo.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<metadata_license>CC0-1.0</metadata_license>
99
<project_license>GPL-3.0</project_license>
1010
<summary>Learn and prototype with GNOME technologies</summary>
11-
<translation type="gettext">@app_id@</translation>
1211
<description>
1312
<p>Workbench lets you experiment with GNOME technologies, no matter if tinkering for the first time or building and testing a GTK user interface.</p>
1413
<p>Among other things, Workbench comes with</p>
@@ -26,7 +25,6 @@
2625
<url type="homepage">https://workbench.sonny.re</url>
2726
<url type="bugtracker">https://workbench.sonny.re/feedback</url>
2827
<url type="donation">https://workbench.sonny.re/donate</url>
29-
<url type="translate">https://workbench.sonny.re/translate</url>
3028
<url type="vcs-browser">https://workbench.sonny.re/source</url>
3129
<screenshots>
3230
<screenshot type="default">

data/meson.build

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
desktop_file = i18n.merge_file(
2-
input: configure_file(
3-
input: 'app.desktop',
4-
output: 'tmp.app.desktop',
5-
configuration: { 'app_id': app_id }
6-
),
1+
desktop_file = configure_file(
2+
input: 'app.desktop',
73
output: '@0@.desktop'.format(app_id),
8-
type: 'desktop',
9-
po_dir: '../po',
10-
install: true,
4+
configuration: { 'app_id': app_id },
115
install_dir: join_paths(get_option('datadir'), 'applications')
126
)
137

@@ -25,15 +19,10 @@ configure_file(
2519
install_dir: join_paths(get_option('datadir'), 'dbus-1/services')
2620
)
2721

28-
appstream_file = i18n.merge_file(
29-
input: configure_file(
30-
input: 'app.metainfo.xml',
31-
output: 'tmp.app.metainfo.xml',
32-
configuration: { 'app_id': app_id }
33-
),
22+
appstream_file = configure_file(
23+
input: 'app.metainfo.xml',
3424
output: '@0@.metainfo.xml'.format(app_id),
35-
po_dir: '../po',
36-
install: true,
25+
configuration: { 'app_id': app_id },
3726
install_dir: join_paths(get_option('datadir'), 'metainfo')
3827
)
3928

meson.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ project('Workbench', ['vala', 'c', 'rust'],
55
)
66

77
gnome = import('gnome')
8-
i18n = import('i18n')
98

109
if get_option('profile') == 'development'
1110
app_id = 're.sonny.Workbench.Devel'
@@ -27,7 +26,6 @@ pkgdatadir = join_paths(datadir, app_id)
2726

2827
subdir('data')
2928
subdir('src')
30-
subdir('po')
3129

3230
gnome.post_install(
3331
glib_compile_schemas: true,

po/LINGUAS

Lines changed: 0 additions & 19 deletions
This file was deleted.

po/POTFILES

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)