major
nice-to-have
minor
- "Add Tab," but "Configure Tab," see doc:LayoutEditor
Implementation
Globally, "Reiter" is replaced by "Tab" in the singular and "Tabs" in the plural.
Since the word "Reiter" appears well over 1,000 times in the workspace, an efficient tool is needed that replaces all instances of "Reiter" with "Tab" or "Tabs," but also prompts the user for confirmation, since the choice of replacement depends on the context. A chain of well-known GNU utilities is a good solution here.
For example, you can use Cygwin for this. If you are in the workspace directory, the following command will suffice:
find . -type f -name "*.html"
-exec grep -q 'Reiter' {} \;
-exec vim -c '%s/Reiter/Tab/gc' -c 'wq' {} \;
to replace "Reiter" with "Tab" in all HTML files. The user must confirm or reject each replacement step before proceeding to the next one.
- `find ` is used to locate all files of a certain type that may contain words to be replaced.
- `grep` is used to further filter the files (in this case: those that must contain the word "Reiter") found by ` find `.
- `vim` is used to replace "Reiter" with "Tab." For the replacement (%s), the two flags `g` (global, replace all occurrences of "Reiter" in this file) and `c` (confirmation) are used to achieve the desired behavior.
For example, you’ll get the following result:
You can confirm with “y” and reject with “n.” You can then proceed directly to the next replacement. You don’t have to go through the hassle of clicking buttons with the mouse and can “check” the replacements quite quickly.
Test
"Configure Tabs" should now be called "Configure Tabs." The word "Reiter" should no longer appear in the application resources.