summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-09-06 13:39:56 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-09-06 13:39:56 +0200
commit954800fe5907b085870f07b7d771ffd83b42c67d (patch)
tree6c8219a15100fb815e2b7a3d358d44239b565933
parent539cdd0e0db49ec7b032349164d1c82e13c676dd (diff)
Rename messages.po(t) to tiktok.po(t)
-rw-r--r--Makefile4
-rw-r--r--main.c4
-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
diff --git a/Makefile b/Makefile
index d195472..d0bfcaf 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/main.c b/main.c
index b8d6526..aca663a 100644
--- a/main.c
+++ b/main.c
@@ -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