Locallazy: Convert even more strings (#11679)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
R Midhun Suresh 2023-10-02 16:13:00 +05:30 committed by GitHub
parent 8d289544b3
commit 9a76d6b9a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 6216 additions and 5101 deletions

View file

@ -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();
});

View file

@ -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", () => {

View file

@ -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 друг",
},
},
},
};