summaryrefslogtreecommitdiff
path: root/scripts/code_tools/modified-strings.sh
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-06-10 20:10:47 +0300
committerGitHub <noreply@github.com>2024-06-10 20:10:47 +0300
commit749f8c9c7d27c5f4675a96e37d7c9a733505121e (patch)
treeb2853d87789dbb84d6c26c259eab6639d3a7e482 /scripts/code_tools/modified-strings.sh
parent32fcefc058ae38eff0572326ef3efd1c7b343144 (diff)
parentf74c10c4ec6435471bac84473fe865f90843c2df (diff)
Merge pull request #1585 from secondlife/signal/trim-trailing
Trim trailing whitespace
Diffstat (limited to 'scripts/code_tools/modified-strings.sh')
-rw-r--r--scripts/code_tools/modified-strings.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/code_tools/modified-strings.sh b/scripts/code_tools/modified-strings.sh
index 435dda3f5d..932b0a4bfc 100644
--- a/scripts/code_tools/modified-strings.sh
+++ b/scripts/code_tools/modified-strings.sh
@@ -38,11 +38,11 @@ do
-h|--help)
Action=USAGE
;;
-
+
-v|--verbose)
Verbose=true
;;
-
+
##
## Select the revision to compare against
##
@@ -79,7 +79,7 @@ do
break
fi
;;
- esac
+ esac
shift # always consume 1
done
@@ -107,10 +107,10 @@ then
cat <<USAGE
Usage:
-
+
modified-strings.sh [ { -v | --verbose } ] [-r <revision>] [<path-to-xui>]
- where
+ where
--verbose shows progress messages on stderr (the command takes a while, so this is reassuring)
-r <revision> specifies a git revision (branch, tag, commit, or relative specifier)
@@ -124,9 +124,9 @@ Usage:
the path of a file that has a string change (columns 2 and 3 are empty for lines with a filename)
name
the name attribute of a string or label whose value changed
- English value
+ English value
the current value of the string or label whose value changed
- for strings, newlines are changed to '\n' and tab characters are changed to '\t'
+ for strings, newlines are changed to '\n' and tab characters are changed to '\t'
There is also a column for each of the language directories following the English.