-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.2] Fix trans capitalization when replacement is numerical array (#…
…14249) * Reorder search and replace Reorders the 3 search terms from [':ATTRIBUTE', ':Attribute', ':attribute'] to [':attribute', ':ATTRIBUTE', ':Attribute'], so that replacements indexed numerically (undocumented) would not get capitalized. Translation string: 'Hello, :0!' Replacement array: ['World'] Expected: 'Hello, World!' * Reorder search and replace Reorders the 3 search terms from `[':ATTRIBUTE', ':Attribute', ':attribute']` to `[':attribute', ':ATTRIBUTE', ':Attribute']`, so that replacements indexed numerically (undocumented) would not get capitalized. * Add test for trans replacement capitalization
- Loading branch information
1 parent
f4267b0
commit def547d
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters