diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-08-10 20:23:22 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-08-10 20:23:22 +0200 |
commit | 3bbb659980b4160055df03355d7a933ba211d0df (patch) | |
tree | c00625c5b69db77a3dec771f07871b030bfec5ae /scripts/tr | |
parent | 2ebbe2e33234c25dc03c24a5f95c84fa3f52bcdf (diff) |
Add country name translations
Diffstat (limited to 'scripts/tr')
-rwxr-xr-x | scripts/tr | 6 |
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 |