Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1392255: Address bugs found during testing
- Strip trailing newlines for easier translated status detection. This fixes the bug that prevented switching back to the rich FTL editor after switching to source view for untranslated pluralized source strings. - Prevent unsaved changes warning to show up when saving virtually any FTL translation. - Treat strings containing only text and references to external arguments and other messages as simple strings. - Extend copy from helpers support for FTL strings: * Allow copy from history and other locales in source editor * Allow copy from other locales in rich FTL editor - Allow switching to rich FTL if source editor empty. - Add ability to display custom plural forms. Previously, FTL editor only supported pluralized translations that used variants for one of the CLDR plural forms available for the locale. FTL also allows adding custom variants, usually numbers, usually 0. Because "No strings" sounds better than "0 Strings". - In FTL source editor, use default tab behaviour.
- Loading branch information
Showing
2 changed files
with
124 additions
and
78 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