Changeset 214835 in webkit
- Timestamp:
- Apr 3, 2017 1:44:54 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r214832 r214835 1 2017-04-03 Brian Burg <bburg@apple.com> 2 3 run-safari should support launching with custom language and locale 4 https://bugs.webkit.org/show_bug.cgi?id=170397 5 6 Reviewed by Alexey Proskuryakov. 7 8 Hook up -AppleLanguages and -AppleLocale to command line options. 9 10 * Scripts/webkitdirs.pm: 11 (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): 12 (argumentsForRunAndDebugMacWebKitApp): 13 1 14 2017-04-03 Jonathan Bedard <jbedard@apple.com> 2 15 -
trunk/Tools/Scripts/webkitdirs.pm
r214631 r214835 2177 2177 --help Show this help message 2178 2178 --no-saved-state Launch the application without state restoration 2179 -g|--guard-malloc Enable Guard Malloc (OS X only) 2179 2180 Options specific to macOS: 2181 -g|--guard-malloc Enable Guard Malloc 2182 --lang=LANGUAGE Use a specific language instead of system language. 2183 This accepts a language name (German) or a language code (de, ar, pt_BR, etc). 2184 --locale=LOCALE Use a specific locale instead of the system region. 2180 2185 EOF 2181 2186 … … 2191 2196 push @args, ("-ApplePersistenceIgnoreState", "YES"); 2192 2197 } 2198 2199 my $lang; 2200 if (checkForArgumentAndRemoveFromARGVGettingValue("--lang", \$lang)) { 2201 push @args, ("-AppleLanguages", "(" . $lang . ")"); 2202 } 2203 2204 my $locale; 2205 if (checkForArgumentAndRemoveFromARGVGettingValue("--locale", \$locale)) { 2206 push @args, ("-AppleLocale", $locale); 2207 } 2208 2193 2209 unshift @args, @ARGV; 2194 2210
Note: See TracChangeset
for help on using the changeset viewer.