aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TRANSLATIONS.md6
-rw-r--r--po/Makefile10
2 files changed, 16 insertions, 0 deletions
diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md
new file mode 100644
index 0000000..2e5e83b
--- /dev/null
+++ b/TRANSLATIONS.md
@@ -0,0 +1,6 @@
+# How to translate
+
+In order to translate this program, you need the gettext package installed.
+Go into the po folder and run «msginit».
+This should produce a «LL.po» file, where «LL» is the configured language your system is running.
+Use a po file editor, such as Poedit or Lokalize, and translate the strings.
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 0000000..9e74803
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,10 @@
+# Update translations when the english master changes
+
+NAME=remove-old-kernels
+
+all:
+
+update-po:
+ for i in *.po; do \
+ msgmerge -v --no-wrap --previous --backup=none --update $$i $(NAME).pot; \
+ done