mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 11:23:10 +02:00
Sync Translations + tauri fix for get info (#6484)
### Description of Changes This Pull Request was automatically generated to synchronize updates to translation files and documentation. Below are the details of the changes made: #### **1. Synchronization of Translation Files** - Updated translation files (`frontend/editor/public/locales/*/translation.toml`) to reflect changes in the reference file `en-GB/translation.toml`. - Ensured consistency and synchronization across all supported language files. - Highlighted any missing or incomplete translations. - **Format**: TOML #### **2. Update README.md** - Generated the translation progress table in `README.md` using `counter_translation_v3.py`. - Added a summary of the current translation status for all supported languages. - Included up-to-date statistics on translation coverage. #### **Why these changes are necessary** - Keeps translation files aligned with the latest reference updates. - Ensures the documentation reflects the current translation progress. --- Auto-generated by [create-pull-request][1]. [1]: https://github.com/peter-evans/create-pull-request --------- Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> Co-authored-by: Anthony Stirling <[email protected]>
This commit is contained in:
co-authored by
stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
Anthony Stirling
parent
71361f0d33
commit
be914c7135
@@ -743,6 +743,7 @@ function FileCard({
|
||||
size="sm"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
aria-label={t("filesPage.fileMenu", "File actions")}
|
||||
data-testid="file-card-actions"
|
||||
>
|
||||
<MoreVertIcon fontSize="small" />
|
||||
</ActionIcon>
|
||||
@@ -773,6 +774,7 @@ function FileCard({
|
||||
e.stopPropagation();
|
||||
onMove();
|
||||
}}
|
||||
data-testid="file-menu-move-to"
|
||||
>
|
||||
{t("filesPage.moveTo", "Move to…")}
|
||||
</Menu.Item>
|
||||
@@ -1331,6 +1333,7 @@ function FileRow({
|
||||
size="sm"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
aria-label={t("filesPage.fileMenu", "File actions")}
|
||||
data-testid="file-card-actions"
|
||||
>
|
||||
<MoreVertIcon fontSize="small" />
|
||||
</ActionIcon>
|
||||
|
||||
@@ -191,6 +191,7 @@ export function MoveToFolderDialog({
|
||||
return creatingFolder ? (
|
||||
<Group gap="xs" align="flex-end" wrap="nowrap">
|
||||
<TextInput
|
||||
data-testid="move-dialog-new-folder-name"
|
||||
label={t(
|
||||
"filesPage.moveDialog.newFolderLabel",
|
||||
"New folder name",
|
||||
@@ -251,6 +252,7 @@ export function MoveToFolderDialog({
|
||||
setNewFolderName("");
|
||||
}}
|
||||
styles={{ root: { alignSelf: "flex-start" } }}
|
||||
data-testid="move-dialog-create-folder-toggle"
|
||||
>
|
||||
{t(
|
||||
"filesPage.moveDialog.newFolderToggle",
|
||||
|
||||
@@ -486,12 +486,13 @@ test.describe("Files page screenshots", () => {
|
||||
const card = page
|
||||
.locator(".files-page-card:not(.is-folder)")
|
||||
.filter({ hasText: "alpha.pdf" });
|
||||
await card.getByRole("button", { name: /File actions/i }).click();
|
||||
await page.getByRole("menuitem", { name: /Move to/i }).click();
|
||||
await page.getByRole("button", { name: /Create new folder/i }).click();
|
||||
await expect(
|
||||
page.getByRole("textbox", { name: /New folder name/i }),
|
||||
).toBeVisible();
|
||||
// Locate by stable test ids, not translated accessible names: this test
|
||||
// runs in Arabic (enableRtl), so English-text locators break once the
|
||||
// ar-AR strings are actually translated.
|
||||
await card.getByTestId("file-card-actions").click();
|
||||
await page.getByTestId("file-menu-move-to").click();
|
||||
await page.getByTestId("move-dialog-create-folder-toggle").click();
|
||||
await expect(page.getByTestId("move-dialog-new-folder-name")).toBeVisible();
|
||||
await settle(page);
|
||||
await page.screenshot({
|
||||
path: shotPath("17_rtl_move_dialog_create_folder"),
|
||||
|
||||
Reference in New Issue
Block a user