diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | main.c | 4 | ||||
-rw-r--r-- | po/pt/LC_MESSAGES/tiktok.po (renamed from po/pt/LC_MESSAGES/messages.po) | 0 | ||||
-rw-r--r-- | po/pt_BR/LC_MESSAGES/tiktok.po (renamed from po/pt_BR/LC_MESSAGES/messages.po) | 0 | ||||
-rw-r--r-- | po/sv/LC_MESSAGES/tiktok.po (renamed from po/sv/LC_MESSAGES/messages.po) | 0 | ||||
-rw-r--r-- | po/tiktok.pot (renamed from po/messages.pot) | 0 |
6 files changed, 4 insertions, 4 deletions
@@ -11,8 +11,8 @@ tiktok: main.c $(CC) $(CFLAGS) -DPODIR='"$(PODIR)"' -o $@ $< extract: - xgettext --from-code=UTF-8 -k_ -o po/messages.pot main.c - find po -name '*.po' -exec msgmerge {} po/messages.pot -o {} \; + xgettext --from-code=UTF-8 -k_ -o po/tiktok.pot main.c + find po -name '*.po' -exec msgmerge {} po/tiktok.pot -o {} \; translations: find po -name '*.po' | while read -r file; do msgfmt "$$file" -o "$${file%po}mo"; done @@ -35,8 +35,8 @@ int main(int argc, char **argv) { setlocale(LC_ALL, ""); - bindtextdomain("messages", PODIR); - textdomain("messages"); + bindtextdomain("tiktok", PODIR); + textdomain("tiktok"); char interval = 's'; const char *argv0 = basename(argv[0]); diff --git a/po/pt/LC_MESSAGES/messages.po b/po/pt/LC_MESSAGES/tiktok.po index 6c2e7ff..6c2e7ff 100644 --- a/po/pt/LC_MESSAGES/messages.po +++ b/po/pt/LC_MESSAGES/tiktok.po diff --git a/po/pt_BR/LC_MESSAGES/messages.po b/po/pt_BR/LC_MESSAGES/tiktok.po index a63dbbc..a63dbbc 100644 --- a/po/pt_BR/LC_MESSAGES/messages.po +++ b/po/pt_BR/LC_MESSAGES/tiktok.po diff --git a/po/sv/LC_MESSAGES/messages.po b/po/sv/LC_MESSAGES/tiktok.po index 7e8dce3..7e8dce3 100644 --- a/po/sv/LC_MESSAGES/messages.po +++ b/po/sv/LC_MESSAGES/tiktok.po diff --git a/po/messages.pot b/po/tiktok.pot index 01929bf..01929bf 100644 --- a/po/messages.pot +++ b/po/tiktok.pot |