Locallazy: Convert even more strings (#11679)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8d289544b3
commit
9a76d6b9a3
82 changed files with 6216 additions and 5101 deletions
|
@ -47,7 +47,7 @@ describe("<EmbeddedPage />", () => {
|
|||
|
||||
const { asFragment } = render(<EmbeddedPage url="https://other.page" />);
|
||||
await screen.findByText("Couldn't load page");
|
||||
expect(_t).toHaveBeenCalledWith("Couldn't load page");
|
||||
expect(_t).toHaveBeenCalledWith("cant_load_page");
|
||||
expect(asFragment()).toMatchSnapshot();
|
||||
});
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ describe("languageHandler JSX", function () {
|
|||
});
|
||||
|
||||
// mocked lv has only `"Uploading %(filename)s and %(count)s others|one"`
|
||||
const lvExistingPlural = "Uploading %(filename)s and %(count)s others";
|
||||
const lvExistingPlural = "room|upload|uploading_multiple_file";
|
||||
const lvNonExistingPlural = "%(spaceName)s and %(count)s others";
|
||||
|
||||
describe("pluralization", () => {
|
||||
|
|
|
@ -21,9 +21,13 @@ import en from "../../src/i18n/strings/en_EN.json";
|
|||
import de from "../../src/i18n/strings/de_DE.json";
|
||||
|
||||
const lv = {
|
||||
"Save": "Saglabāt",
|
||||
"Uploading %(filename)s and %(count)s others": {
|
||||
one: "Качване на %(filename)s и %(count)s друг",
|
||||
Save: "Saglabāt",
|
||||
room: {
|
||||
upload: {
|
||||
uploading_multiple_file: {
|
||||
one: "Качване на %(filename)s и %(count)s друг",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue