diff --git a/.gitignore b/.gitignore index 41eb75d..c5336ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ build/ builddir/ .flatpak-builder/ + +# temp files created by elementary OS code +*~ diff --git a/template/.gitignore b/template/.gitignore index 41eb75d..c5336ab 100644 --- a/template/.gitignore +++ b/template/.gitignore @@ -1,3 +1,6 @@ build/ builddir/ .flatpak-builder/ + +# temp files created by elementary OS code +*~ diff --git a/template/meson.build b/template/meson.build index 04cacac..908814e 100644 --- a/template/meson.build +++ b/template/meson.build @@ -31,7 +31,8 @@ executable( 'src' / 'Application.vala', 'src' / 'MainWindow.vala', 'src' / 'Widgets' / 'HeaderBar.vala', - 'src' / 'Constants' / 'Colours.vala', + 'src' / 'Constants' / 'Colors.vala', + config_header, dependencies: [ dependency('granite', version: '>=5.2.4'), dependency('gtk+-3.0'), diff --git a/template/po/POTFILES b/template/po/POTFILES index 37e4aa3..a273afb 100644 --- a/template/po/POTFILES +++ b/template/po/POTFILES @@ -1,4 +1,4 @@ src/Application.vala -sr/MainWindow.vala +src/MainWindow.vala data/{GITHUB.APP}.desktop.in data/{GITHUB.APP}.appdata.xml.in diff --git a/template/src/Application.vala b/template/src/Application.vala index 091733a..4a7dece 100644 --- a/template/src/Application.vala +++ b/template/src/Application.vala @@ -26,7 +26,7 @@ namespace {APP.NAMESPACE} { // Display the app description as the option context summary. // The option context summary is displayed above the set of options // on the --help screen. - set_option_context_summary (_({APP.DESCRIPTION})); + set_option_context_summary (_("{APP.DESCRIPTION}")); // Display the copyright notice as the option context description. // The option context description is displayed below the set of options diff --git a/template/src/Constants/Config.vala b/template/src/Constants/Config.vala.in similarity index 100% rename from template/src/Constants/Config.vala rename to template/src/Constants/Config.vala.in