[loc] use a direct table for the messages

* More efficient and also the first step for addressing #188
This commit is contained in:
Pete Batard 2013-12-18 01:20:44 +00:00
parent c9d44a5303
commit f3cf32f8d8
8 changed files with 92 additions and 54 deletions

View file

@ -11,7 +11,7 @@ s/[ \t]*$//
# remove the UI controls for "en-US" as they are just here for translators
# 1,300 means we only do this for the the first 300 lines
1,300 {/^g IDD_DIALOG/,/^g IDD_MESSAGES/{/^g IDD_MESSAGES/!d}}
1,300 {/^g IDD_DIALOG/,/^t MSG_001/{/^t MSG_001/!d}}
# also replace the "translated by" line for English
1,500{s/^t MSG_176.*$/t MSG_176 \"mailto:pete@akeo.ie\"/}