summaryrefslogtreecommitdiffhomepage
path: root/scripts/tr
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-10 20:23:22 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-10 20:23:22 +0200
commit3bbb659980b4160055df03355d7a933ba211d0df (patch)
treec00625c5b69db77a3dec771f07871b030bfec5ae /scripts/tr
parent2ebbe2e33234c25dc03c24a5f95c84fa3f52bcdf (diff)
Add country name translations
Diffstat (limited to 'scripts/tr')
-rwxr-xr-xscripts/tr6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/tr b/scripts/tr
new file mode 100755
index 0000000..63e600b
--- /dev/null
+++ b/scripts/tr
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "$1" | sed -E '
+ s/((..):([^,]+))/@span lang="\2" .translation {-\3}/g
+ s/,//g
+' \ No newline at end of file