-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ideal-image): allow translating status messages (#6173)
* feat(ideal-image): allow translating ideal image messages * Add source notice * Add note * Revert update translation changes * Actually return default translations * Fixes * Update index.ts
- Loading branch information
Showing
29 changed files
with
278 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
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
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/ar/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/docusaurus-theme-translations/locales/base/plugin-ideal-image.json
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,12 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.404error___DESCRIPTION": "When the image is not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.error___DESCRIPTION": "When the image fails to load for unknown error", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.load___DESCRIPTION": "To prompt users to load the full image. sizeMessage is a parenthesized size figure.", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.loading___DESCRIPTION": "When the full-scale image is loading", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded", | ||
"theme.IdealImageMessage.offline___DESCRIPTION": "When the user is viewing an offline document" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/bn/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/cs/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/da/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/de/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/es/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/fa/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/fil/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/fr/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/he/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/hi/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/it/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/ja/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/ko/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/pl/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/pt-BR/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/pt-PT/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/ru/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/sr/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/tr/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/vi/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "404. Image not found", | ||
"theme.IdealImageMessage.error": "Error. Click to reload", | ||
"theme.IdealImageMessage.load": "Click to load{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "Loading...", | ||
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/zh-Hans/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "未找到图片", | ||
"theme.IdealImageMessage.error": "出现错误,点击重试", | ||
"theme.IdealImageMessage.load": "点击加载图片{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "加载中……", | ||
"theme.IdealImageMessage.offline": "你的浏览器处于离线状态。图片未加载" | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/docusaurus-theme-translations/locales/zh-Hant/plugin-ideal-image.json
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,7 @@ | ||
{ | ||
"theme.IdealImageMessage.404error": "未找到圖片", | ||
"theme.IdealImageMessage.error": "出現錯誤,點擊重試", | ||
"theme.IdealImageMessage.load": "點擊以加載{sizeMessage}", | ||
"theme.IdealImageMessage.loading": "加載中...", | ||
"theme.IdealImageMessage.offline": "你的瀏覽器處於離線狀態。圖片未加載" | ||
} |
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