diff --git a/CHANGELOG.md b/CHANGELOG.md index 49b8071..67ee90b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Changed AppID to io.github.mightycreak.Diffuse (as explained in [Flatpak documentation](https://docs.flatpak.org/en/latest/conventions.html#application-ids)) +- Renamed `translations/` to `po/` ### Fixed diff --git a/meson.build b/meson.build index b169d87..a23de6c 100644 --- a/meson.build +++ b/meson.build @@ -20,9 +20,9 @@ sysconfdir = prefix / get_option('sysconfdir') pythondir = py_installation.get_path('purelib') pkgdatadir = join_paths(datadir, meson.project_name()) -podir = join_paths(meson.source_root(), 'translations') +podir = join_paths(meson.source_root(), 'po') -subdir('translations') +subdir('po') subdir('src') meson.add_install_script('build-scripts/meson-postinstall.py') diff --git a/translations/LINGUAS b/po/LINGUAS similarity index 100% rename from translations/LINGUAS rename to po/LINGUAS diff --git a/translations/README.md b/po/README.md similarity index 100% rename from translations/README.md rename to po/README.md diff --git a/translations/cs.po b/po/cs.po similarity index 100% rename from translations/cs.po rename to po/cs.po diff --git a/translations/de.po b/po/de.po similarity index 100% rename from translations/de.po rename to po/de.po diff --git a/translations/es.po b/po/es.po similarity index 100% rename from translations/es.po rename to po/es.po diff --git a/translations/it.po b/po/it.po similarity index 100% rename from translations/it.po rename to po/it.po diff --git a/translations/ja.po b/po/ja.po similarity index 100% rename from translations/ja.po rename to po/ja.po diff --git a/translations/ko.po b/po/ko.po similarity index 100% rename from translations/ko.po rename to po/ko.po diff --git a/translations/meson.build b/po/meson.build similarity index 100% rename from translations/meson.build rename to po/meson.build diff --git a/translations/pl.po b/po/pl.po similarity index 100% rename from translations/pl.po rename to po/pl.po diff --git a/translations/pt.po b/po/pt.po similarity index 100% rename from translations/pt.po rename to po/pt.po diff --git a/translations/ru.po b/po/ru.po similarity index 100% rename from translations/ru.po rename to po/ru.po diff --git a/translations/sv.po b/po/sv.po similarity index 100% rename from translations/sv.po rename to po/sv.po diff --git a/translations/th.po b/po/th.po similarity index 100% rename from translations/th.po rename to po/th.po diff --git a/translations/update-translations.py b/po/update-translations.py similarity index 100% rename from translations/update-translations.py rename to po/update-translations.py diff --git a/translations/zh_CN.po b/po/zh_CN.po similarity index 100% rename from translations/zh_CN.po rename to po/zh_CN.po diff --git a/translations/zh_TW.po b/po/zh_TW.po similarity index 100% rename from translations/zh_TW.po rename to po/zh_TW.po diff --git a/windows-installer/build.py b/windows-installer/build.py index 38d255c..d4c8b6b 100755 --- a/windows-installer/build.py +++ b/windows-installer/build.py @@ -125,7 +125,7 @@ copyDir('..\\src\\usr\\share\\icons', 'dist\\share\\icons') # translations mkdir('dist\\share\\locale') locale_dir = os.path.join(gtk_dir, 'share\\locale') -for s in glob.glob('..\\translations\\*.po'): +for s in glob.glob('..\\po\\*.po'): lang = s[16:-3] # Diffuse localisations print 'Compiling %s translation' % (lang, ) diff --git a/windows-installer/setup.new.py b/windows-installer/setup.new.py index 0d3feb2..50f928d 100644 --- a/windows-installer/setup.new.py +++ b/windows-installer/setup.new.py @@ -250,7 +250,7 @@ copyDir('..\\src\\usr\\share\\icons', os.path.join(build_dir, 'share\\icons')) # translations mkdir(os.path.join(build_dir, 'share\\locale')) locale_dir = os.path.join(gnomeSiteDir, 'share\\locale') -for s in glob.glob('..\\translations\\*.po'): +for s in glob.glob('..\\po\\*.po'): lang = s[16:-3] # Diffuse localisations print('Compiling %s translation' % (lang, ))