fix(watch): the Hungarian unlock button says a noun for a video too, as for a file
"Megnézem" (a first-person verb) and "Megnyitás" (a noun) labelled the same button by link kind; the app's Hungarian buttons are nouns, so a video's reads "Megtekintés".
This commit is contained in:
@@ -28,3 +28,12 @@ describe("the watch page's document language", () => {
|
||||
expect(document.documentElement.lang).toBe(want);
|
||||
});
|
||||
});
|
||||
|
||||
// One button, two kinds of link: it says the same kind of word for both, as the app's own buttons
|
||||
// do in Hungarian — a noun (Letöltés, Megnyitás), not a first-person verb on one of them.
|
||||
describe("the password form's button", () => {
|
||||
it("reads as a noun for a video and for anything else in Hungarian", async () => {
|
||||
const { T } = await pageIn("hu-HU");
|
||||
expect([T.watch, T.open]).toEqual(["Megtekintés", "Megnyitás"]);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -39,7 +39,7 @@ const STR = {
|
||||
goneHint: "Lehet, hogy lejárt, vagy a tulajdonos visszavonta.",
|
||||
passwordTitle: "Ez a videó jelszóval védett",
|
||||
passwordPlaceholder: "Add meg a jelszót",
|
||||
watch: "Megnézem",
|
||||
watch: "Megtekintés",
|
||||
wrong: "Hibás jelszó.",
|
||||
download: "Letöltés",
|
||||
file: "Fájl",
|
||||
|
||||
Reference in New Issue
Block a user