Added original files/folder organization

This commit is contained in:
GitCosm0s
2026-02-07 12:28:45 -05:00
parent 76ddcde22e
commit e53cecc95f
2464 changed files with 174131 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Create a 'source' file holding all the strings from the menus.
# That file (menu_strings) is listed in po/POTFILES.in so the strings will go into
# tuxmath.pot and subsequently into the individual po files for translation.
# NOTE this script needs to be kept in the same dir as the menu files
rm -f ./menu_strings
sed -n 's/^.*title=\("[^"]*"\).*$/_(\1)/p' main_menu.xml | sort | uniq > title_strings
sed -n 's/^.*desc=\("[^"]*"\).*$/_(\1)/p' main_menu.xml | sort | uniq > desc_strings
cat title_strings desc_strings > menu_strings
rm -f title_strings desc_strings