-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[i18n] remove i18n html extractor (#115004)
- Loading branch information
Showing
14 changed files
with
36 additions
and
508 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
8 changes: 0 additions & 8 deletions
8
src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_1/test_file_4.html
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_2/test_file.html
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_2/test_file.jsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* eslint-disable */ | ||
|
||
i18n.translate('plugin_2.duplicate_id', { defaultMessage: 'Message 1' }); | ||
|
||
i18n.translate('plugin_2.duplicate_id', { | ||
defaultMessage: 'Message 2', | ||
description: 'Message description', | ||
}); |
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
...18n/__fixtures__/extract_default_translations/test_plugin_3_additional_path/test_file.jsx
This file was deleted.
Oops, something went wrong.
22 changes: 4 additions & 18 deletions
22
src/dev/i18n/__snapshots__/extract_default_translations.test.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.