Merge pull request #75 from MightyCreak/move-to-po-dir
Rename dir "translations" to "po"
This commit is contained in:
commit
7b9aed35c1
|
@ -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
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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, )
|
||||
|
|
|
@ -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, ))
|
||||
|
|
Loading…
Reference in New Issue