diff --git a/.github/scripts/check_language_properties.py b/.github/scripts/check_language_properties.py deleted file mode 100644 index a77c378a6..000000000 --- a/.github/scripts/check_language_properties.py +++ /dev/null @@ -1,403 +0,0 @@ -""" -Author: Ludy87 -Description: This script processes .properties files for localization checks. It compares translation files in a branch with -a reference file to ensure consistency. The script performs two main checks: -1. Verifies that the number of lines (including comments and empty lines) in the translation files matches the reference file. -2. Ensures that all keys in the translation files are present in the reference file and vice versa. - -The script also provides functionality to update the translation files to match the reference file by adding missing keys and -adjusting the format. - -Usage: - python check_language_properties.py --reference-file --branch [--actor ] [--files ] -""" -# Sample for Windows: -# python .github/scripts/check_language_properties.py --reference-file src\main\resources\messages_en_GB.properties --branch "" --files src\main\resources\messages_de_DE.properties src\main\resources\messages_uk_UA.properties - -import copy -import glob -import os -import argparse -import re - - -def find_duplicate_keys(file_path): - """ - Identifies duplicate keys in a .properties file. - :param file_path: Path to the .properties file. - :return: List of tuples (key, first_occurrence_line, duplicate_line). - """ - keys = {} - duplicates = [] - - with open(file_path, "r", encoding="utf-8") as file: - for line_number, line in enumerate(file, start=1): - stripped_line = line.strip() - - # Skip empty lines and comments - if not stripped_line or stripped_line.startswith("#"): - continue - - # Split the line into key and value - if "=" in stripped_line: - key, _ = stripped_line.split("=", 1) - key = key.strip() - - # Check if the key already exists - if key in keys: - duplicates.append((key, keys[key], line_number)) - else: - keys[key] = line_number - - return duplicates - - -# Maximum size for properties files (e.g., 200 KB) -MAX_FILE_SIZE = 200 * 1024 - - -def parse_properties_file(file_path): - """ - Parses a .properties file and returns a structured list of its contents. - :param file_path: Path to the .properties file. - :return: List of dictionaries representing each line in the file. - """ - properties_list = [] - with open(file_path, "r", encoding="utf-8") as file: - for line_number, line in enumerate(file, start=1): - stripped_line = line.strip() - - # Handle empty lines - if not stripped_line: - properties_list.append( - {"line_number": line_number, "type": "empty", "content": ""} - ) - continue - - # Handle comments - if stripped_line.startswith("#"): - properties_list.append( - { - "line_number": line_number, - "type": "comment", - "content": stripped_line, - } - ) - continue - - # Handle key-value pairs - match = re.match(r"^([^=]+)=(.*)$", line) - if match: - key, value = match.groups() - properties_list.append( - { - "line_number": line_number, - "type": "entry", - "key": key.strip(), - "value": value.strip(), - } - ) - - return properties_list - - -def write_json_file(file_path, updated_properties): - """ - Writes updated properties back to the file in their original format. - :param file_path: Path to the .properties file. - :param updated_properties: List of updated properties to write. - """ - updated_lines = {entry["line_number"]: entry for entry in updated_properties} - - # Sort lines by their numbers and retain comments and empty lines - all_lines = sorted(set(updated_lines.keys())) - - original_format = [] - for line in all_lines: - if line in updated_lines: - entry = updated_lines[line] - else: - entry = None - ref_entry = updated_lines[line] - if ref_entry["type"] in ["comment", "empty"]: - original_format.append(ref_entry) - elif entry is None: - # Add missing entries from the reference file - original_format.append(ref_entry) - elif entry["type"] == "entry": - # Replace entries with those from the current JSON - original_format.append(entry) - - # Write the updated content back to the file - with open(file_path, "w", encoding="utf-8", newline="\n") as file: - for entry in original_format: - if entry["type"] == "comment": - file.write(f"{entry['content']}\n") - elif entry["type"] == "empty": - file.write(f"{entry['content']}\n") - elif entry["type"] == "entry": - file.write(f"{entry['key']}={entry['value']}\n") - - -def update_missing_keys(reference_file, file_list, branch=""): - """ - Updates missing keys in the translation files based on the reference file. - :param reference_file: Path to the reference .properties file. - :param file_list: List of translation files to update. - :param branch: Branch where the files are located. - """ - reference_properties = parse_properties_file(reference_file) - for file_path in file_list: - basename_current_file = os.path.basename(os.path.join(branch, file_path)) - if ( - basename_current_file == os.path.basename(reference_file) - or not file_path.endswith(".properties") - or not basename_current_file.startswith("messages_") - ): - continue - - current_properties = parse_properties_file(os.path.join(branch, file_path)) - updated_properties = [] - for ref_entry in reference_properties: - ref_entry_copy = copy.deepcopy(ref_entry) - for current_entry in current_properties: - if current_entry["type"] == "entry": - if ref_entry_copy["type"] != "entry": - continue - if ref_entry_copy["key"].lower() == current_entry["key"].lower(): - ref_entry_copy["value"] = current_entry["value"] - updated_properties.append(ref_entry_copy) - write_json_file(os.path.join(branch, file_path), updated_properties) - - -def check_for_missing_keys(reference_file, file_list, branch): - update_missing_keys(reference_file, file_list, branch) - - -def read_properties(file_path): - if os.path.isfile(file_path) and os.path.exists(file_path): - with open(file_path, "r", encoding="utf-8") as file: - return file.read().splitlines() - return [""] - - -def check_for_differences(reference_file, file_list, branch, actor): - reference_branch = reference_file.split("/")[0] - basename_reference_file = os.path.basename(reference_file) - - report = [] - report.append(f"#### 🔄 Reference Branch: `{reference_branch}`") - reference_lines = read_properties(reference_file) - has_differences = False - - only_reference_file = True - - file_arr = file_list - - if len(file_list) == 1: - file_arr = file_list[0].split() - base_dir = os.path.abspath( - os.path.join(os.getcwd(), "app", "core", "src", "main", "resources") - ) - - for file_path in file_arr: - file_normpath = os.path.normpath(file_path) - absolute_path = os.path.abspath(file_normpath) - # Verify that file is within the expected directory - if not absolute_path.startswith(base_dir): - raise ValueError(f"Unsafe file found: {file_normpath}") - # Verify file size before processing - if os.path.getsize(os.path.join(branch, file_normpath)) > MAX_FILE_SIZE: - raise ValueError( - f"The file {file_normpath} is too large and could pose a security risk." - ) - - basename_current_file = os.path.basename(os.path.join(branch, file_normpath)) - if ( - basename_current_file == basename_reference_file - or ( - # only local windows command - not file_normpath.startswith( - os.path.join( - "", "app", "core", "src", "main", "resources", "messages_" - ) - ) - and not file_normpath.startswith( - os.path.join( - os.getcwd(), - "app", - "core", - "src", - "main", - "resources", - "messages_", - ) - ) - ) - or not file_normpath.endswith(".properties") - or not basename_current_file.startswith("messages_") - ): - continue - only_reference_file = False - report.append(f"#### 📃 **File Check:** `{basename_current_file}`") - current_lines = read_properties(os.path.join(branch, file_path)) - reference_line_count = len(reference_lines) - current_line_count = len(current_lines) - - if reference_line_count != current_line_count: - report.append("") - report.append("1. **Test Status:** ❌ **_Failed_**") - report.append(" - **Issue:**") - has_differences = True - if reference_line_count > current_line_count: - report.append( - f" - **_Mismatched line count_**: {reference_line_count} (reference) vs {current_line_count} (current). Comments, empty lines, or translation strings are missing." - ) - elif reference_line_count < current_line_count: - report.append( - f" - **_Too many lines_**: {reference_line_count} (reference) vs {current_line_count} (current). Please verify if there is an additional line that needs to be removed." - ) - else: - report.append("1. **Test Status:** ✅ **_Passed_**") - - # Check for missing or extra keys - current_keys = [] - reference_keys = [] - for line in current_lines: - if not line.startswith("#") and line != "" and "=" in line: - key, _ = line.split("=", 1) - current_keys.append(key) - for line in reference_lines: - if not line.startswith("#") and line != "" and "=" in line: - key, _ = line.split("=", 1) - reference_keys.append(key) - - current_keys_set = set(current_keys) - reference_keys_set = set(reference_keys) - missing_keys = current_keys_set.difference(reference_keys_set) - extra_keys = reference_keys_set.difference(current_keys_set) - missing_keys_list = list(missing_keys) - extra_keys_list = list(extra_keys) - - if missing_keys_list or extra_keys_list: - has_differences = True - missing_keys_str = "`, `".join(missing_keys_list) - extra_keys_str = "`, `".join(extra_keys_list) - report.append("2. **Test Status:** ❌ **_Failed_**") - report.append(" - **Issue:**") - if missing_keys_list: - spaces_keys_list = [] - for key in missing_keys_list: - if " " in key: - spaces_keys_list.append(key) - if spaces_keys_list: - spaces_keys_str = "`, `".join(spaces_keys_list) - report.append( - f" - **_Keys containing unnecessary spaces_**: `{spaces_keys_str}`!" - ) - report.append( - f" - **_Extra keys in `{basename_current_file}`_**: `{missing_keys_str}` that are not present in **_`{basename_reference_file}`_**." - ) - if extra_keys_list: - report.append( - f" - **_Missing keys in `{basename_reference_file}`_**: `{extra_keys_str}` that are not present in **_`{basename_current_file}`_**." - ) - else: - report.append("2. **Test Status:** ✅ **_Passed_**") - - if find_duplicate_keys(os.path.join(branch, file_normpath)): - has_differences = True - output = "\n".join( - [ - f" - `{key}`: first at line {first}, duplicate at `line {duplicate}`" - for key, first, duplicate in find_duplicate_keys( - os.path.join(branch, file_normpath) - ) - ] - ) - report.append("3. **Test Status:** ❌ **_Failed_**") - report.append(" - **Issue:**") - report.append(" - duplicate entries were found:") - report.append(output) - else: - report.append("3. **Test Status:** ✅ **_Passed_**") - - report.append("") - report.append("---") - report.append("") - if has_differences: - report.append("## ❌ Overall Check Status: **_Failed_**") - report.append("") - report.append( - f"@{actor} please check your translation if it conforms to the standard. Follow the format of [messages_en_GB.properties](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/app/core/src/main/resources/messages_en_GB.properties)" - ) - else: - report.append("## ✅ Overall Check Status: **_Success_**") - report.append("") - report.append( - f"Thanks @{actor} for your help in keeping the translations up to date." - ) - - if not only_reference_file: - print("\n".join(report)) - - -if __name__ == "__main__": - parser = argparse.ArgumentParser(description="Find missing keys") - parser.add_argument( - "--actor", - required=False, - help="Actor from PR.", - ) - parser.add_argument( - "--reference-file", - required=True, - help="Path to the reference file.", - ) - parser.add_argument( - "--branch", - type=str, - required=True, - help="Branch name.", - ) - parser.add_argument( - "--check-file", - type=str, - required=False, - help="List of changed files, separated by spaces.", - ) - parser.add_argument( - "--files", - nargs="+", - required=False, - help="List of changed files, separated by spaces.", - ) - args = parser.parse_args() - - # Sanitize --actor input to avoid injection attacks - if args.actor: - args.actor = re.sub(r"[^a-zA-Z0-9_\\-]", "", args.actor) - - # Sanitize --branch input to avoid injection attacks - if args.branch: - args.branch = re.sub(r"[^a-zA-Z0-9\\-]", "", args.branch) - - file_list = args.files - if file_list is None: - if args.check_file: - file_list = [args.check_file] - else: - file_list = glob.glob( - os.path.join( - os.getcwd(), - "app", - "core", - "src", - "main", - "resources", - "messages_*.properties", - ) - ) - update_missing_keys(args.reference_file, file_list) - else: - check_for_differences(args.reference_file, file_list, args.branch, args.actor) diff --git a/.github/scripts/check_language_json.py b/.github/scripts/check_language_toml.py similarity index 84% rename from .github/scripts/check_language_json.py rename to .github/scripts/check_language_toml.py index 3921bdaa5..494f90962 100644 --- a/.github/scripts/check_language_json.py +++ b/.github/scripts/check_language_toml.py @@ -1,6 +1,6 @@ """ Author: Ludy87 -Description: This script processes JSON translation files for localization checks. It compares translation files in a branch with +Description: This script processes TOML translation files for localization checks. It compares translation files in a branch with a reference file to ensure consistency. The script performs two main checks: 1. Verifies that the number of translation keys in the translation files matches the reference file. 2. Ensures that all keys in the translation files are present in the reference file and vice versa. @@ -9,10 +9,10 @@ The script also provides functionality to update the translation files to match adjusting the format. Usage: - python check_language_json.py --reference-file --branch [--actor ] [--files ] + python check_language_toml.py --reference-file --branch [--actor ] [--files ] """ # Sample for Windows: -# python .github/scripts/check_language_json.py --reference-file frontend/public/locales/en-GB/translation.json --branch "" --files frontend/public/locales/de-DE/translation.json frontend/public/locales/fr-FR/translation.json +# python .github/scripts/check_language_toml.py --reference-file frontend/public/locales/en-GB/translation.toml --branch "" --files frontend/public/locales/de-DE/translation.toml frontend/public/locales/fr-FR/translation.toml import copy import glob @@ -20,12 +20,14 @@ import os import argparse import re import json +import tomllib # Python 3.11+ (stdlib) +import tomli_w # For writing TOML files def find_duplicate_keys(file_path, keys=None, prefix=""): """ - Identifies duplicate keys in a JSON file (including nested keys). - :param file_path: Path to the JSON file. + Identifies duplicate keys in a TOML file (including nested keys). + :param file_path: Path to the TOML file. :param keys: Dictionary to track keys (used for recursion). :param prefix: Prefix for nested keys. :return: List of tuples (key, first_occurrence_path, duplicate_path). @@ -35,8 +37,9 @@ def find_duplicate_keys(file_path, keys=None, prefix=""): duplicates = [] - with open(file_path, "r", encoding="utf-8") as file: - data = json.load(file) + # Load TOML file + with open(file_path, 'rb') as file: + data = tomllib.load(file) def process_dict(obj, current_prefix=""): for key, value in obj.items(): @@ -54,18 +57,18 @@ def find_duplicate_keys(file_path, keys=None, prefix=""): return duplicates -# Maximum size for JSON files (e.g., 500 KB) +# Maximum size for TOML files (e.g., 500 KB) MAX_FILE_SIZE = 500 * 1024 -def parse_json_file(file_path): +def parse_toml_file(file_path): """ - Parses a JSON translation file and returns a flat dictionary of all keys. - :param file_path: Path to the JSON file. + Parses a TOML translation file and returns a flat dictionary of all keys. + :param file_path: Path to the TOML file. :return: Dictionary with flattened keys. """ - with open(file_path, "r", encoding="utf-8") as file: - data = json.load(file) + with open(file_path, 'rb') as file: + data = tomllib.load(file) def flatten_dict(d, parent_key="", sep="."): items = {} @@ -99,38 +102,37 @@ def unflatten_dict(d, sep="."): return result -def write_json_file(file_path, updated_properties): +def write_toml_file(file_path, updated_properties): """ - Writes updated properties back to the JSON file. - :param file_path: Path to the JSON file. + Writes updated properties back to the TOML file. + :param file_path: Path to the TOML file. :param updated_properties: Dictionary of updated properties to write. """ nested_data = unflatten_dict(updated_properties) - with open(file_path, "w", encoding="utf-8", newline="\n") as file: - json.dump(nested_data, file, ensure_ascii=False, indent=2) - file.write("\n") # Add trailing newline + with open(file_path, "wb") as file: + tomli_w.dump(nested_data, file) def update_missing_keys(reference_file, file_list, branch=""): """ Updates missing keys in the translation files based on the reference file. - :param reference_file: Path to the reference JSON file. + :param reference_file: Path to the reference TOML file. :param file_list: List of translation files to update. :param branch: Branch where the files are located. """ - reference_properties = parse_json_file(reference_file) + reference_properties = parse_toml_file(reference_file) for file_path in file_list: basename_current_file = os.path.basename(os.path.join(branch, file_path)) if ( basename_current_file == os.path.basename(reference_file) - or not file_path.endswith(".json") + or not file_path.endswith(".toml") or not os.path.dirname(file_path).endswith("locales") ): continue - current_properties = parse_json_file(os.path.join(branch, file_path)) + current_properties = parse_toml_file(os.path.join(branch, file_path)) updated_properties = {} for ref_key, ref_value in reference_properties.items(): @@ -141,16 +143,16 @@ def update_missing_keys(reference_file, file_list, branch=""): # Add missing key with reference value updated_properties[ref_key] = ref_value - write_json_file(os.path.join(branch, file_path), updated_properties) + write_toml_file(os.path.join(branch, file_path), updated_properties) def check_for_missing_keys(reference_file, file_list, branch): update_missing_keys(reference_file, file_list, branch) -def read_json_keys(file_path): +def read_toml_keys(file_path): if os.path.isfile(file_path) and os.path.exists(file_path): - return parse_json_file(file_path) + return parse_toml_file(file_path) return {} @@ -160,7 +162,7 @@ def check_for_differences(reference_file, file_list, branch, actor): report = [] report.append(f"#### 🔄 Reference Branch: `{reference_branch}`") - reference_keys = read_json_keys(reference_file) + reference_keys = read_toml_keys(reference_file) has_differences = False only_reference_file = True @@ -197,12 +199,12 @@ def check_for_differences(reference_file, file_list, branch, actor): ): continue - if not file_normpath.endswith(".json") or basename_current_file != "translation.json": + if not file_normpath.endswith(".toml") or basename_current_file != "translation.toml": continue only_reference_file = False report.append(f"#### 📃 **File Check:** `{locale_dir}/{basename_current_file}`") - current_keys = read_json_keys(os.path.join(branch, file_path)) + current_keys = read_toml_keys(os.path.join(branch, file_path)) reference_key_count = len(reference_keys) current_key_count = len(current_keys) @@ -272,7 +274,7 @@ def check_for_differences(reference_file, file_list, branch, actor): report.append("## ❌ Overall Check Status: **_Failed_**") report.append("") report.append( - f"@{actor} please check your translation if it conforms to the standard. Follow the format of [en-GB/translation.json](https://github.com/Stirling-Tools/Stirling-PDF/blob/V2/frontend/public/locales/en-GB/translation.json)" + f"@{actor} please check your translation if it conforms to the standard. Follow the format of [en-GB/translation.toml](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/frontend/public/locales/en-GB/translation.toml)" ) else: report.append("## ✅ Overall Check Status: **_Success_**") @@ -286,7 +288,7 @@ def check_for_differences(reference_file, file_list, branch, actor): if __name__ == "__main__": - parser = argparse.ArgumentParser(description="Find missing keys") + parser = argparse.ArgumentParser(description="Find missing keys in TOML translation files") parser.add_argument( "--actor", required=False, @@ -337,9 +339,9 @@ if __name__ == "__main__": "public", "locales", "*", - "translation.json", + "translation.toml", ) ) update_missing_keys(args.reference_file, file_list) else: - check_for_differences(args.reference_file, file_list, args.branch, args.actor) \ No newline at end of file + check_for_differences(args.reference_file, file_list, args.branch, args.actor) diff --git a/.github/workflows/check_properties.yml b/.github/workflows/check_toml.yml similarity index 77% rename from .github/workflows/check_properties.yml rename to .github/workflows/check_toml.yml index 73232eee9..8fc1a75b8 100644 --- a/.github/workflows/check_properties.yml +++ b/.github/workflows/check_toml.yml @@ -1,19 +1,14 @@ -name: Check Properties Files on PR +name: Check TOML Translation Files on PR + +# This workflow validates TOML translation files on: pull_request_target: types: [opened, synchronize, reopened] paths: - - "app/core/src/main/resources/messages_*.properties" + - "frontend/public/locales/*/translation.toml" # cancel in-progress jobs if a new job is triggered -# This is useful to avoid running multiple builds for the same branch if a new commit is pushed -# or a pull request is updated. -# It helps to save resources and time by ensuring that only the latest commit is built and tested -# This is particularly useful for long-running jobs that may take a while to complete. -# The `group` is set to a combination of the workflow name, event name, and branch name. -# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of -# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref_name || github.ref }} cancel-in-progress: true @@ -73,22 +68,22 @@ jobs: run: | echo "Fetching PR changed files..." echo "Getting list of changed files from PR..." - # Check if PR number exists - if [ -z "${{ steps.get-pr-data.outputs.pr_number }}" ]; then - echo "Error: PR number is empty" - exit 1 - fi - # Get changed files and filter for properties files, handle case where no matches are found - gh pr view ${{ steps.get-pr-data.outputs.pr_number }} --json files -q ".files[].path" | grep -E '^app/core/src/main/resources/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$' > changed_files.txt || echo "No matching properties files found in PR" - # Check if any files were found - if [ ! -s changed_files.txt ]; then - echo "No properties files changed in this PR" - echo "Workflow will exit early as no relevant files to check" - exit 0 - fi - echo "Found $(wc -l < changed_files.txt) matching properties files" + # Check if PR number exists + if [ -z "${{ steps.get-pr-data.outputs.pr_number }}" ]; then + echo "Error: PR number is empty" + exit 1 + fi + # Get changed files and filter for TOML translation files + gh pr view ${{ steps.get-pr-data.outputs.pr_number }} --json files -q ".files[].path" | grep -E '^frontend/public/locales/[a-zA-Z-]+/translation\.toml$' > changed_files.txt || echo "No matching TOML files found in PR" + # Check if any files were found + if [ ! -s changed_files.txt ]; then + echo "No TOML translation files changed in this PR" + echo "Workflow will exit early as no relevant files to check" + exit 0 + fi + echo "Found $(wc -l < changed_files.txt) matching TOML files" - - name: Determine reference file test + - name: Determine reference file id: determine-file uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: @@ -125,11 +120,11 @@ jobs: pull_number: prNumber, }); - // Filter for relevant files based on the PR changes + // Filter for relevant TOML files based on the PR changes const changedFiles = files .filter(file => file.status !== "removed" && - /^app\/core\/src\/main\/resources\/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$/.test(file.filename) + /^frontend\/public\/locales\/[a-zA-Z-]+\/translation\.toml$/.test(file.filename) ) .map(file => file.filename); @@ -169,16 +164,16 @@ jobs: // Determine reference file let referenceFilePath; - if (changedFiles.includes("app/core/src/main/resources/messages_en_GB.properties")) { + if (changedFiles.includes("frontend/public/locales/en-GB/translation.toml")) { console.log("Using PR branch reference file."); const { data: fileContent } = await github.rest.repos.getContent({ owner: prRepoOwner, repo: prRepoName, - path: "app/core/src/main/resources/messages_en_GB.properties", + path: "frontend/public/locales/en-GB/translation.toml", ref: branch, }); - referenceFilePath = "pr-branch-messages_en_GB.properties"; + referenceFilePath = "pr-branch-translation-en-GB.toml"; const content = Buffer.from(fileContent.content, "base64").toString("utf-8"); fs.writeFileSync(referenceFilePath, content); } else { @@ -186,11 +181,11 @@ jobs: const { data: fileContent } = await github.rest.repos.getContent({ owner: repoOwner, repo: repoName, - path: "app/core/src/main/resources/messages_en_GB.properties", + path: "frontend/public/locales/en-GB/translation.toml", ref: "main", }); - referenceFilePath = "main-branch-messages_en_GB.properties"; + referenceFilePath = "main-branch-translation-en-GB.toml"; const content = Buffer.from(fileContent.content, "base64").toString("utf-8"); fs.writeFileSync(referenceFilePath, content); } @@ -198,11 +193,20 @@ jobs: console.log(`Reference file path: ${referenceFilePath}`); core.exportVariable("REFERENCE_FILE", referenceFilePath); + - name: Set up Python + uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 + with: + python-version: "3.12" + + - name: Install Python dependencies + run: | + pip install tomli-w + - name: Run Python script to check files id: run-check run: | - echo "Running Python script to check files..." - python .github/scripts/check_language_properties.py \ + echo "Running Python script to check TOML files..." + python .github/scripts/check_language_toml.py \ --actor ${{ github.event.pull_request.user.login }} \ --reference-file "${REFERENCE_FILE}" \ --branch "pr-branch" \ @@ -213,7 +217,7 @@ jobs: id: capture-output run: | if [ -f result.txt ] && [ -s result.txt ]; then - echo "Test, capturing output..." + echo "Capturing output..." SCRIPT_OUTPUT=$(cat result.txt) echo "SCRIPT_OUTPUT<> $GITHUB_ENV echo "$SCRIPT_OUTPUT" >> $GITHUB_ENV @@ -227,7 +231,7 @@ jobs: echo "FAIL_JOB=false" >> $GITHUB_ENV fi else - echo "No update found." + echo "No output found." echo "SCRIPT_OUTPUT=" >> $GITHUB_ENV echo "FAIL_JOB=false" >> $GITHUB_ENV fi @@ -249,7 +253,7 @@ jobs: issue_number: issueNumber }); - const comment = comments.data.find(c => c.body.includes("## 🚀 Translation Verification Summary")); + const comment = comments.data.find(c => c.body.includes("## 🌐 TOML Translation Verification Summary")); // Only update or create comments by the action user const expectedActor = "${{ steps.setup-bot.outputs.app-slug }}[bot]"; @@ -260,7 +264,7 @@ jobs: owner: repoOwner, repo: repoName, comment_id: comment.id, - body: `## 🚀 Translation Verification Summary\n\n\n${SCRIPT_OUTPUT}\n` + body: `## 🌐 TOML Translation Verification Summary\n\n\n${SCRIPT_OUTPUT}\n` }); console.log("Updated existing comment."); } else if (!comment) { @@ -269,7 +273,7 @@ jobs: owner: repoOwner, repo: repoName, issue_number: issueNumber, - body: `## 🚀 Translation Verification Summary\n\n\n${SCRIPT_OUTPUT}\n` + body: `## 🌐 TOML Translation Verification Summary\n\n\n${SCRIPT_OUTPUT}\n` }); console.log("Created new comment."); } else { @@ -287,6 +291,6 @@ jobs: run: | echo "Cleaning up temporary files..." rm -rf pr-branch - rm -f pr-branch-messages_en_GB.properties main-branch-messages_en_GB.properties changed_files.txt result.txt + rm -f pr-branch-translation-en-GB.toml main-branch-translation-en-GB.toml changed_files.txt result.txt echo "Cleanup complete." continue-on-error: true # Ensure cleanup runs even if previous steps fail diff --git a/.github/workflows/sync_files.yml b/.github/workflows/sync_files.yml deleted file mode 100644 index 1233ac701..000000000 --- a/.github/workflows/sync_files.yml +++ /dev/null @@ -1,122 +0,0 @@ -name: Sync Files - -on: - workflow_dispatch: - push: - branches: - - main - paths: - - "build.gradle" - - "README.md" - - "app/core/src/main/resources/messages_*.properties" - - "app/core/src/main/resources/static/3rdPartyLicenses.json" - - "scripts/ignore_translation.toml" - -# cancel in-progress jobs if a new job is triggered -# This is useful to avoid running multiple builds for the same branch if a new commit is pushed -# or a pull request is updated. -# It helps to save resources and time by ensuring that only the latest commit is built and tested -# This is particularly useful for long-running jobs that may take a while to complete. -# The `group` is set to a combination of the workflow name, event name, and branch name. -# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of -# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} - cancel-in-progress: true - -permissions: - contents: read - -jobs: - sync-files: - runs-on: ubuntu-latest - env: - # Prevents sdist builds → no tar extraction - PIP_ONLY_BINARY: ":all:" - PIP_DISABLE_PIP_VERSION_CHECK: "1" - steps: - - name: Harden Runner - uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 - with: - egress-policy: audit - - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - - name: Setup GitHub App Bot - id: setup-bot - uses: ./.github/actions/setup-bot - with: - app-id: ${{ secrets.GH_APP_ID }} - private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} - - - name: Set up Python - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 - with: - python-version: "3.12" - cache: "pip" # caching pip dependencies - - - name: Sync translation property files - run: | - python .github/scripts/check_language_properties.py --reference-file "app/core/src/main/resources/messages_en_GB.properties" --branch main - - - name: Commit translation files - run: | - git add app/core/src/main/resources/messages_*.properties - git diff --staged --quiet || git commit -m ":memo: Sync translation files" || echo "No changes detected" - - - name: Install dependencies - # Wheels-only + Hash-Pinning - run: | - pip install --require-hashes --only-binary=:all: -r ./.github/scripts/requirements_sync_readme.txt - - - name: Sync README.md - run: | - python scripts/counter_translation.py - - - name: Run git add - run: | - git add README.md scripts/ignore_translation.toml - git diff --staged --quiet || git commit -m ":memo: Sync README.md & scripts/ignore_translation.toml" || echo "No changes detected" - - - name: Create Pull Request - if: always() - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 - with: - token: ${{ steps.setup-bot.outputs.token }} - commit-message: Update files - committer: ${{ steps.setup-bot.outputs.committer }} - author: ${{ steps.setup-bot.outputs.committer }} - signoff: true - branch: sync_readme - title: ":globe_with_meridians: Sync Translations + Update README Progress Table" - body: | - ### 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 (`messages_*.properties`) to reflect changes in the reference file `messages_en_GB.properties`. - - Ensured consistency and synchronization across all supported language files. - - Highlighted any missing or incomplete translations. - - #### **2. Update README.md** - - Generated the translation progress table in `README.md`. - - 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 - draft: false - delete-branch: true - labels: github-actions - sign-commits: true - add-paths: | - README.md - app/core/src/main/resources/messages_*.properties diff --git a/.github/workflows/sync_files_v2.yml b/.github/workflows/sync_files_v2.yml index 84645c59e..935252be2 100644 --- a/.github/workflows/sync_files_v2.yml +++ b/.github/workflows/sync_files_v2.yml @@ -1,15 +1,15 @@ -name: Sync Files V2 +name: Sync Files (TOML) on: workflow_dispatch: push: branches: - - V2 + - main - syncLangTest paths: - "build.gradle" - "README.md" - - "frontend/public/locales/*/translation.json" + - "frontend/public/locales/*/translation.toml" - "app/core/src/main/resources/static/3rdPartyLicenses.json" - "scripts/ignore_translation.toml" @@ -52,21 +52,25 @@ jobs: python-version: "3.12" cache: "pip" # caching pip dependencies - - name: Sync translation JSON files + - name: Install Python dependencies run: | - python .github/scripts/check_language_json.py --reference-file "frontend/public/locales/en-GB/translation.json" --branch V2 + pip install tomli-w + + - name: Sync translation TOML files + run: | + python .github/scripts/check_language_toml.py --reference-file "frontend/public/locales/en-GB/translation.toml" --branch main - name: Commit translation files run: | - git add frontend/public/locales/*/translation.json - git diff --staged --quiet || git commit -m ":memo: Sync translation files" || echo "No changes detected" + git add frontend/public/locales/*/translation.toml + git diff --staged --quiet || git commit -m ":memo: Sync translation files (TOML)" || echo "No changes detected" - - name: Install dependencies + - name: Install README dependencies run: pip install --require-hashes -r ./.github/scripts/requirements_sync_readme.txt - name: Sync README.md run: | - python scripts/counter_translation_v2.py + python scripts/counter_translation_v3.py - name: Run git add run: | @@ -82,21 +86,22 @@ jobs: committer: ${{ steps.setup-bot.outputs.committer }} author: ${{ steps.setup-bot.outputs.committer }} signoff: true - branch: sync_readme_v2 - base: V2 - title: ":globe_with_meridians: [V2] Sync Translations + Update README Progress Table" + branch: sync_readme_v3 + base: main + title: ":globe_with_meridians: Sync Translations + Update README Progress Table" body: | ### Description of Changes - This Pull Request was automatically generated to synchronize updates to translation files and documentation for the **V2 branch**. Below are the details of the changes made: + 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/public/locales/*/translation.json`) to reflect changes in the reference file `en-GB/translation.json`. + - Updated translation files (`frontend/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`. + - 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. @@ -115,4 +120,5 @@ jobs: sign-commits: true add-paths: | README.md - frontend/public/locales/*/translation.json \ No newline at end of file + frontend/public/locales/*/translation.toml + scripts/ignore_translation.toml \ No newline at end of file diff --git a/ADDING_TOOLS.md b/ADDING_TOOLS.md index ef1501bfc..d24641b00 100644 --- a/ADDING_TOOLS.md +++ b/ADDING_TOOLS.md @@ -202,10 +202,10 @@ const [ToolName] = (props: BaseToolProps) => { ## 5. Add Translations Update translation files. **Important: Only update `en-GB` files** - other languages are handled separately. -**File to update:** `frontend/public/locales/en-GB/translation.json` +**File to update:** `frontend/public/locales/en-GB/translation.toml` **Required Translation Keys**: -```json +```toml { "home": { "[toolName]": { @@ -251,7 +251,7 @@ Update translation files. **Important: Only update `en-GB` files** - other langu ``` **Translation Notes:** -- **Only update `en-GB/translation.json`** - other locale files are managed separately +- **Only update `en-GB/translation.toml`** - other locale files are managed separately - Use descriptive keys that match your component's `t()` calls - Include tooltip translations if you created tooltip hooks - Add `options.*` keys if your tool has settings with descriptions diff --git a/devGuide/HowToAddNewLanguage.md b/devGuide/HowToAddNewLanguage.md index 6a9ed17f2..861772576 100644 --- a/devGuide/HowToAddNewLanguage.md +++ b/devGuide/HowToAddNewLanguage.md @@ -8,36 +8,33 @@ Fork Stirling-PDF and create a new branch out of `main`. -Then add a reference to the language in the navbar by adding a new language entry to the dropdown: +## Frontend Translation Files (TOML Format) -- Edit the file: [languages.html](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/app/core/src/main/resources/templates/fragments/languages.html) +### Add Language Directory and Translation File +1. Create a new language directory in `frontend/public/locales/` + - Use hyphenated format: `pl-PL` (not underscore) -For example, to add Polish, you would add: +2. Copy the reference translation file: + - Source: `frontend/public/locales/en-GB/translation.toml` + - Destination: `frontend/public/locales/pl-PL/translation.toml` -```html -
-``` +3. Translate all entries in the TOML file + - Keep the TOML structure intact + - Preserve all placeholders like `{n}`, `{total}`, `{filename}`, `{{variable}}` + - See `scripts/translations/README.md` for translation tools and workflows -The `data-bs-language-code` is the code used to reference the file in the next step. +4. Update the language selector in the frontend to include your new language -### Add Language Property File - -Start by copying the existing English property file: - -- [messages_en_GB.properties](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/app/core/src/main/resources/messages_en_GB.properties) - -Copy and rename it to `messages_{your data-bs-language-code here}.properties`. In the Polish example, you would set the name to `messages_pl_PL.properties`. - -Then simply translate all property entries within that file and make a Pull Request (PR) into `main` for others to use! - -If you do not have a Java IDE, I am happy to verify that the changes work once you raise the PR (but I won't be able to verify the translations themselves). +Then make a Pull Request (PR) into `main` for others to use! ## Handling Untranslatable Strings -Sometimes, certain strings in the properties file may not require translation because they are the same in the target language or are universal (like names of protocols, certain terminologies, etc.). To ensure accurate statistics for language progress, these strings should be added to the `ignore_translation.toml` file located in the `scripts` directory. This will exclude them from the translation progress calculations. +Sometimes, certain strings may not require translation because they are the same in the target language or are universal (like names of protocols, certain terminologies, etc.). To ensure accurate statistics for language progress, these strings should be added to the `ignore_translation.toml` file located in the `scripts` directory. This will exclude them from the translation progress calculations. -For example, if the English string `error=Error` does not need translation in Polish, add it to the `ignore_translation.toml` under the Polish section: +For example, if the English string `error` does not need translation in Polish, add it to the `ignore_translation.toml` under the Polish section: + +**Note**: Use underscores in `ignore_translation.toml` even though frontend uses hyphens (e.g., `pl_PL` not `pl-PL`) ```toml [pl_PL] @@ -50,27 +47,27 @@ ignore = [ ## Add New Translation Tags > [!IMPORTANT] -> If you add any new translation tags, they must first be added to the `messages_en_GB.properties` file. This ensures consistency across all language files. +> If you add any new translation tags, they must first be added to the `en-GB/translation.toml` file. This ensures consistency across all language files. -- New translation tags **must be added** to the `messages_en_GB.properties` file to maintain a reference for other languages. -- After adding the new tags to `messages_en_GB.properties`, add and translate them in the respective language file (e.g., `messages_pl_PL.properties`). +- New translation tags **must be added** to `frontend/public/locales/en-GB/translation.toml` to maintain a reference for other languages. +- After adding the new tags to `en-GB/translation.toml`, add and translate them in the respective language file (e.g., `pl-PL/translation.toml`). +- Use the scripts in `scripts/translations/` to validate and manage translations (see `scripts/translations/README.md`) Make sure to place the entry under the correct language section. This helps maintain the accuracy of translation progress statistics and ensures that the translation tool or scripts do not misinterpret the completion rate. -### Use this code to perform a local check +### Validation Commands -#### Windows command - -```powershell -python .github/scripts/check_language_properties.py --reference-file app\core\src\main\resources\messages_en_GB.properties --branch "" --files app\core\src\main\resources\messages_pl_PL.properties - -python .github/scripts/check_language_properties.py --reference-file app\core\src\main\resources\messages_en_GB.properties --branch "" --check-file app\core\src\main\resources\messages_pl_PL.properties -``` - -#### Linux command +Use the translation scripts in `scripts/translations/` directory: ```bash -python3 .github/scripts/check_language_properties.py --reference-file app/core/src/main/resources/messages_en_GB.properties --branch "" --files app/core/src/main/resources/messages_pl_PL.properties +# Analyze translation progress +python3 scripts/translations/translation_analyzer.py --language pl-PL -python3 .github/scripts/check_language_properties.py --reference-file app/core/src/main/resources/messages_en_GB.properties --branch "" --check-file app/core/src/main/resources/messages_pl_PL.properties +# Validate TOML structure +python3 scripts/translations/validate_json_structure.py --language pl-PL + +# Validate placeholders +python3 scripts/translations/validate_placeholders.py --language pl-PL ``` + +See `scripts/translations/README.md` for complete documentation. diff --git a/frontend/public/locales/ar-AR/translation.toml b/frontend/public/locales/ar-AR/translation.toml index 0942b37b5..4c437dbf4 100644 --- a/frontend/public/locales/ar-AR/translation.toml +++ b/frontend/public/locales/ar-AR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "إزالة من المفضلة" fullscreen = "التبديل إلى وضع ملء الشاشة" sidebar = "التبديل إلى وضع الشريط الجانبي" +[backendStartup] +notFoundTitle = "لم يتم العثور على الخادم الخلفي" +retry = "إعادة المحاولة" +unreachable = "لا يمكن للتطبيق حالياً الاتصال بالخادم الخلفي. تحقق من حالة الخادم والاتصال بالشبكة، ثم حاول مرة أخرى." + [zipWarning] title = "ملف ZIP كبير" message = "هذا الملف ZIP يحتوي على {{count}} ملفات. هل تريد الاستخراج على أي حال؟" @@ -912,6 +917,9 @@ desc = "ابنِ تدفّقات عمل متعددة الخطوات بسلسلة desc = "تراكب ملف PDF فوق آخر" title = "تراكب ملفات PDF" +[home.pdfTextEditor] +title = "محرر نص PDF" +desc = "حرّر النصوص والصور الموجودة داخل ملفات PDF" [home.addText] tags = "نص,تعليق,تسمية" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "توقيع مرسوم" defaultImageLabel = "توقيع مرفوع" defaultTextLabel = "توقيع مكتوب" saveButton = "حفظ التوقيع" +savePersonal = "حفظ شخصي" +saveShared = "حفظ مشترك" saveUnavailable = "أنشئ توقيعاً أولاً لحفظه." noChanges = "التوقيع الحالي محفوظ بالفعل." +tempStorageTitle = "تخزين مؤقت في المتصفح" +tempStorageDescription = "يتم تخزين التواقيع في متصفحك فقط. ستُفقد إذا حذفت بيانات المتصفح أو بدّلت المتصفح." +personalHeading = "تواقيع شخصية" +sharedHeading = "تواقيع مشتركة" +personalDescription = "أنت فقط من يمكنه رؤية هذه التواقيع." +sharedDescription = "يمكن لجميع المستخدمين رؤية هذه التواقيع واستخدامها." [sign.saved.type] canvas = "رسم" @@ -3438,6 +3454,9 @@ signinTitle = "الرجاء تسجيل الدخول" ssoSignIn = "تسجيل الدخول عبر تسجيل الدخول الأحادي" oAuth2AutoCreateDisabled = "تم تعطيل الإنشاء التلقائي لمستخدم OAuth2" oAuth2AdminBlockedUser = "تم حظر تسجيل أو تسجيل دخول المستخدمين غير المسجلين حاليًا. يرجى الاتصال بالمسؤول." +oAuth2RequiresLicense = "يتطلب تسجيل الدخول عبر OAuth/SSO ترخيصاً مدفوعاً (Server أو Enterprise). يرجى الاتصال بالمسؤول لترقية باقتك." +saml2RequiresLicense = "يتطلب تسجيل الدخول عبر SAML ترخيصاً مدفوعاً (Server أو Enterprise). يرجى الاتصال بالمسؤول لترقية باقتك." +maxUsersReached = "تم الوصول إلى الحد الأقصى لعدد المستخدمين ضمن ترخيصك الحالي. يرجى الاتصال بالمسؤول لترقية باقتك أو إضافة مقاعد إضافية." oauth2RequestNotFound = "لم يتم العثور على طلب التفويض" oauth2InvalidUserInfoResponse = "استجابة معلومات المستخدم غير صالحة" oauth2invalidRequest = "طلب غير صالح" @@ -3771,7 +3790,7 @@ version = "الإصدار الحالي" title = "توثيق API" header = "توثيق API" desc = "عرض واختبار نقاط نهاية Stirling PDF API" -tags = "api,documentation,swagger,endpoints,development" +tags = "api,توثيق,swagger,نقاط النهاية,تطوير" [cookieBanner.popUp] title = "كيف نستخدم ملفات تعريف الارتباط" @@ -3846,14 +3865,17 @@ fitToWidth = "ملاءمة للعرض" actualSize = "الحجم الفعلي" [viewer] +cannotPreviewFile = "لا يمكن معاينة الملف" +dualPageView = "عرض صفحتين" firstPage = "الصفحة الأولى" lastPage = "الصفحة الأخيرة" -previousPage = "الصفحة السابقة" nextPage = "الصفحة التالية" +onlyPdfSupported = "عارض الملفات يدعم ملفات PDF فقط. يبدو أن هذا الملف بتنسيق مختلف." +previousPage = "الصفحة السابقة" +singlePageView = "عرض صفحة واحدة" +unknownFile = "ملف غير معروف" zoomIn = "تكبير" zoomOut = "تصغير" -singlePageView = "عرض صفحة واحدة" -dualPageView = "عرض صفحتين" [rightRail] closeSelected = "إغلاق الصفحات المحددة" @@ -3877,6 +3899,7 @@ toggleSidebar = "تبديل الشريط الجانبي" exportSelected = "تصدير الصفحات المحددة" toggleAnnotations = "تبديل ظهور التعليقات التوضيحية" annotationMode = "تبديل وضع التعليقات" +print = "طباعة PDF" draw = "رسم" save = "حفظ" saveChanges = "حفظ التغييرات" @@ -4494,6 +4517,7 @@ description = "عنوان URL أو اسم الملف الخاص بـ Impressum ( title = "الممتاز والمؤسسي" description = "تهيئة مفتاح الترخيص للمزايا الممتازة أو المؤسسية." license = "تهيئة الترخيص" +noInput = "يرجى تقديم مفتاح ترخيص أو ملف" [admin.settings.premium.licenseKey] toggle = "هل لديك مفتاح ترخيص أو ملف شهادة؟" @@ -4511,6 +4535,25 @@ line1 = "لا يمكن التراجع عن استبدال مفتاح الترخ line2 = "سيُفقد ترخيصك السابق نهائياً ما لم تكن قد احتفظت بنسخة احتياطية منه في مكان آخر." line3 = "مهم: احتفظ بمفاتيح الترخيص خاصة وآمنة. لا تشاركها علناً أبداً." +[admin.settings.premium.inputMethod] +text = "مفتاح الترخيص" +file = "ملف الشهادة" + +[admin.settings.premium.file] +label = "ملف شهادة الترخيص" +description = "قم بتحميل ملف الترخيص .lic أو .cert من عمليات الشراء دون اتصال" +choose = "اختر ملف الترخيص" +selected = "المحدد: {{filename}} ({{size}})" +successMessage = "تم تحميل ملف الترخيص وتفعيله بنجاح. لا يلزم إعادة التشغيل." + +[admin.settings.premium.currentLicense] +title = "الترخيص النشط" +file = "المصدر: ملف الترخيص ({{path}})" +key = "المصدر: مفتاح الترخيص" +type = "النوع: {{type}}" +noInput = "يرجى تقديم مفتاح ترخيص أو تحميل ملف شهادة" +success = "نجاح" + [admin.settings.premium.enabled] label = "تمكين الميزات الممتازة" description = "تمكين التحقق من مفتاح الترخيص لميزات Pro/المؤسسة" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} محدد" download = "تنزيل" delete = "حذف" unsupported = "غير مدعوم" +active = "نشط" addToUpload = "إضافة إلى الرفع" +closeFile = "إغلاق الملف" deleteAll = "حذف الكل" loadingFiles = "جارٍ تحميل الملفات..." noFiles = "لا توجد ملفات متاحة" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "مطلوب عنوان بريد إلكتروني واحد على الأقل" submit = "إرسال الدعوات" success = "تمت دعوة المستخدم/المستخدمين بنجاح" -partialSuccess = "فشلت بعض الدعوات" +partialFailure = "فشل بعض الدعوات" allFailed = "فشلت دعوة المستخدمين" error = "فشل إرسال الدعوات" @@ -5797,6 +5842,13 @@ submit = "تسجيل الدخول" signInWith = "تسجيل الدخول باستخدام" oauthPending = "جارٍ فتح المتصفح للمصادقة..." orContinueWith = "أو المتابعة بالبريد الإلكتروني" +serverRequirement = "ملاحظة: يجب أن يكون تسجيل الدخول مفعّلاً على الخادم." +showInstructions = "كيفية التمكين؟" +hideInstructions = "إخفاء الإرشادات" +instructions = "لتمكين تسجيل الدخول على خادم Stirling PDF الخاص بك:" +instructionsEnvVar = "عيّن متغيّر البيئة:" +instructionsOrYml = "أو في settings.yml:" +instructionsRestart = "ثم أعد تشغيل الخادم لتصبح التغييرات نافذة." [setup.login.username] label = "اسم المستخدم" diff --git a/frontend/public/locales/az-AZ/translation.toml b/frontend/public/locales/az-AZ/translation.toml index d4c20aea6..092b0fda7 100644 --- a/frontend/public/locales/az-AZ/translation.toml +++ b/frontend/public/locales/az-AZ/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Seçilmişlərdən çıxar" fullscreen = "Tam ekran rejiminə keç" sidebar = "Yan panel rejiminə keç" +[backendStartup] +notFoundTitle = "Backend tapılmadı" +retry = "Yenidən cəhd et" +unreachable = "Tətbiq hazırda backend-ə qoşula bilmir. Backend-in vəziyyətini və şəbəkə bağlantısını yoxlayın, sonra yenidən cəhd edin." + [zipWarning] title = "Böyük ZIP faylı" message = "Bu ZIP {{count}} fayl ehtiva edir. Yenə də çıxarılsın?" @@ -912,6 +917,9 @@ desc = "PDF əməliyyatlarını zəncirləyərək çoxaddımlı iş axınları q desc = "Bir PDF-i digərinin üstünə qoyur" title = "Üst-Üstə Qoy" +[home.pdfTextEditor] +title = "PDF Mətn Redaktoru" +desc = "PDF-lərin içindəki mövcud mətn və şəkilləri redaktə edin" [home.addText] tags = "mətn,şərh,etiket" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Çəkilmiş imza" defaultImageLabel = "Yüklənmiş imza" defaultTextLabel = "Yazılmış imza" saveButton = "İmzanı saxla" +savePersonal = "Şəxsi yadda saxla" +saveShared = "Paylaşılanı yadda saxla" saveUnavailable = "Saxlamaq üçün əvvəlcə imza yaradın." noChanges = "Cari imza artıq saxlanıb." +tempStorageTitle = "Müvəqqəti brauzer yaddaşı" +tempStorageDescription = "İmzalar yalnız brauzerinizdə saxlanılır. Brauzer məlumatlarını təmizləsəniz və ya brauzer dəyişsəniz, itəcək." +personalHeading = "Şəxsi imzalar" +sharedHeading = "Paylaşılan imzalar" +personalDescription = "Bu imzaları yalnız siz görə bilirsiniz." +sharedDescription = "Bütün istifadəçilər bu imzaları görə və istifadə edə bilərlər." [sign.saved.type] canvas = "Rəsm" @@ -3438,6 +3454,9 @@ signinTitle = "Zəhmət olmasa, daxil olun" ssoSignIn = "Single Sign-on vasitəsilə daxil olun" oAuth2AutoCreateDisabled = "OAUTH2 Auto-Create İstifadəçisi Deaktivləşdirilmişdir" oAuth2AdminBlockedUser = "Qeydiyyatdan keçməmiş istifadəçilərin qeydiyyatı və daxil olması hal-hazırda bloklanmışdır. Zəhmət olmasa, administratorla əlaqə saxlayın." +oAuth2RequiresLicense = "OAuth/SSO ilə giriş üçün ödənişli lisenziya (Server və ya Enterprise) tələb olunur. Planınızı yüksəltmək üçün administratorla əlaqə saxlayın." +saml2RequiresLicense = "SAML ilə giriş üçün ödənişli lisenziya (Server və ya Enterprise) tələb olunur. Planınızı yüksəltmək üçün administratorla əlaqə saxlayın." +maxUsersReached = "Mövcud lisenziyanız üçün maksimum istifadəçi sayına çatılıb. Planınızı yüksəltmək və ya əlavə yerlər əlavə etmək üçün administratorla əlaqə saxlayın." oauth2RequestNotFound = "Təsdiqlənmə sorğusu tapılmadı" oauth2InvalidUserInfoResponse = "Yanlış İstifadəçi Məlumatı Cavabı" oauth2invalidRequest = "Etibarsız Sorğu" @@ -3846,14 +3865,17 @@ fitToWidth = "Eninə sığdır" actualSize = "Həqiqi ölçü" [viewer] +cannotPreviewFile = "Faylın önizlənməsi mümkün deyil" +dualPageView = "İki Səhifə Görünüşü" firstPage = "Birinci səhifə" lastPage = "Son səhifə" -previousPage = "Əvvəlki səhifə" nextPage = "Növbəti səhifə" +onlyPdfSupported = "Görüntüləyici yalnız PDF fayllarını dəstəkləyir. Bu fayl fərqli formatda görünür." +previousPage = "Əvvəlki səhifə" +singlePageView = "Tək Səhifə Görünüşü" +unknownFile = "Naməlum fayl" zoomIn = "Böyüt" zoomOut = "Kiçilt" -singlePageView = "Tək Səhifə Görünüşü" -dualPageView = "İki Səhifə Görünüşü" [rightRail] closeSelected = "Seçilmiş faylları bağla" @@ -3877,6 +3899,7 @@ toggleSidebar = "Yan paneli aç/bağla" exportSelected = "Seçilmiş səhifələri ixrac et" toggleAnnotations = "Annotasiyaların görünməsini dəyiş" annotationMode = "Annotasiya rejimini dəyiş" +print = "PDF-i çap et" draw = "Rəsm çək" save = "Yadda saxla" saveChanges = "Dəyişiklikləri yadda saxla" @@ -4407,7 +4430,7 @@ description = "Daha geniş sistem müvəqqəti qovluğunu təmizləyib-təmizlə label = "Proses İcraedicisi Limitləri" description = "Hər icraedici üçün sessiya limitlərini və taym-outları konfiqurasiya edin" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDF-dən HTML-ə" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4494,6 +4517,7 @@ description = "Impressum üçün URL və ya fayl adı (bəzi yurisdiksiyalarda t title = "Premium və Enterprise" description = "Premium və ya enterprise lisenziya açarınızı konfiqurasiya edin." license = "Lisenziya Konfiqurasiyası" +noInput = "Zəhmət olmasa lisenziya açarı və ya fayl təqdim edin" [admin.settings.premium.licenseKey] toggle = "Lisenziya açarınız və ya sertifikat faylınız var?" @@ -4511,6 +4535,25 @@ line1 = "Cari lisenziya açarının üzərinə yazmaq geri alına bilməz." line2 = "Ehtiyat nüsxəsi yoxdursa, əvvəlki lisenziyanız birdəfəlik itəcək." line3 = "Vacibdir: Lisenziya açarlarını məxfi və təhlükəsiz saxlayın. Heç vaxt onları ictimai paylaşmayın." +[admin.settings.premium.inputMethod] +text = "Lisenziya açarı" +file = "Sertifikat faylı" + +[admin.settings.premium.file] +label = "Lisenziya sertifikat faylı" +description = "Oflayn alışdan əldə etdiyiniz .lic və ya .cert lisenziya faylını yükləyin" +choose = "Lisenziya faylını seçin" +selected = "Seçildi: {{filename}} ({{size}})" +successMessage = "Lisenziya faylı uğurla yüklənib və aktivləşdirilib. Yenidən başlatmağa ehtiyac yoxdur." + +[admin.settings.premium.currentLicense] +title = "Aktiv lisenziya" +file = "Mənbə: Lisenziya faylı ({{path}})" +key = "Mənbə: Lisenziya açarı" +type = "Növ: {{type}}" +noInput = "Zəhmət olmasa lisenziya açarı verin və ya sertifikat faylı yükləyin" +success = "Uğurlu" + [admin.settings.premium.enabled] label = "Premium Xüsusiyyətlərini aktiv et" description = "Pro/enterprise xüsusiyyətləri üçün lisenziya açarı yoxlamalarını aktiv et" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} seçildi" download = "Endir" delete = "Sil" unsupported = "Dəstəklənmir" +active = "Aktiv" addToUpload = "Yükləməyə əlavə et" +closeFile = "Faylı bağla" deleteAll = "Hamısını sil" loadingFiles = "Fayllar yüklənir..." noFiles = "Fayl mövcud deyil" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Ən azı bir e-poçt ünvanı tələb olunur" submit = "Dəvətnamələri göndər" success = "istifadəçi(lər) uğurla dəvət olundu" -partialSuccess = "Bəzi dəvətnamələr alınmadı" +partialFailure = "Bəzi dəvətlər uğursuz oldu" allFailed = "İstifadəçiləri dəvət etmək alınmadı" error = "Dəvətnamələri göndərmək alınmadı" @@ -5288,8 +5333,8 @@ emailDisabled = "E-poçt dəvətləri üçün ayarlarda SMTP konfiqurasiyası v [workspace.people.license] users = "istifadəçi" availableSlots = "Mövcud yerlər" -grandfathered = "Grandfathered" -grandfatheredShort = "{{count}} grandfathered" +grandfathered = "Əvvəlki şərtlərlə" +grandfatheredShort = "{{count}} əvvəlki şərtlərlə" fromLicense = "lisenziyadan" slotsAvailable = "{{count}} istifadəçi yeri mövcuddur" noSlotsAvailable = "Mövcud yer yoxdur" @@ -5797,6 +5842,13 @@ submit = "Daxil ol" signInWith = "Bununla daxil ol" oauthPending = "Təsdiqləmə üçün brauzer açılır..." orContinueWith = "Və ya e-poçt ilə davam edin" +serverRequirement = "Qeyd: Serverdə giriş funksiyası aktiv olmalıdır." +showInstructions = "Necə aktivləşdirmək olar?" +hideInstructions = "Təlimatları gizlət" +instructions = "Stirling PDF serverinizdə girişi aktivləşdirmək üçün:" +instructionsEnvVar = "Mühit dəyişənini təyin edin:" +instructionsOrYml = "Və ya settings.yml faylında:" +instructionsRestart = "Dəyişikliklərin qüvvəyə minməsi üçün serveri yenidən başladın." [setup.login.username] label = "İstifadəçi adı" diff --git a/frontend/public/locales/bg-BG/translation.toml b/frontend/public/locales/bg-BG/translation.toml index 2d33576bf..13ae29767 100644 --- a/frontend/public/locales/bg-BG/translation.toml +++ b/frontend/public/locales/bg-BG/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Премахване от любими" fullscreen = "Превключване към режим на цял екран" sidebar = "Превключване към режим със странична лента" +[backendStartup] +notFoundTitle = "Бекендът не е намерен" +retry = "Опитай отново" +unreachable = "Приложението в момента не може да се свърже с бекенда. Проверете състоянието на бекенда и мрежовата свързаност, след което опитайте отново." + [zipWarning] title = "Голям ZIP файл" message = "Този ZIP съдържа {{count}} файла. Да се извлече въпреки това?" @@ -912,6 +917,9 @@ desc = "Създавайте многостъпкови работни проц desc = "Наслагва PDF файлове върху друг PDF" title = "Наслагване PDF-и" +[home.pdfTextEditor] +title = "Редактор на текст в PDF" +desc = "Редактирайте съществуващ текст и изображения в PDF файлове" [home.addText] tags = "текст,анотация,етикет" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Нарисуван подпис" defaultImageLabel = "Качен подпис" defaultTextLabel = "Въведен подпис" saveButton = "Запази подписа" +savePersonal = "Запази като личен" +saveShared = "Запази като споделен" saveUnavailable = "Първо създайте подпис, за да го запазите." noChanges = "Текущият подпис вече е запазен." +tempStorageTitle = "Временно съхранение в браузъра" +tempStorageDescription = "Подписите се съхраняват само във вашия браузър. Ще бъдат загубени, ако изчистите данните на браузъра или смените браузър." +personalHeading = "Лични подписи" +sharedHeading = "Споделени подписи" +personalDescription = "Само вие можете да виждате тези подписи." +sharedDescription = "Всички потребители могат да виждат и използват тези подписи." [sign.saved.type] canvas = "Рисунка" @@ -3438,6 +3454,9 @@ signinTitle = "Моля впишете се" ssoSignIn = "Влизане чрез еднократно влизане" oAuth2AutoCreateDisabled = "OAUTH2 Автоматично създаване на потребител е деактивирано" oAuth2AdminBlockedUser = "Регистрацията или влизането на нерегистрирани потребители в момента е блокирано. Моля, свържете се с администратора." +oAuth2RequiresLicense = "Вход с OAuth/SSO изисква платен лиценз (Server или Enterprise). Моля, свържете се с администратора, за да надстроите плана си." +saml2RequiresLicense = "Вход със SAML изисква платен лиценз (Server или Enterprise). Моля, свържете се с администратора, за да надстроите плана си." +maxUsersReached = "Достигнат е максималният брой потребители за текущия ви лиценз. Моля, свържете се с администратора, за да надстроите плана си или да добавите още места." oauth2RequestNotFound = "Заявката за оторизация не е намерена" oauth2InvalidUserInfoResponse = "Невалидна информация за потребителя" oauth2invalidRequest = "Невалидна заявка" @@ -3846,14 +3865,17 @@ fitToWidth = "Побиране по ширина" actualSize = "Действителен размер" [viewer] +cannotPreviewFile = "Не може да се визуализира файлът" +dualPageView = "Изглед: две страници" firstPage = "Първа страница" lastPage = "Последна страница" -previousPage = "Предишна страница" nextPage = "Следваща страница" +onlyPdfSupported = "Прегледачът поддържа само PDF файлове. Този файл изглежда е в друг формат." +previousPage = "Предишна страница" +singlePageView = "Изглед: една страница" +unknownFile = "Непознат файл" zoomIn = "Увеличи" zoomOut = "Намали" -singlePageView = "Изглед: една страница" -dualPageView = "Изглед: две страници" [rightRail] closeSelected = "Затвори избраните файлове" @@ -3877,6 +3899,7 @@ toggleSidebar = "Показване/скриване на страничната exportSelected = "Експорт на избраните страници" toggleAnnotations = "Показване/скриване на анотациите" annotationMode = "Превключи режим на анотации" +print = "Печат на PDF" draw = "Рисуване" save = "Запази" saveChanges = "Запази промените" @@ -4494,6 +4517,7 @@ description = "URL или име на файл към импресум (задъ title = "Премиум и Enterprise" description = "Конфигурирайте вашия премиум или enterprise лицензионен ключ." license = "Конфигурация на лиценз" +noInput = "Моля, предоставете лицензен ключ или файл" [admin.settings.premium.licenseKey] toggle = "Имате лицензен ключ или сертификат?" @@ -4511,6 +4535,25 @@ line1 = "Презаписването на текущия лицензен кл line2 = "Предишният лиценз ще бъде окончателно загубен, освен ако не сте го архивирали другаде." line3 = "Важно: Пазете лицензните ключове поверителни и сигурни. Никога не ги споделяйте публично." +[admin.settings.premium.inputMethod] +text = "Лицензен ключ" +file = "Файл със сертификат" + +[admin.settings.premium.file] +label = "Файл с лицензен сертификат" +description = "Качете вашия .lic или .cert лицензен файл от офлайн покупки" +choose = "Изберете лицензен файл" +selected = "Избрано: {{filename}} ({{size}})" +successMessage = "Лицензният файл беше качен и активиран успешно. Не е необходимо рестартиране." + +[admin.settings.premium.currentLicense] +title = "Активен лиценз" +file = "Източник: Лицензен файл ({{path}})" +key = "Източник: Лицензен ключ" +type = "Тип: {{type}}" +noInput = "Моля, предоставете лицензен ключ или качете файл със сертификат" +success = "Успешно" + [admin.settings.premium.enabled] label = "Активирай премиум функции" description = "Активира проверки на лицензионния ключ за pro/enterprise функции" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} избрани" download = "Изтегли" delete = "Изтрий" unsupported = "Неподдържано" +active = "Активен" addToUpload = "Добави към качването" +closeFile = "Затвори файла" deleteAll = "Изтрий всички" loadingFiles = "Зареждане на файлове..." noFiles = "Няма налични файлове" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Изисква се поне един имейл адрес" submit = "Изпрати покани" success = "Потребител(и) поканени успешно" -partialSuccess = "Някои покани не успяха" +partialFailure = "Някои покани бяха неуспешни" allFailed = "Неуспешно канене на потребители" error = "Неуспешно изпращане на покани" @@ -5797,6 +5842,13 @@ submit = "Вход" signInWith = "Вписване с" oauthPending = "Отваряне на браузър за удостоверяване..." orContinueWith = "Или продължете с имейл" +serverRequirement = "Забележка: Сървърът трябва да има активиран вход." +showInstructions = "Как да се активира?" +hideInstructions = "Скрий инструкциите" +instructions = "За да активирате вход на вашия Stirling PDF сървър:" +instructionsEnvVar = "Задайте променливата на средата:" +instructionsOrYml = "Или в settings.yml:" +instructionsRestart = "След това рестартирайте сървъра, за да влязат промените в сила." [setup.login.username] label = "Потребителско име" diff --git a/frontend/public/locales/ca-CA/translation.toml b/frontend/public/locales/ca-CA/translation.toml index 2d8bc23e3..85090e5a5 100644 --- a/frontend/public/locales/ca-CA/translation.toml +++ b/frontend/public/locales/ca-CA/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Elimina dels preferits" fullscreen = "Canvia al mode de pantalla completa" sidebar = "Canvia al mode de barra lateral" +[backendStartup] +notFoundTitle = "Backend no trobat" +retry = "Torneu-ho a intentar" +unreachable = "L'aplicació no pot connectar-se al backend ara mateix. Verifiqueu l'estat del backend i la connectivitat de xarxa i torneu-ho a intentar." + [zipWarning] title = "Fitxer ZIP gran" message = "Aquest ZIP conté {{count}} fitxers. Vols extreure'l igualment?" @@ -912,6 +917,9 @@ desc = "Construeix fluxos de treball multietapa enllaçant accions PDF. Ideal pe desc = "Superposa PDFs sobre un altre PDF" title = "Superposar PDFs" +[home.pdfTextEditor] +title = "Editor de text PDF" +desc = "Edita el text i les imatges existents dins dels PDF" [home.addText] tags = "text,anotació,etiqueta" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Signatura dibuixada" defaultImageLabel = "Signatura pujada" defaultTextLabel = "Signatura teclejada" saveButton = "Desa la signatura" +savePersonal = "Desa com a personal" +saveShared = "Desa com a compartida" saveUnavailable = "Crea una signatura primer per poder-la desar." noChanges = "La signatura actual ja està desada." +tempStorageTitle = "Emmagatzematge temporal del navegador" +tempStorageDescription = "Les signatures només s'emmagatzemen al vostre navegador. Es perdran si netegeu les dades del navegador o canvieu de navegador." +personalHeading = "Signatures personals" +sharedHeading = "Signatures compartides" +personalDescription = "Només vosaltres podeu veure aquestes signatures." +sharedDescription = "Tots els usuaris poden veure i utilitzar aquestes signatures." [sign.saved.type] canvas = "Dibuix" @@ -3438,6 +3454,9 @@ signinTitle = "Autenticat" ssoSignIn = "Inicia sessió mitjançant inici de sessió únic" oAuth2AutoCreateDisabled = "La creació automàtica d'usuaris OAUTH2 està desactivada" oAuth2AdminBlockedUser = "El registre o inici de sessió d'usuaris no registrats està actualment bloquejat. Si us plau, contacta amb l'administrador." +oAuth2RequiresLicense = "L'inici de sessió OAuth/SSO requereix una llicència de pagament (Server o Enterprise). Poseu-vos en contacte amb l'administrador per actualitzar el vostre pla." +saml2RequiresLicense = "L'inici de sessió SAML requereix una llicència de pagament (Server o Enterprise). Poseu-vos en contacte amb l'administrador per actualitzar el vostre pla." +maxUsersReached = "S'ha assolit el nombre màxim d'usuaris de la vostra llicència actual. Poseu-vos en contacte amb l'administrador per actualitzar el vostre pla o afegir més places." oauth2RequestNotFound = "Sol·licitud d'autorització no trobada" oauth2InvalidUserInfoResponse = "Resposta d'informació d'usuari no vàlida" oauth2invalidRequest = "Sol·licitud no vàlida" @@ -3846,14 +3865,17 @@ fitToWidth = "Ajusta a l'amplada" actualSize = "Mida real" [viewer] +cannotPreviewFile = "No es pot previsualitzar el fitxer" +dualPageView = "Vista de dues pàgines" firstPage = "Primera pàgina" lastPage = "Última pàgina" -previousPage = "Pàgina anterior" nextPage = "Pàgina següent" +onlyPdfSupported = "El visualitzador només admet fitxers PDF. Aquest fitxer sembla ser d'un format diferent." +previousPage = "Pàgina anterior" +singlePageView = "Vista d'una sola pàgina" +unknownFile = "Fitxer desconegut" zoomIn = "Amplia" zoomOut = "Redueix" -singlePageView = "Vista d'una sola pàgina" -dualPageView = "Vista de dues pàgines" [rightRail] closeSelected = "Tanca els fitxers seleccionats" @@ -3877,6 +3899,7 @@ toggleSidebar = "Mostra/oculta la barra lateral" exportSelected = "Exporta les pàgines seleccionades" toggleAnnotations = "Mostra/oculta les anotacions" annotationMode = "Activa/desactiva el mode d'anotació" +print = "Imprimeix el PDF" draw = "Dibuixa" save = "Desa" saveChanges = "Desa els canvis" @@ -3925,7 +3948,7 @@ files = "Fitxers" activity = "Registre" help = "Ajuda" account = "Compte" -config = "Config" +config = "Configuració" settings = "Ajustos" adminSettings = "Ajustos admin" allTools = "All Tools" @@ -4494,6 +4517,7 @@ description = "URL o nom de fitxer de l'impressum (requerit en algunes jurisdicc title = "Premium i Enterprise" description = "Configureu la clau de llicència Premium o Enterprise." license = "Configuració de llicència" +noInput = "Proporcioneu una clau de llicència o un fitxer" [admin.settings.premium.licenseKey] toggle = "Tens una clau de llicència o un fitxer de certificat?" @@ -4511,6 +4535,25 @@ line1 = "Sobreescriure la clau de llicència actual no es pot desfer." line2 = "La llicència anterior es perdrà permanentment si no en tens una còpia de seguretat." line3 = "Important: mantén les claus de llicència privades i segures. No les comparteixis mai públicament." +[admin.settings.premium.inputMethod] +text = "Clau de llicència" +file = "Fitxer de certificat" + +[admin.settings.premium.file] +label = "Fitxer de certificat de llicència" +description = "Pugeu el vostre fitxer de llicència .lic o .cert de compres fora de línia" +choose = "Trieu el fitxer de llicència" +selected = "Seleccionat: {{filename}} ({{size}})" +successMessage = "Fitxer de llicència pujat i activat correctament. No cal reiniciar." + +[admin.settings.premium.currentLicense] +title = "Llicència activa" +file = "Origen: Fitxer de llicència ({{path}})" +key = "Origen: Clau de llicència" +type = "Tipus: {{type}}" +noInput = "Proporcioneu una clau de llicència o pugeu un fitxer de certificat" +success = "Èxit" + [admin.settings.premium.enabled] label = "Habilita les funcions Premium" description = "Habilita les comprovacions de clau per a funcions pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} seleccionats" download = "Descarrega" delete = "Esborra" unsupported = "No compatible" +active = "Actiu" addToUpload = "Afegeix a la pujada" +closeFile = "Tanca el fitxer" deleteAll = "Suprimeix-ho tot" loadingFiles = "Carregant fitxers..." noFiles = "No hi ha fitxers disponibles" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Cal almenys una adreça de correu" submit = "Envia invitacions" success = "usuari(s) convidat(s) correctament" -partialSuccess = "Algunes invitacions han fallat" +partialFailure = "Algunes invitacions han fallat" allFailed = "No s’ha pogut convidar els usuaris" error = "No s’han pogut enviar les invitacions" @@ -5797,6 +5842,13 @@ submit = "Inicia sessió" signInWith = "Inicia sessió amb" oauthPending = "Obrint el navegador per autenticar-te..." orContinueWith = "O continua amb el correu electrònic" +serverRequirement = "Nota: el servidor ha de tenir l'inici de sessió habilitat." +showInstructions = "Com s'habilita?" +hideInstructions = "Amagueu les instruccions" +instructions = "Per habilitar l'inici de sessió al vostre servidor de Stirling PDF:" +instructionsEnvVar = "Establiu la variable d'entorn:" +instructionsOrYml = "O a settings.yml:" +instructionsRestart = "A continuació, reinicieu el servidor perquè els canvis tinguin efecte." [setup.login.username] label = "Nom d'usuari" diff --git a/frontend/public/locales/cs-CZ/translation.toml b/frontend/public/locales/cs-CZ/translation.toml index 0f80dd14b..d1ffd5b7f 100644 --- a/frontend/public/locales/cs-CZ/translation.toml +++ b/frontend/public/locales/cs-CZ/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Odebrat z oblíbených" fullscreen = "Přepnout na režim na celou obrazovku" sidebar = "Přepnout na režim postranního panelu" +[backendStartup] +notFoundTitle = "Backend nebyl nalezen" +retry = "Zkusit znovu" +unreachable = "Aplikace se nyní nemůže připojit k backendu. Ověřte stav backendu a síťové připojení a poté to zkuste znovu." + [zipWarning] title = "Velký soubor ZIP" message = "Tento ZIP obsahuje {{count}} souborů. Přesto rozbalit?" @@ -347,7 +352,7 @@ teams = "Týmy" title = "Konfigurace" systemSettings = "Systémová nastavení" features = "Funkce" -endpoints = "Endpoints" +endpoints = "Koncové body" database = "Databáze" advanced = "Pokročilé" @@ -912,6 +917,9 @@ desc = "Vytvářejte vícekrokové workflow řetězením akcí PDF. Ideální pr desc = "Překryje PDF nad jiným PDF" title = "Překrýt PDF" +[home.pdfTextEditor] +title = "Editor textu PDF" +desc = "Upravujte existující text a obrázky v PDF" [home.addText] tags = "text,anotace,štítek" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Nakreslený podpis" defaultImageLabel = "Nahraný podpis" defaultTextLabel = "Napsaný podpis" saveButton = "Uložit podpis" +savePersonal = "Uložit osobní" +saveShared = "Uložit sdílené" saveUnavailable = "Nejprve vytvořte podpis, abyste jej mohli uložit." noChanges = "Aktuální podpis je již uložen." +tempStorageTitle = "Dočasné úložiště prohlížeče" +tempStorageDescription = "Podpisy jsou uloženy pouze ve vašem prohlížeči. Při vymazání dat prohlížeče nebo při přepnutí na jiný prohlížeč budou ztraceny." +personalHeading = "Osobní podpisy" +sharedHeading = "Sdílené podpisy" +personalDescription = "Tyto podpisy vidíte pouze vy." +sharedDescription = "Všichni uživatelé mohou tyto podpisy vidět a používat." [sign.saved.type] canvas = "Kresba" @@ -3438,6 +3454,9 @@ signinTitle = "Prosím přihlaste se" ssoSignIn = "Přihlásit se přes Single Sign-on" oAuth2AutoCreateDisabled = "Automatické vytváření OAUTH2 uživatelů je zakázáno" oAuth2AdminBlockedUser = "Registrace nebo přihlášení neregistrovaných uživatelů je momentálně blokováno. Kontaktujte prosím správce." +oAuth2RequiresLicense = "Přihlášení pomocí OAuth/SSO vyžaduje placenou licenci (Server nebo Enterprise). Kontaktujte prosím administrátora kvůli upgradu vašeho plánu." +saml2RequiresLicense = "Přihlášení pomocí SAML vyžaduje placenou licenci (Server nebo Enterprise). Kontaktujte prosím administrátora kvůli upgradu vašeho plánu." +maxUsersReached = "Byl dosažen maximální počet uživatelů pro vaši aktuální licenci. Kontaktujte prosím administrátora kvůli upgradu vašeho plánu nebo přidání dalších míst." oauth2RequestNotFound = "Požadavek na autorizaci nebyl nalezen" oauth2InvalidUserInfoResponse = "Neplatná odpověď s informacemi o uživateli" oauth2invalidRequest = "Neplatný požadavek" @@ -3846,14 +3865,17 @@ fitToWidth = "Přizpůsobit šířce" actualSize = "Skutečná velikost" [viewer] +cannotPreviewFile = "Nelze zobrazit náhled souboru" +dualPageView = "Zobrazení dvou stránek" firstPage = "První stránka" lastPage = "Poslední stránka" -previousPage = "Předchozí stránka" nextPage = "Další stránka" +onlyPdfSupported = "Prohlížeč podporuje pouze soubory PDF. Tento soubor má zřejmě jiný formát." +previousPage = "Předchozí stránka" +singlePageView = "Zobrazení jedné stránky" +unknownFile = "Neznámý soubor" zoomIn = "Přiblížit" zoomOut = "Oddálit" -singlePageView = "Zobrazení jedné stránky" -dualPageView = "Zobrazení dvou stránek" [rightRail] closeSelected = "Zavřít vybrané soubory" @@ -3877,6 +3899,7 @@ toggleSidebar = "Přepnout postranní panel" exportSelected = "Exportovat vybrané stránky" toggleAnnotations = "Přepnout viditelnost anotací" annotationMode = "Přepnout režim anotací" +print = "Tisk PDF" draw = "Kreslit" save = "Uložit" saveChanges = "Uložit změny" @@ -4494,6 +4517,7 @@ description = "URL nebo název souboru k Impressu (vyžadováno v některých ju title = "Premium a Enterprise" description = "Nakonfigurujte svůj prémiový nebo enterprise licenční klíč." license = "Konfigurace licence" +noInput = "Zadejte licenční klíč nebo soubor" [admin.settings.premium.licenseKey] toggle = "Máte licenční klíč nebo certifikační soubor?" @@ -4511,6 +4535,25 @@ line1 = "Přepsání aktuálního licenčního klíče nelze vrátit zpět." line2 = "Předchozí licence bude trvale ztracena, pokud ji nemáte zálohovanou jinde." line3 = "Důležité: Uchovávejte licenční klíče v soukromí a v bezpečí. Nikdy je nesdílejte veřejně." +[admin.settings.premium.inputMethod] +text = "Licenční klíč" +file = "Soubor certifikátu" + +[admin.settings.premium.file] +label = "Soubor licenčního certifikátu" +description = "Nahrajte svůj licenční soubor .lic nebo .cert z offline nákupu" +choose = "Vybrat licenční soubor" +selected = "Vybráno: {{filename}} ({{size}})" +successMessage = "Licenční soubor byl úspěšně nahrán a aktivován. Restart není vyžadován." + +[admin.settings.premium.currentLicense] +title = "Aktivní licence" +file = "Zdroj: Licenční soubor ({{path}})" +key = "Zdroj: Licenční klíč" +type = "Typ: {{type}}" +noInput = "Zadejte licenční klíč nebo nahrajte soubor certifikátu" +success = "Úspěch" + [admin.settings.premium.enabled] label = "Povolit prémiové funkce" description = "Povolit kontrolu licenčního klíče pro pro/enterprise funkce" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} vybráno" download = "Stáhnout" delete = "Smazat" unsupported = "Nepodporováno" +active = "Aktivní" addToUpload = "Přidat k nahrání" +closeFile = "Zavřít soubor" deleteAll = "Smazat vše" loadingFiles = "Načítání souborů..." noFiles = "Nejsou k dispozici žádné soubory" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "uzivatel1@priklad.cz, uzivatel2@priklad.cz" emailsRequired = "Je vyžadována alespoň jedna e‑mailová adresa" submit = "Odeslat pozvánky" success = "uživatel(é) úspěšně pozváni" -partialSuccess = "Některé pozvánky se nepodařilo odeslat" +partialFailure = "Některá pozvání selhala" allFailed = "Nepodařilo se pozvat uživatele" error = "Nepodařilo se odeslat pozvánky" @@ -5709,7 +5754,7 @@ title = "Graf využití endpointů" [usage.table] title = "Podrobné statistiky" -endpoint = "Endpoint" +endpoint = "Koncový bod" visits = "Návštěvy" percentage = "Procenta" noData = "Žádná data nejsou k dispozici" @@ -5797,6 +5842,13 @@ submit = "Přihlásit se" signInWith = "Přihlásit se pomocí" oauthPending = "Otevírám prohlížeč pro ověření..." orContinueWith = "Nebo pokračovat e-mailem" +serverRequirement = "Poznámka: Na serveru musí být povoleno přihlášení." +showInstructions = "Jak povolit?" +hideInstructions = "Skrýt pokyny" +instructions = "Chcete-li povolit přihlášení na vašem serveru Stirling PDF:" +instructionsEnvVar = "Nastavte proměnnou prostředí:" +instructionsOrYml = "Nebo v settings.yml:" +instructionsRestart = "Poté restartujte server, aby se změny projevily." [setup.login.username] label = "Uživatelské jméno" @@ -5840,7 +5892,7 @@ paragraph = "Odstavcová stránka" sparse = "Řídký text" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automaticky" paragraph = "Odstavec" singleLine = "Jeden řádek" @@ -5932,13 +5984,13 @@ warnings = "Varování" suggestions = "Poznámky" currentPageFonts = "Fonty na této stránce" allFonts = "Všechny fonty" -fallback = "fallback" +fallback = "náhradní" missing = "chybí" perfectMessage = "Všechny fonty lze reprodukovat dokonale." warningMessage = "Některé fonty se nemusí vykreslit správně." infoMessage = "K dispozici jsou informace o reprodukci fontů." -perfect = "perfect" -subset = "subset" +perfect = "dokonalé" +subset = "podmnožina" [pdfTextEditor.errors] invalidJson = "Nelze přečíst soubor JSON. Ujistěte se, že byl vytvořen nástrojem PDF to JSON." diff --git a/frontend/public/locales/da-DK/translation.toml b/frontend/public/locales/da-DK/translation.toml index bc44aa479..d3a6cca28 100644 --- a/frontend/public/locales/da-DK/translation.toml +++ b/frontend/public/locales/da-DK/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Fjern fra favoritter" fullscreen = "Skift til fuldskærmstilstand" sidebar = "Skift til sidepanel-tilstand" +[backendStartup] +notFoundTitle = "Backend ikke fundet" +retry = "Prøv igen" +unreachable = "Programmet kan i øjeblikket ikke forbinde til backend. Kontroller backend-status og netværksforbindelse, og prøv igen." + [zipWarning] title = "Stor ZIP-fil" message = "Denne ZIP indeholder {{count}} filer. Udpak alligevel?" @@ -347,7 +352,7 @@ teams = "Teams" title = "Konfiguration" systemSettings = "Systemindstillinger" features = "Funktioner" -endpoints = "Endpoints" +endpoints = "Slutpunkter" database = "Database" advanced = "Avanceret" @@ -359,7 +364,7 @@ connections = "Forbindelser" [settings.licensingAnalytics] title = "Licensering & Analytics" plan = "Plan" -audit = "Audit" +audit = "Revision" usageAnalytics = "Brugsanalyse" [settings.policiesPrivacy] @@ -556,13 +561,13 @@ totalEndpoints = "Endpoints i alt" totalVisits = "Besøg i alt" showing = "Viser" selectedVisits = "Valgte besøg" -endpoint = "Endpoint" +endpoint = "Slutpunkt" visits = "Besøg" percentage = "Procent" loading = "Laster..." failedToLoad = "Kunne ikke indlæse endpoint-data. Prøv at opdatere." home = "Hjem" -login = "Login" +login = "Log ind" top = "Top" numberOfVisits = "Antal besøg" visitsTooltip = "Besøg: {0} ({1}% af totalen)" @@ -912,6 +917,9 @@ desc = "Byg flertrins-workflows ved at kæde PDF-handlinger sammen. Ideelt til t desc = "Overlejrer PDF'er oven på en anden PDF" title = "Overlejr PDF'er" +[home.pdfTextEditor] +title = "PDF-teksteditor" +desc = "Rediger eksisterende tekst og billeder i PDF'er" [home.addText] tags = "tekst,annotering,etiket" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "Vælg filer i hovedvisningen for at komme i gang" settings = "Indstillinger" conversionCompleted = "Konvertering fuldført" results = "Resultater" -defaultFilename = "converted_file" +defaultFilename = "konverteret_fil" conversionResults = "Konverteringsresultater" convertFrom = "Konvertér fra" convertTo = "Konvertér til" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Tegnet signatur" defaultImageLabel = "Uploadet signatur" defaultTextLabel = "Indtastet signatur" saveButton = "Gem signatur" +savePersonal = "Gem personlig" +saveShared = "Gem delt" saveUnavailable = "Opret først en signatur for at gemme den." noChanges = "Nuværende signatur er allerede gemt." +tempStorageTitle = "Midlertidig browserlagring" +tempStorageDescription = "Signaturer gemmes kun i din browser. De går tabt, hvis du rydder browserdata eller skifter browser." +personalHeading = "Personlige signaturer" +sharedHeading = "Delte signaturer" +personalDescription = "Kun du kan se disse signaturer." +sharedDescription = "Alle brugere kan se og bruge disse signaturer." [sign.saved.type] canvas = "Tegning" @@ -3438,6 +3454,9 @@ signinTitle = "Log venligst ind" ssoSignIn = "Log ind via Single Sign-on" oAuth2AutoCreateDisabled = "OAUTH2 Auto-Opret Bruger Deaktiveret" oAuth2AdminBlockedUser = "Registrering eller login af ikke-registrerede brugere er i øjeblikket blokeret. Kontakt venligst administratoren." +oAuth2RequiresLicense = "OAuth/SSO-login kræver en betalt licens (Server eller Enterprise). Kontakt administratoren for at opgradere din plan." +saml2RequiresLicense = "SAML-login kræver en betalt licens (Server eller Enterprise). Kontakt administratoren for at opgradere din plan." +maxUsersReached = "Maksimalt antal brugere er nået for din nuværende licens. Kontakt administratoren for at opgradere din plan eller tilføje flere pladser." oauth2RequestNotFound = "Autorisationsanmodning ikke fundet" oauth2InvalidUserInfoResponse = "Ugyldigt Brugerinfo Svar" oauth2invalidRequest = "Ugyldig Anmodning" @@ -3846,14 +3865,17 @@ fitToWidth = "Tilpas til bredde" actualSize = "Faktisk størrelse" [viewer] +cannotPreviewFile = "Kan ikke forhåndsvise fil" +dualPageView = "To-siders visning" firstPage = "Første side" lastPage = "Sidste side" -previousPage = "Forrige side" nextPage = "Næste side" +onlyPdfSupported = "Visningen understøtter kun PDF-filer. Denne fil ser ud til at være et andet format." +previousPage = "Forrige side" +singlePageView = "Enkelt-sides visning" +unknownFile = "Ukendt fil" zoomIn = "Zoom ind" zoomOut = "Zoom ud" -singlePageView = "Enkelt-sides visning" -dualPageView = "To-siders visning" [rightRail] closeSelected = "Luk valgte filer" @@ -3877,6 +3899,7 @@ toggleSidebar = "Skift sidepanel" exportSelected = "Eksporter valgte sider" toggleAnnotations = "Skift visning af annoteringer" annotationMode = "Skift annoteringstilstand" +print = "Udskriv PDF" draw = "Tegn" save = "Gem" saveChanges = "Gem ændringer" @@ -4343,7 +4366,7 @@ features = "Funktionsflag" processing = "Behandling" [admin.settings.advanced.endpoints] -label = "Endpoints" +label = "Slutpunkter" manage = "Administrer API-endpoints" description = "Endpointstyring konfigureres via YAML. Se dokumentationen for detaljer om aktivering/deaktivering af specifikke endpoints." @@ -4494,6 +4517,7 @@ description = "URL eller filnavn til impressum (påkrævet i nogle jurisdiktione title = "Premium og Enterprise" description = "Konfigurer din premium- eller enterprise-licensnøgle." license = "Licenskonfiguration" +noInput = "Angiv en licensnøgle eller fil" [admin.settings.premium.licenseKey] toggle = "Har du en licensnøgle eller en certifikatfil?" @@ -4511,6 +4535,25 @@ line1 = "Overskrivning af din nuværende licensnøgle kan ikke fortrydes." line2 = "Din tidligere licens går permanent tabt, medmindre du har sikkerhedskopieret den andetsteds." line3 = "Vigtigt: Hold licensnøgler private og sikre. Del dem aldrig offentligt." +[admin.settings.premium.inputMethod] +text = "Licensnøgle" +file = "Certifikatfil" + +[admin.settings.premium.file] +label = "Licenscertifikatfil" +description = "Upload din .lic- eller .cert-licensfil fra offlinekøb" +choose = "Vælg licensfil" +selected = "Valgt: {{filename}} ({{size}})" +successMessage = "Licensfil uploadet og aktiveret. Genstart er ikke påkrævet." + +[admin.settings.premium.currentLicense] +title = "Aktiv licens" +file = "Kilde: Licensfil ({{path}})" +key = "Kilde: Licensnøgle" +type = "Type: {{type}}" +noInput = "Angiv en licensnøgle eller upload en certifikatfil" +success = "Succes" + [admin.settings.premium.enabled] label = "Aktivér premium-funktioner" description = "Aktivér licensnøgletjek for pro-/enterprise-funktioner" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} valgt" download = "Download" delete = "Slet" unsupported = "Ikke understøttet" +active = "Aktiv" addToUpload = "Føj til upload" +closeFile = "Luk fil" deleteAll = "Slet alle" loadingFiles = "Indlæser filer..." noFiles = "Ingen filer tilgængelige" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Mindst én e-mailadresse er påkrævet" submit = "Send invitationer" success = "Bruger(e) inviteret" -partialSuccess = "Nogle invitationer mislykkedes" +partialFailure = "Nogle invitationer mislykkedes" allFailed = "Kunne ikke invitere brugere" error = "Kunne ikke sende invitationer" @@ -5288,8 +5333,8 @@ emailDisabled = "E-mailinvitationer kræver SMTP-konfiguration og mail.enableInv [workspace.people.license] users = "brugere" availableSlots = "Tilgængelige pladser" -grandfathered = "Grandfathered" -grandfatheredShort = "{{count}} grandfathered" +grandfathered = "På gamle vilkår" +grandfatheredShort = "{{count}} på gamle vilkår" fromLicense = "fra licens" slotsAvailable = "{{count}} ledig(e) brugerplads(er)" noSlotsAvailable = "Ingen pladser tilgængelige" @@ -5709,7 +5754,7 @@ title = "Diagram over endpoint-brug" [usage.table] title = "Detaljeret statistik" -endpoint = "Endpoint" +endpoint = "Slutpunkt" visits = "Besøg" percentage = "Procent" noData = "Ingen data tilgængelige" @@ -5752,7 +5797,7 @@ label = "Vælg server" description = "Selvhostet server" [setup.step3] -label = "Login" +label = "Log ind" description = "Indtast loginoplysninger" [setup.mode.saas] @@ -5797,6 +5842,13 @@ submit = "Log ind" signInWith = "Log ind med" oauthPending = "Åbner browser for godkendelse..." orContinueWith = "Eller fortsæt med email" +serverRequirement = "Bemærk: Serveren skal have login aktiveret." +showInstructions = "Hvordan aktiveres det?" +hideInstructions = "Skjul instruktioner" +instructions = "Sådan aktiverer du login på din Stirling PDF-server:" +instructionsEnvVar = "Sæt miljøvariablen:" +instructionsOrYml = "Eller i settings.yml:" +instructionsRestart = "Genstart derefter serveren, så ændringerne træder i kraft." [setup.login.username] label = "Brugernavn" diff --git a/frontend/public/locales/de-DE/translation.toml b/frontend/public/locales/de-DE/translation.toml index c8c8e6f71..70dcf86b2 100644 --- a/frontend/public/locales/de-DE/translation.toml +++ b/frontend/public/locales/de-DE/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Aus Favoriten entfernen" fullscreen = "In den Vollbildmodus wechseln" sidebar = "In den Seitenleistenmodus wechseln" +[backendStartup] +notFoundTitle = "Backend nicht gefunden" +retry = "Erneut versuchen" +unreachable = "Die Anwendung kann derzeit keine Verbindung zum Backend herstellen. Überprüfen Sie den Backend-Status und die Netzwerkverbindung und versuchen Sie es dann erneut." + [zipWarning] title = "Große ZIP-Datei" message = "Dieses ZIP enthält {{count}} Dateien. Trotzdem extrahieren?" @@ -347,7 +352,7 @@ teams = "Teams" title = "Konfiguration" systemSettings = "Systemeinstellungen" features = "Funktionen" -endpoints = "Endpoints" +endpoints = "Endpunkte" database = "Datenbank" advanced = "Erweitert" @@ -383,7 +388,7 @@ logout = "Abmelden" [settings.connection.mode] saas = "Stirling Cloud" -selfhosted = "Self-Hosted" +selfhosted = "Selbst gehostet" [settings.general] title = "Allgemein" @@ -612,7 +617,7 @@ desc = "Anzeigen, Kommentieren, Text oder Bilder hinzufügen" brandAlt = "Stirling PDF-Logo" openFiles = "Dateien öffnen" swipeHint = "Zum Wechseln der Ansicht nach links oder rechts wischen" -tools = "Tools" +tools = "Werkzeuge" toolsSlide = "Bereich für Toolauswahl" viewSwitcher = "Ansicht des Arbeitsbereichs wechseln" workbenchSlide = "Arbeitsbereichs-Panel" @@ -912,9 +917,12 @@ desc = "Mehrstufige Arbeitsabläufe durch Verkettung von PDF-Aktionen erstellen. desc = "Ein PDF über ein anderes legen" title = "PDFs überlagern" +[home.pdfTextEditor] +title = "PDF-Texteditor" +desc = "Vorhandenen Text und Bilder in PDFs bearbeiten" [home.addText] -tags = "text,annotation,label" +tags = "text,anmerkung,beschriftung" title = "Text hinzufügen" desc = "Beliebigen Text überall in Ihrem PDF hinzufügen" @@ -1213,7 +1221,7 @@ pdfaDigitalSignatureWarning = "Das PDF enthält eine digitale Signatur. Sie wird fileFormat = "Dateiformat" wordDoc = "Word-Dokument" wordDocExt = "Word-Dokument (.docx)" -odtExt = "OpenDocument Text (.odt)" +odtExt = "OpenDocument-Text (.odt)" pptExt = "PowerPoint (.pptx)" odpExt = "OpenDocument Präsentation (.odp)" txtExt = "Einfacher Text (.txt)" @@ -2259,12 +2267,20 @@ defaultCanvasLabel = "Gezeichnete Unterschrift" defaultImageLabel = "Hochgeladene Unterschrift" defaultTextLabel = "Getippte Unterschrift" saveButton = "Unterschrift speichern" +savePersonal = "Persönlich speichern" +saveShared = "Geteilt speichern" saveUnavailable = "Erstellen Sie zuerst eine Unterschrift, um sie zu speichern." noChanges = "Die aktuelle Unterschrift ist bereits gespeichert." +tempStorageTitle = "Temporärer Browser-Speicher" +tempStorageDescription = "Signaturen werden nur in Ihrem Browser gespeichert. Sie gehen verloren, wenn Sie Browserdaten löschen oder den Browser wechseln." +personalHeading = "Persönliche Signaturen" +sharedHeading = "Geteilte Signaturen" +personalDescription = "Nur Sie können diese Signaturen sehen." +sharedDescription = "Alle Benutzer können diese Signaturen sehen und verwenden." [sign.saved.type] canvas = "Zeichnung" -image = "Upload" +image = "Hochladen" text = "Text" [sign.saved.status] @@ -3438,6 +3454,9 @@ signinTitle = "Bitte melden Sie sich an." ssoSignIn = "Anmeldung per Single Sign-On" oAuth2AutoCreateDisabled = "OAUTH2 Benutzer automatisch erstellen deaktiviert" oAuth2AdminBlockedUser = "Die Registrierung bzw. das anmelden von nicht registrierten Benutzern ist derzeit gesperrt. Bitte wenden Sie sich an den Administrator." +oAuth2RequiresLicense = "OAuth/SSO-Anmeldung erfordert eine kostenpflichtige Lizenz (Server oder Enterprise). Bitte wenden Sie sich an den Administrator, um Ihren Plan zu aktualisieren." +saml2RequiresLicense = "SAML-Anmeldung erfordert eine kostenpflichtige Lizenz (Server oder Enterprise). Bitte wenden Sie sich an den Administrator, um Ihren Plan zu aktualisieren." +maxUsersReached = "Die maximale Benutzeranzahl für Ihre aktuelle Lizenz wurde erreicht. Bitte wenden Sie sich an den Administrator, um Ihren Plan zu aktualisieren oder weitere Benutzerplätze hinzuzufügen." oauth2RequestNotFound = "Autorisierungsanfrage nicht gefunden" oauth2InvalidUserInfoResponse = "Ungültige Benutzerinformationsantwort" oauth2invalidRequest = "ungültige Anfrage" @@ -3846,14 +3865,17 @@ fitToWidth = "An Breite anpassen" actualSize = "Originalgröße" [viewer] +cannotPreviewFile = "Datei kann nicht in der Vorschau angezeigt werden" +dualPageView = "Doppelseitenansicht" firstPage = "Erste Seite" lastPage = "Letzte Seite" -previousPage = "Vorherige Seite" nextPage = "Nächste Seite" +onlyPdfSupported = "Der Viewer unterstützt nur PDF-Dateien. Diese Datei scheint ein anderes Format zu haben." +previousPage = "Vorherige Seite" +singlePageView = "Einzelseitenansicht" +unknownFile = "Unbekannte Datei" zoomIn = "Vergrößern" zoomOut = "Verkleinern" -singlePageView = "Einzelseitenansicht" -dualPageView = "Doppelseitenansicht" [rightRail] closeSelected = "Ausgewählte Dateien schließen" @@ -3877,6 +3899,7 @@ toggleSidebar = "Seitenleiste umschalten" exportSelected = "Ausgewählte Seiten exportieren" toggleAnnotations = "Anmerkungen ein-/ausblenden" annotationMode = "Anmerkungsmodus umschalten" +print = "PDF drucken" draw = "Zeichnen" save = "Speichern" saveChanges = "Änderungen speichern" @@ -3928,7 +3951,7 @@ account = "Konto" config = "Konfig" settings = "Optionen" adminSettings = "Admin Optionen" -allTools = "Tools" +allTools = "Werkzeuge" reader = "Reader" [quickAccess.helpMenu] @@ -4494,6 +4517,7 @@ description = "URL oder Dateiname zum Impressum (in einigen Rechtsordnungen erfo title = "Premium & Enterprise" description = "Ihren Premium- oder Enterprise-Lizenzschlüssel konfigurieren." license = "Lizenzkonfiguration" +noInput = "Bitte geben Sie einen Lizenzschlüssel oder eine Datei an" [admin.settings.premium.licenseKey] toggle = "Lizenzschlüssel oder Zertifikatsdatei vorhanden?" @@ -4511,6 +4535,25 @@ line1 = "Das Überschreiben Ihres aktuellen Lizenzschlüssels kann nicht rückg line2 = "Ihre vorherige Lizenz geht dauerhaft verloren, sofern Sie sie nicht anderweitig gesichert haben." line3 = "Wichtig: Halten Sie Lizenzschlüssel privat und sicher. Geben Sie sie niemals öffentlich weiter." +[admin.settings.premium.inputMethod] +text = "Lizenzschlüssel" +file = "Zertifikatsdatei" + +[admin.settings.premium.file] +label = "Lizenz-Zertifikatsdatei" +description = "Laden Sie Ihre .lic- oder .cert-Lizenzdatei aus Offline-Käufen hoch" +choose = "Lizenzdatei auswählen" +selected = "Ausgewählt: {{filename}} ({{size}})" +successMessage = "Lizenzdatei erfolgreich hochgeladen und aktiviert. Kein Neustart erforderlich." + +[admin.settings.premium.currentLicense] +title = "Aktive Lizenz" +file = "Quelle: Lizenzdatei ({{path}})" +key = "Quelle: Lizenzschlüssel" +type = "Typ: {{type}}" +noInput = "Bitte geben Sie einen Lizenzschlüssel an oder laden Sie eine Zertifikatdatei hoch" +success = "Erfolg" + [admin.settings.premium.enabled] label = "Premium-Funktionen aktivieren" description = "Lizenzschlüssel-Prüfungen für Pro-/Enterprise-Funktionen aktivieren" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} ausgewählt" download = "Herunterladen" delete = "Löschen" unsupported = "Nicht unterstützt" +active = "Aktiv" addToUpload = "Zum Upload hinzufügen" +closeFile = "Datei schließen" deleteAll = "Alle löschen" loadingFiles = "Dateien werden geladen..." noFiles = "Keine Dateien verfügbar" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Mindestens eine E-Mail-Adresse ist erforderlich" submit = "Einladungen senden" success = "Benutzer erfolgreich eingeladen" -partialSuccess = "Einige Einladungen sind fehlgeschlagen" +partialFailure = "Einige Einladungen sind fehlgeschlagen" allFailed = "Benutzer konnten nicht eingeladen werden" error = "Einladungen konnten nicht gesendet werden" @@ -5752,7 +5797,7 @@ label = "Server auswählen" description = "Self-Hosted-Server" [setup.step3] -label = "Login" +label = "Anmeldung" description = "Anmeldedaten eingeben" [setup.mode.saas] @@ -5793,10 +5838,17 @@ testFailed = "Verbindungstest fehlgeschlagen" title = "Anmelden" subtitle = "Geben Sie Ihre Anmeldedaten ein, um fortzufahren" connectingTo = "Verbinden mit:" -submit = "Login" +submit = "Anmelden" signInWith = "Anmelden mit" oauthPending = "Browser zur Authentifizierung wird geöffnet..." orContinueWith = "Oder mit E-Mail fortfahren" +serverRequirement = "Hinweis: Auf dem Server muss die Anmeldung aktiviert sein." +showInstructions = "Wie aktivieren?" +hideInstructions = "Anleitung ausblenden" +instructions = "So aktivieren Sie die Anmeldung auf Ihrem Stirling PDF-Server:" +instructionsEnvVar = "Setzen Sie die Umgebungsvariable:" +instructionsOrYml = "Oder in der settings.yml:" +instructionsRestart = "Starten Sie anschließend Ihren Server neu, damit die Änderungen wirksam werden." [setup.login.username] label = "Benutzername" @@ -5847,7 +5899,7 @@ singleLine = "Einzeilig" [pdfTextEditor.badges] unsaved = "Bearbeitet" modified = "Bearbeitet" -earlyAccess = "Early Access" +earlyAccess = "Früher Zugriff" [pdfTextEditor.actions] reset = "Änderungen zurücksetzen" diff --git a/frontend/public/locales/el-GR/translation.toml b/frontend/public/locales/el-GR/translation.toml index 265646627..d3cf4c860 100644 --- a/frontend/public/locales/el-GR/translation.toml +++ b/frontend/public/locales/el-GR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Αφαίρεση από τα Αγαπημένα" fullscreen = "Μετάβαση σε λειτουργία πλήρους οθόνης" sidebar = "Μετάβαση σε λειτουργία πλευρικής γραμμής" +[backendStartup] +notFoundTitle = "Το backend δεν βρέθηκε" +retry = "Επανάληψη" +unreachable = "Η εφαρμογή δεν μπορεί προς το παρόν να συνδεθεί με το backend. Ελέγξτε την κατάσταση του backend και τη συνδεσιμότητα δικτύου, μετά δοκιμάστε ξανά." + [zipWarning] title = "Μεγάλο αρχείο ZIP" message = "Αυτό το ZIP περιέχει {{count}} αρχεία. Να γίνει αποσυμπίεση ούτως ή άλλως;" @@ -287,7 +292,7 @@ help = "Βοήθεια Pipeline" scanHelp = "Βοήθεια σάρωσης φακέλων" deletePrompt = "Είστε βέβαιοι ότι θέλετε να διαγράψετε το pipeline;" tags = "αυτοματοποίηση,ακολουθία,προγραμματισμένο,επεξεργασία-παρτίδας" -title = "Pipeline" +title = "Ροή" [pipelineOptions] header = "Διαμόρφωση Pipeline" @@ -296,7 +301,7 @@ saveSettings = "Αποθήκευση ρυθμίσεων λειτουργίας" pipelineNamePrompt = "Εισάγετε όνομα pipeline εδώ" selectOperation = "Επιλογή λειτουργίας" addOperationButton = "Προσθήκη λειτουργίας" -pipelineHeader = "Pipeline:" +pipelineHeader = "Ροή:" saveButton = "Λήψη" validateButton = "Επικύρωση" @@ -347,7 +352,7 @@ teams = "Ομάδες" title = "Διαμόρφωση" systemSettings = "Ρυθμίσεις συστήματος" features = "Δυνατότητες" -endpoints = "Endpoints" +endpoints = "Σημεία τερματισμού" database = "Βάση δεδομένων" advanced = "Προχωρημένα" @@ -369,7 +374,7 @@ privacy = "Απόρρητο" [settings.developer] title = "Προγραμματιστής" -apiKeys = "API Keys" +apiKeys = "Κλειδιά API" [settings.tooltips] enableLoginFirst = "Ενεργοποιήστε πρώτα τη λειτουργία σύνδεσης" @@ -383,7 +388,7 @@ logout = "Αποσύνδεση" [settings.connection.mode] saas = "Stirling Cloud" -selfhosted = "Self-Hosted" +selfhosted = "Αυτο-φιλοξενούμενο" [settings.general] title = "Γενικά" @@ -912,6 +917,9 @@ desc = "Δημιουργήστε ροές πολλών βημάτων συνδέ desc = "Επικάλυψη PDF πάνω σε άλλο PDF" title = "Επικάλυψη PDF" +[home.pdfTextEditor] +title = "Επεξεργαστής κειμένου PDF" +desc = "Επεξεργαστείτε υπάρχον κείμενο και εικόνες μέσα σε αρχεία PDF" [home.addText] tags = "κείμενο,σχολιασμός,ετικέτα" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "Επιλέξτε αρχεία στην κύρια πρ settings = "Ρυθμίσεις" conversionCompleted = "Η μετατροπή ολοκληρώθηκε" results = "Αποτελέσματα" -defaultFilename = "converted_file" +defaultFilename = "μετατραπμένο_αρχείο" conversionResults = "Αποτελέσματα μετατροπής" convertFrom = "Μετατροπή από" convertTo = "Μετατροπή σε" @@ -1360,7 +1368,7 @@ title = "Προσθήκη υδατογραφήματος" desc = "Προσθέστε υδατογραφήματα κειμένου ή εικόνας σε αρχεία PDF" completed = "Το υδατογράφημα προστέθηκε" submit = "Προσθήκη υδατογραφήματος" -filenamePrefix = "watermarked" +filenamePrefix = "υδατογραφημένο" [watermark.error] failed = "Παρουσιάστηκε σφάλμα κατά την προσθήκη υδατογραφήματος στο PDF." @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Σχεδιασμένη υπογραφή" defaultImageLabel = "Ανεβασμένη υπογραφή" defaultTextLabel = "Πληκτρολογημένη υπογραφή" saveButton = "Αποθήκευση υπογραφής" +savePersonal = "Αποθήκευση ως Προσωπική" +saveShared = "Αποθήκευση ως Κοινόχρηστη" saveUnavailable = "Δημιουργήστε πρώτα μια υπογραφή για να την αποθηκεύσετε." noChanges = "Η τρέχουσα υπογραφή είναι ήδη αποθηκευμένη." +tempStorageTitle = "Προσωρινή αποθήκευση στον περιηγητή" +tempStorageDescription = "Οι υπογραφές αποθηκεύονται μόνο στον περιηγητή σας. Θα χαθούν αν καθαρίσετε τα δεδομένα του περιηγητή ή αλλάξετε περιηγητή." +personalHeading = "Προσωπικές υπογραφές" +sharedHeading = "Κοινόχρηστες υπογραφές" +personalDescription = "Μόνο εσείς μπορείτε να δείτε αυτές τις υπογραφές." +sharedDescription = "Όλοι οι χρήστες μπορούν να βλέπουν και να χρησιμοποιούν αυτές τις υπογραφές." [sign.saved.type] canvas = "Σχέδιο" @@ -2701,7 +2717,7 @@ header = "Αφαίρεση της ψηφιακής υπογραφής από τ selectPDF = "Επιλέξτε ένα αρχείο PDF:" submit = "Αφαίρεση υπογραφής" description = "Αυτό το εργαλείο θα αφαιρέσει τις υπογραφές ψηφιακού πιστοποιητικού από το PDF σας." -filenamePrefix = "unsigned" +filenamePrefix = "ανυπόγραφο" [removeCertSign.files] placeholder = "Επιλέξτε ένα αρχείο PDF στην κύρια προβολή για να ξεκινήσετε" @@ -3438,6 +3454,9 @@ signinTitle = "Παρακαλώ συνδεθείτε" ssoSignIn = "Σύνδεση μέσω Single Sign-on" oAuth2AutoCreateDisabled = "Η αυτόματη δημιουργία χρήστη OAUTH2 είναι απενεργοποιημένη" oAuth2AdminBlockedUser = "Η εγγραφή ή σύνδεση μη εγγεγραμμένων χρηστών είναι προς το παρόν αποκλεισμένη. Παρακαλώ επικοινωνήστε με τον διαχειριστή." +oAuth2RequiresLicense = "Η σύνδεση μέσω OAuth/SSO απαιτεί επί πληρωμή άδεια (Server ή Enterprise). Παρακαλούμε επικοινωνήστε με τον διαχειριστή για να αναβαθμίσετε το πλάνο σας." +saml2RequiresLicense = "Η σύνδεση μέσω SAML απαιτεί επί πληρωμή άδεια (Server ή Enterprise). Παρακαλούμε επικοινωνήστε με τον διαχειριστή για να αναβαθμίσετε το πλάνο σας." +maxUsersReached = "Έχει επιτευχθεί ο μέγιστος αριθμός χρηστών για την τρέχουσα άδειά σας. Παρακαλούμε επικοινωνήστε με τον διαχειριστή για να αναβαθμίσετε το πλάνο σας ή να προσθέσετε περισσότερες θέσεις." oauth2RequestNotFound = "Το αίτημα εξουσιοδότησης δεν βρέθηκε" oauth2InvalidUserInfoResponse = "Μη έγκυρη απόκριση πληροφοριών χρήστη" oauth2invalidRequest = "Μη έγκυρο αίτημα" @@ -3533,7 +3552,7 @@ title = "PDF σε μία σελίδα" header = "PDF σε μία σελίδα" submit = "Μετατροπή σε μία σελίδα" description = "Αυτό το εργαλείο θα συγχωνεύσει όλες τις σελίδες του PDF σας σε μία μεγάλη ενιαία σελίδα. Το πλάτος θα παραμείνει ίδιο με των αρχικών σελίδων, αλλά το ύψος θα είναι το άθροισμα όλων των υψών." -filenamePrefix = "single_page" +filenamePrefix = "μονοσέλιδο" [pdfToSinglePage.files] placeholder = "Επιλέξτε ένα αρχείο PDF στην κύρια προβολή για να ξεκινήσετε" @@ -3846,14 +3865,17 @@ fitToWidth = "Προσαρμογή στο πλάτος" actualSize = "Πραγματικό μέγεθος" [viewer] +cannotPreviewFile = "Δεν είναι δυνατή η προεπισκόπηση του αρχείου" +dualPageView = "Προβολή διπλής σελίδας" firstPage = "Πρώτη σελίδα" lastPage = "Τελευταία σελίδα" -previousPage = "Προηγούμενη σελίδα" nextPage = "Επόμενη σελίδα" +onlyPdfSupported = "Ο προβολέας υποστηρίζει μόνο αρχεία PDF. Αυτό το αρχείο φαίνεται να είναι διαφορετικής μορφής." +previousPage = "Προηγούμενη σελίδα" +singlePageView = "Προβολή μίας σελίδας" +unknownFile = "Άγνωστο αρχείο" zoomIn = "Μεγέθυνση" zoomOut = "Σμίκρυνση" -singlePageView = "Προβολή μίας σελίδας" -dualPageView = "Προβολή διπλής σελίδας" [rightRail] closeSelected = "Κλείσιμο επιλεγμένων αρχείων" @@ -3877,6 +3899,7 @@ toggleSidebar = "Εναλλαγή πλευρικής γραμμής" exportSelected = "Εξαγωγή επιλεγμένων σελίδων" toggleAnnotations = "Εναλλαγή ορατότητας σχολιασμών" annotationMode = "Εναλλαγή λειτουργίας σχολιασμού" +print = "Εκτύπωση PDF" draw = "Σχεδίαση" save = "Αποθήκευση" saveChanges = "Αποθήκευση αλλαγών" @@ -4235,11 +4258,11 @@ label = "URL εκδότη" description = "Το URL εκδότη του παρόχου OAuth2" [admin.settings.connections.oauth2.clientId] -label = "Client ID" +label = "Αναγνωριστικό πελάτη (Client ID)" description = "Το Client ID OAuth2 από τον πάροχό σας" [admin.settings.connections.oauth2.clientSecret] -label = "Client Secret" +label = "Μυστικό πελάτη (Client Secret)" description = "Το Client Secret OAuth2 από τον πάροχό σας" [admin.settings.connections.oauth2.useAsUsername] @@ -4494,6 +4517,7 @@ description = "URL ή όνομα αρχείου για το impressum (απαι title = "Premium & Enterprise" description = "Ρυθμίστε το κλειδί άδειας premium ή enterprise." license = "Διαμόρφωση άδειας" +noInput = "Παρακαλώ δώστε ένα κλειδί άδειας ή αρχείο" [admin.settings.premium.licenseKey] toggle = "Έχετε κλειδί άδειας ή αρχείο πιστοποιητικού;" @@ -4511,6 +4535,25 @@ line1 = "Η αντικατάσταση του τρέχοντος κλειδιο line2 = "Η προηγούμενη άδεια θα χαθεί οριστικά εκτός αν την έχετε αποθηκεύσει αλλού." line3 = "Σημαντικό: Κρατήστε τα κλειδιά άδειας ιδιωτικά και ασφαλή. Μην τα κοινοποιείτε δημόσια." +[admin.settings.premium.inputMethod] +text = "Κλειδί άδειας" +file = "Αρχείο πιστοποιητικού" + +[admin.settings.premium.file] +label = "Αρχείο πιστοποιητικού άδειας" +description = "Μεταφορτώστε το αρχείο άδειας .lic ή .cert από αγορές εκτός σύνδεσης" +choose = "Επιλέξτε αρχείο άδειας" +selected = "Επιλεγμένο: {{filename}} ({{size}})" +successMessage = "Το αρχείο άδειας μεταφορτώθηκε και ενεργοποιήθηκε με επιτυχία. Δεν απαιτείται επανεκκίνηση." + +[admin.settings.premium.currentLicense] +title = "Ενεργή άδεια" +file = "Πηγή: Αρχείο άδειας ({{path}})" +key = "Πηγή: Κλειδί άδειας" +type = "Τύπος: {{type}}" +noInput = "Παρακαλώ δώστε ένα κλειδί άδειας ή μεταφορτώστε ένα αρχείο πιστοποιητικού" +success = "Επιτυχία" + [admin.settings.premium.enabled] label = "Ενεργοποίηση λειτουργιών premium" description = "Ενεργοποίηση ελέγχων κλειδιού άδειας για λειτουργίες pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} επιλεγμένα" download = "Λήψη" delete = "Διαγραφή" unsupported = "Μη υποστηριζόμενο" +active = "Ενεργό" addToUpload = "Προσθήκη στη μεταφόρτωση" +closeFile = "Κλείσιμο αρχείου" deleteAll = "Διαγραφή όλων" loadingFiles = "Φόρτωση αρχείων..." noFiles = "Δεν υπάρχουν διαθέσιμα αρχεία" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Απαιτείται τουλάχιστον μία διεύθυνση email" submit = "Αποστολή προσκλήσεων" success = "στάλθηκαν προσκλήσεις με επιτυχία" -partialSuccess = "Κάποιες προσκλήσεις απέτυχαν" +partialFailure = "Ορισμένες προσκλήσεις απέτυχαν" allFailed = "Αποτυχία πρόσκλησης χρηστών" error = "Αποτυχία αποστολής προσκλήσεων" @@ -5709,7 +5754,7 @@ title = "Διάγραμμα χρήσης Endpoints" [usage.table] title = "Αναλυτικά στατιστικά" -endpoint = "Endpoint" +endpoint = "Σημείο τερματισμού" visits = "Επισκέψεις" percentage = "Ποσοστό" noData = "Δεν υπάρχουν διαθέσιμα δεδομένα" @@ -5797,6 +5842,13 @@ submit = "Σύνδεση" signInWith = "Σύνδεση με" oauthPending = "Άνοιγμα προγράμματος περιήγησης για έλεγχο ταυτότητας..." orContinueWith = "Ή συνεχίστε με email" +serverRequirement = "Σημείωση: Ο διακομιστής πρέπει να έχει ενεργοποιημένη τη σύνδεση." +showInstructions = "Πώς ενεργοποιείται;" +hideInstructions = "Απόκρυψη οδηγιών" +instructions = "Για να ενεργοποιήσετε τη σύνδεση στον διακομιστή Stirling PDF:" +instructionsEnvVar = "Ορίστε τη μεταβλητή περιβάλλοντος:" +instructionsOrYml = "Ή στο settings.yml:" +instructionsRestart = "Στη συνέχεια, επανεκκινήστε τον διακομιστή σας για να εφαρμοστούν οι αλλαγές." [setup.login.username] label = "Όνομα χρήστη" diff --git a/frontend/public/locales/es-ES/translation.toml b/frontend/public/locales/es-ES/translation.toml index 7890318ff..437c0ac2c 100644 --- a/frontend/public/locales/es-ES/translation.toml +++ b/frontend/public/locales/es-ES/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Quitar de favoritos" fullscreen = "Cambiar a modo pantalla completa" sidebar = "Cambiar a modo barra lateral" +[backendStartup] +notFoundTitle = "Backend no encontrado" +retry = "Reintentar" +unreachable = "La aplicación no puede conectarse actualmente al backend. Verifique el estado del backend y la conectividad de red, luego inténtelo de nuevo." + [zipWarning] title = "Archivo ZIP grande" message = "Este ZIP contiene {{count}} archivos. ¿Extraer de todos modos?" @@ -347,7 +352,7 @@ teams = "Equipos" title = "Configuración" systemSettings = "Ajustes del sistema" features = "Funciones" -endpoints = "Endpoints" +endpoints = "Puntos de conexión" database = "Base de datos" advanced = "Avanzado" @@ -912,6 +917,9 @@ desc = "Crear flujos de trabajo de múltiples pasos encadenando acciones de PDF. desc = "Superponer PDFs encima de otro PDF" title = "Superponer PDFs" +[home.pdfTextEditor] +title = "Editor de texto de PDF" +desc = "Edita texto e imágenes existentes dentro de archivos PDF" [home.addText] tags = "texto,anotación,etiqueta" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Firma dibujada" defaultImageLabel = "Firma subida" defaultTextLabel = "Firma escrita" saveButton = "Guardar firma" +savePersonal = "Guardar personal" +saveShared = "Guardar compartida" saveUnavailable = "Cree primero una firma para guardarla." noChanges = "La firma actual ya está guardada." +tempStorageTitle = "Almacenamiento temporal del navegador" +tempStorageDescription = "Las firmas se almacenan solo en tu navegador. Se perderán si borras los datos del navegador o cambias de navegador." +personalHeading = "Firmas personales" +sharedHeading = "Firmas compartidas" +personalDescription = "Solo tú puedes ver estas firmas." +sharedDescription = "Todos los usuarios pueden ver y usar estas firmas." [sign.saved.type] canvas = "Dibujo" @@ -3438,6 +3454,9 @@ signinTitle = "Por favor, inicie sesión" ssoSignIn = "Iniciar sesión a través del inicio de sesión único" oAuth2AutoCreateDisabled = "Usuario de creación automática de OAUTH2 DESACTIVADO" oAuth2AdminBlockedUser = "El registro o inicio de sesión de usuarios no registrados está actualmente bloqueado. Por favor, póngase en contacto con el administrador." +oAuth2RequiresLicense = "El inicio de sesión OAuth/SSO requiere una licencia de pago (Server o Enterprise). Póngase en contacto con el administrador para actualizar su plan." +saml2RequiresLicense = "El inicio de sesión SAML requiere una licencia de pago (Server o Enterprise). Póngase en contacto con el administrador para actualizar su plan." +maxUsersReached = "Se alcanzó el número máximo de usuarios para su licencia actual. Póngase en contacto con el administrador para actualizar su plan o añadir más plazas." oauth2RequestNotFound = "Solicitud de autorización no encontrada" oauth2InvalidUserInfoResponse = "Respuesta de información de usuario no válida" oauth2invalidRequest = "Solicitud no válida" @@ -3846,14 +3865,17 @@ fitToWidth = "Ajustar al Ancho" actualSize = "Tamaño Real" [viewer] +cannotPreviewFile = "No se puede previsualizar el archivo" +dualPageView = "Vista de Página Doble" firstPage = "Primera Página" lastPage = "Última Página" -previousPage = "Página Anterior" nextPage = "Página Siguiente" +onlyPdfSupported = "El visor solo admite archivos PDF. Este archivo parece ser de un formato diferente." +previousPage = "Página Anterior" +singlePageView = "Vista de Página Única" +unknownFile = "Archivo desconocido" zoomIn = "Acercar" zoomOut = "Alejar" -singlePageView = "Vista de Página Única" -dualPageView = "Vista de Página Doble" [rightRail] closeSelected = "Cerrar Archivos Seleccionados" @@ -3877,6 +3899,7 @@ toggleSidebar = "Alternar Barra Lateral" exportSelected = "Exportar páginas seleccionadas" toggleAnnotations = "Mostrar/ocultar anotaciones" annotationMode = "Cambiar modo de anotaciones" +print = "Imprimir PDF" draw = "Dibujar" save = "Guardar" saveChanges = "Guardar cambios" @@ -4494,6 +4517,7 @@ description = "URL o nombre de archivo del impressum (requerido en algunas juris title = "Premium y Enterprise" description = "Configura tu clave de licencia premium o enterprise." license = "Configuración de licencia" +noInput = "Proporciona una clave o archivo de licencia" [admin.settings.premium.licenseKey] toggle = "¿Tiene una clave de licencia o un archivo de certificado?" @@ -4511,6 +4535,25 @@ line1 = "Sobrescribir su clave de licencia actual no se puede deshacer." line2 = "Su licencia anterior se perderá de forma permanente a menos que la haya respaldado en otro lugar." line3 = "Importante: mantenga las claves de licencia privadas y seguras. Nunca las comparta públicamente." +[admin.settings.premium.inputMethod] +text = "Clave de licencia" +file = "Archivo de certificado" + +[admin.settings.premium.file] +label = "Archivo de certificado de licencia" +description = "Sube tu archivo de licencia .lic o .cert de compras sin conexión" +choose = "Elegir archivo de licencia" +selected = "Seleccionado: {{filename}} ({{size}})" +successMessage = "Archivo de licencia subido y activado correctamente. No es necesario reiniciar." + +[admin.settings.premium.currentLicense] +title = "Licencia activa" +file = "Origen: Archivo de licencia ({{path}})" +key = "Origen: Clave de licencia" +type = "Tipo: {{type}}" +noInput = "Proporciona una clave de licencia o sube un archivo de certificado" +success = "Éxito" + [admin.settings.premium.enabled] label = "Habilitar funciones Premium" description = "Habilitar la verificación de la clave de licencia para funciones pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} seleccionados" download = "Descargar" delete = "Borrar" unsupported = "No Soportado" +active = "Activo" addToUpload = "Añadir a la subida" +closeFile = "Cerrar archivo" deleteAll = "Eliminar todo" loadingFiles = "Cargando archivos..." noFiles = "No hay archivos disponibles" @@ -5204,7 +5249,7 @@ user = "Usuario" [workspace.people.addMember] title = "Añadir miembro" username = "Nombre de usuario (correo)" -usernamePlaceholder = "user@example.com" +usernamePlaceholder = "usuario@ejemplo.com" password = "Contraseña" passwordPlaceholder = "Introduce la contraseña" role = "Rol" @@ -5241,11 +5286,11 @@ error = "No se pudo eliminar el usuario" tab = "Invitación por correo electrónico" description = "Escribe o pega correos a continuación, separados por comas. Los usuarios recibirán credenciales de inicio de sesión por correo electrónico." emails = "Direcciones de correo electrónico" -emailsPlaceholder = "user1@example.com, user2@example.com" +emailsPlaceholder = "usuario1@ejemplo.com, usuario2@ejemplo.com" emailsRequired = "Se requiere al menos una dirección de correo electrónico" submit = "Enviar invitaciones" success = "usuario(s) invitado(s) correctamente" -partialSuccess = "Algunas invitaciones fallaron" +partialFailure = "Algunas invitaciones fallaron" allFailed = "No se pudo invitar a los usuarios" error = "No se pudieron enviar las invitaciones" @@ -5541,7 +5586,7 @@ emailInvalid = "Introduzca una dirección de correo válida" title = "Introduzca su correo electrónico" description = "Lo usaremos para enviar su clave de licencia y recibos." emailLabel = "Dirección de correo electrónico" -emailPlaceholder = "your@email.com" +emailPlaceholder = "su@email.com" continue = "Continuar" modalTitle = "Comenzar - {{planName}}" @@ -5797,13 +5842,20 @@ submit = "Iniciar sesión" signInWith = "Iniciar sesión con" oauthPending = "Abriendo el navegador para autenticación..." orContinueWith = "O continuar con email" +serverRequirement = "Nota: el servidor debe tener el inicio de sesión habilitado." +showInstructions = "¿Cómo habilitarlo?" +hideInstructions = "Ocultar instrucciones" +instructions = "Para habilitar el inicio de sesión en su servidor de Stirling PDF:" +instructionsEnvVar = "Establezca la variable de entorno:" +instructionsOrYml = "O en settings.yml:" +instructionsRestart = "Luego reinicie su servidor para que los cambios surtan efecto." [setup.login.username] label = "Nombre de usuario" placeholder = "Introduzca su nombre de usuario" [setup.login.email] -label = "Email" +label = "Correo electrónico" placeholder = "Introduzca su email" [setup.login.password] @@ -5840,7 +5892,7 @@ paragraph = "Página de párrafos" sparse = "Texto disperso" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automático" paragraph = "Párrafo" singleLine = "Línea única" diff --git a/frontend/public/locales/eu-ES/translation.toml b/frontend/public/locales/eu-ES/translation.toml index 89a7dddd5..3fc897147 100644 --- a/frontend/public/locales/eu-ES/translation.toml +++ b/frontend/public/locales/eu-ES/translation.toml @@ -99,7 +99,7 @@ visitGithub = "Bisitatu Github biltegia" donate = "Dohaintza egin" color = "Color" sponsor = "Babestu" -info = "Info" +info = "Informazioa" pro = "Pro" page = "Orrialdea" pages = "Orrialdeak" @@ -131,7 +131,7 @@ unsupported = "Ez da onartzen" [toolPanel] placeholder = "Aukeratu tresna bat hasteko" -alpha = "Alpha" +alpha = "Alfa" premiumFeature = "Premium ezaugarria:" comingSoon = "Laster eskuragarri:" @@ -163,6 +163,11 @@ unfavorite = "Kendu gogokoetatik" fullscreen = "Aldatu pantaila osoko modura" sidebar = "Aldatu alboko barra modura" +[backendStartup] +notFoundTitle = "Backend-a ez da aurkitu" +retry = "Saiatu berriro" +unreachable = "Aplikazioak une honetan ezin du backend-arekin konektatu. Egiaztatu backend-aren egoera eta sare-konexioa, eta saiatu berriro." + [zipWarning] title = "ZIP fitxategi handia" message = "ZIP honek {{count}} fitxategi ditu. Erauzi hala ere?" @@ -274,7 +279,7 @@ iAgreeToThe = "Onartzen ditut honako hauek guztiak" terms = "Baldintzak eta erabilera-baldintzak" accessibility = "Irisgarritasuna" cookie = "Cookie politika" -impressum = "Impressum" +impressum = "Lege oharra" showCookieBanner = "Cookie-hobespenak" [pipeline] @@ -296,7 +301,7 @@ saveSettings = "Gorde eragiketa-ezarpenak" pipelineNamePrompt = "Sartu hemen pipeline izena" selectOperation = "Aukeratu eragiketa" addOperationButton = "Gehitu eragiketa" -pipelineHeader = "Pipeline:" +pipelineHeader = "Pipelinea:" saveButton = "Distira" validateButton = "Balidatu" @@ -347,7 +352,7 @@ teams = "Taldeak" title = "Konfigurazioa" systemSettings = "Sistemaren ezarpenak" features = "Eginbideak" -endpoints = "Endpoints" +endpoints = "Amaiera-puntuak" database = "Datu-basea" advanced = "Aurreratua" @@ -364,7 +369,7 @@ usageAnalytics = "Erabilera-analitika" [settings.policiesPrivacy] title = "Politikak eta Pribatutasuna" -legal = "Legal" +legal = "Lege" privacy = "Pribatutasuna" [settings.developer] @@ -513,7 +518,7 @@ syncToAccount = "Sync Kontua <- Nabigatzailea" [adminUserSettings] title = "Erabiltzailearen Ezarpenen Kontrolak" header = "Admin Erabiltzailearen Ezarpenen Kontrolak" -admin = "Admin" +admin = "Administratzailea" user = "Erabiltzaile" addUser = "Erabiltzaile berria" deleteUser = "Ezabatu erabiltzailea" @@ -912,6 +917,9 @@ desc = "Eraiki hainbat pausotako workflowak PDF ekintzak kateatuz. Egokia zeregi desc = "Overlays PDFs on-top of another PDF" title = "Gainjarri PDFak" +[home.pdfTextEditor] +title = "PDF testu editorea" +desc = "Editatu PDFetako lehendik dauden testuak eta irudiak" [home.addText] tags = "testua,anotazioa,etiketa" @@ -1217,7 +1225,7 @@ odtExt = "OpenDocument testua (.odt)" pptExt = "PowerPoint (.pptx)" odpExt = "OpenDocument aurkezpena (.odp)" txtExt = "Testu laua (.txt)" -rtfExt = "Rich Text Format (.rtf)" +rtfExt = "Testu aberatsaren formatua (.rtf)" selectedFiles = "Hautatutako fitxategiak" noFileSelected = "Ez da fitxategirik hautatu. Erabili fitxategi-panela fitxategiak gehitzeko." convertFiles = "Bihurtu fitxategiak" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Marrazketa sinadura" defaultImageLabel = "Igotako sinadura" defaultTextLabel = "Idatzitako sinadura" saveButton = "Gorde sinadura" +savePersonal = "Gorde pertsonala" +saveShared = "Gorde partekatua" saveUnavailable = "Lehenik sortu sinadura bat gordetzeko." noChanges = "Uneko sinadura dagoeneko gorde da." +tempStorageTitle = "Aldi baterako nabigatzaileko biltegiratzea" +tempStorageDescription = "Sinadurak zure nabigatzailean bakarrik gordetzen dira. Nabigatzailearen datuak ezabatzen badituzu edo nabigatzailea aldatzen baduzu, galdu egingo dira." +personalHeading = "Sinadura pertsonalak" +sharedHeading = "Partekatutako sinadurak" +personalDescription = "Zuk bakarrik ikus ditzakezu sinadura hauek." +sharedDescription = "Erabiltzaile guztiek ikus eta erabil ditzakete sinadura hauek." [sign.saved.type] canvas = "Marrazkia" @@ -3438,6 +3454,9 @@ signinTitle = "Mesedez, hasi saioa" ssoSignIn = "Hasi saioa Saioa hasteko modu bakarraren bidez" oAuth2AutoCreateDisabled = "OAUTH2 Sortu automatikoki erabiltzailea desgaituta dago" oAuth2AdminBlockedUser = "Erregistratu gabeko erabiltzaileen erregistroa edo saio-hasiera une honetan blokeatuta dago. Jarri harremanetan administratzailearekin." +oAuth2RequiresLicense = "OAuth/SSO bidezko saio-hasierak lizentzia ordaindua behar du (Server edo Enterprise). Mesedez, jarri harremanetan administratzailearekin plana eguneratzeko." +saml2RequiresLicense = "SAML bidezko saio-hasierak lizentzia ordaindua behar du (Server edo Enterprise). Mesedez, jarri harremanetan administratzailearekin plana eguneratzeko." +maxUsersReached = "Zure uneko lizentziarekin erabiltzaile kopuru maximoa gainditu da. Mesedez, jarri harremanetan administratzailearekin plana eguneratzeko edo eserleku gehiago gehitzeko." oauth2RequestNotFound = "Baimen-eskaera ez da aurkitu" oauth2InvalidUserInfoResponse = "Erabiltzaile-informazioaren erantzun baliogabea" oauth2invalidRequest = "Eskaera baliogabea" @@ -3533,7 +3552,7 @@ title = "PDF Orrialde bakarrera" header = "PDF Orrialde bakarrera" submit = "Orrialde bakarrera bihurtu" description = "Tresna honek zure PDFko orri guztiak orri handi bakarrean batuko ditu. Zabalera bera izango du jatorrizko orrienarekin, baina altuera orri guztien altueren batura izango da." -filenamePrefix = "single_page" +filenamePrefix = "orrialde_bakarra" [pdfToSinglePage.files] placeholder = "Hautatu PDF fitxategi bat ikuspegi nagusian hasteko" @@ -3846,14 +3865,17 @@ fitToWidth = "Zabalera egokitu" actualSize = "Benetako tamaina" [viewer] +cannotPreviewFile = "Ezin da fitxategia aurreikusi" +dualPageView = "Orri biko ikuspegia" firstPage = "Lehen orria" lastPage = "Azken orria" -previousPage = "Aurreko orria" nextPage = "Hurrengo orria" +onlyPdfSupported = "Ikustaileak PDF fitxategiak bakarrik onartzen ditu. Fitxategi honek beste formatu batekoa dirudi." +previousPage = "Aurreko orria" +singlePageView = "Orri bakarreko ikuspegia" +unknownFile = "Fitxategi ezezaguna" zoomIn = "Zoom handitu" zoomOut = "Zoom txikitu" -singlePageView = "Orri bakarreko ikuspegia" -dualPageView = "Orri biko ikuspegia" [rightRail] closeSelected = "Itxi hautatutako fitxategiak" @@ -3877,6 +3899,7 @@ toggleSidebar = "Alboko barra txandakatu" exportSelected = "Esportatu hautatutako orriak" toggleAnnotations = "Oharpenen ikusgarritasuna txandakatu" annotationMode = "Oharpen modua txandakatu" +print = "Inprimatu PDFa" draw = "Marraztu" save = "Gorde" saveChanges = "Aldaketak gorde" @@ -4407,7 +4430,7 @@ description = "Sistema zabalagoko aldi baterako direktorioa garbitu ala ez (kont label = "Prozesu-exekutorearen mugak" description = "Konfiguratu saio-mugak eta denbora-mugak prozesu-exekutore bakoitzerako" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDFtik HTMLra" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4487,13 +4510,14 @@ label = "Cookieen politika" description = "Cookieen politikara doan URLa edo fitxategi-izena" [admin.settings.legal.impressum] -label = "Impressum" +label = "Lege oharra" description = "Impressum-era doan URLa edo fitxategi-izena (beharrezkoa jurisdikzio batzuetan)" [admin.settings.premium] title = "Premium eta Enterprise" description = "Konfiguratu zure premium edo enterprise lizentzia-gakoa." license = "Lizentziaren konfigurazioa" +noInput = "Eman lizentzia-gakoa edo fitxategia, mesedez" [admin.settings.premium.licenseKey] toggle = "Lizentzia-gakoa edo ziurtagiri-fitxategia duzu?" @@ -4511,6 +4535,25 @@ line1 = "Uneko lizentzia-gakoa gainidaztea ezin da desegin." line2 = "Aurreko lizentzia betiko galduko da beste nonbait babestu ezean." line3 = "Garrantzitsua: Mantendu lizentzia-gakoak pribatu eta seguru. Ez partekatu publikoki inoiz." +[admin.settings.premium.inputMethod] +text = "Lizentzia-gakoa" +file = "Ziurtagiri-fitxategia" + +[admin.settings.premium.file] +label = "Lizentzia-ziurtagiriaren fitxategia" +description = "Igo zure .lic edo .cert lizentzia-fitxategia lineaz kanpoko erosketetatik" +choose = "Aukeratu lizentzia-fitxategia" +selected = "Hautatuta: {{filename}} ({{size}})" +successMessage = "Lizentzia-fitxategia behar bezala igo eta aktibatu da. Ez da berrabiaraztea beharrezkoa." + +[admin.settings.premium.currentLicense] +title = "Lizentzia aktiboa" +file = "Iturburua: Lizentzia-fitxategia ({{path}})" +key = "Iturburua: Lizentzia-gakoa" +type = "Mota: {{type}}" +noInput = "Eman lizentzia-gakoa edo igo ziurtagiri-fitxategi bat, mesedez" +success = "Arrakasta" + [admin.settings.premium.enabled] label = "Premium eginbideak gaitu" description = "Gaitu lizentzia-gakoen egiaztapenak pro/enterprise eginbideetarako" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} hautatuta" download = "Distira" delete = "ezabatu" unsupported = "Ez da onartzen" +active = "Aktibo" addToUpload = "Gehitu igoerara" +closeFile = "Itxi fitxategia" deleteAll = "Ezabatu denak" loadingFiles = "Fitxategiak kargatzen..." noFiles = "Ez dago fitxategirik eskuragarri" @@ -5178,7 +5223,7 @@ active = "Aktibo" disabled = "Desgaituta" activeSession = "Saio aktiboa" member = "Kidea" -admin = "Admin" +admin = "Administratzailea" editRole = "Rola editatu" enable = "Gaitu" disable = "Desgaitu" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Gutxienez helbide elektroniko bat behar da" submit = "Bidali gonbidapenak" success = "erabiltzaile(a)(k) ongi gonbidatu dira" -partialSuccess = "Gonbidapen batzuek huts egin dute" +partialFailure = "Gonbidapen batzuk huts egin dute" allFailed = "Ezin izan da erabiltzaileak gonbidatu" error = "Ezin izan dira gonbidapenak bidali" @@ -5709,7 +5754,7 @@ title = "Endpoints erabileraren diagrama" [usage.table] title = "Estatistika xeheak" -endpoint = "Endpoint" +endpoint = "Amaiera-puntua" visits = "Bisitak" percentage = "Ehunekoa" noData = "Ez dago daturik eskuragarri" @@ -5797,6 +5842,13 @@ submit = "Hasi saioa" signInWith = "Hasi saioa honekin" oauthPending = "Nabigatzailea irekitzen autentifikaziorako..." orContinueWith = "Edo jarraitu emailarekin" +serverRequirement = "Oharra: zerbitzariak saioa hastea gaituta eduki behar du." +showInstructions = "Nola gaitu?" +hideInstructions = "Ezkutatu argibideak" +instructions = "Saioa hastea gaitzeko zure Stirling PDF zerbitzarian:" +instructionsEnvVar = "Ezarri ingurune-aldagaia:" +instructionsOrYml = "Edo settings.yml fitxategian:" +instructionsRestart = "Ondoren, berrabiarazi zerbitzaria aldaketak indarrean sartzeko." [setup.login.username] label = "Erabiltzaile-izena" @@ -5840,7 +5892,7 @@ paragraph = "Paragrafo orria" sparse = "Testu sakabanatua" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automatikoa" paragraph = "Paragrafoa" singleLine = "Lerro bakarra" diff --git a/frontend/public/locales/fa-IR/translation.toml b/frontend/public/locales/fa-IR/translation.toml index f2cb9bd91..8102a9c7c 100644 --- a/frontend/public/locales/fa-IR/translation.toml +++ b/frontend/public/locales/fa-IR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "حذف از علاقه‌مندی‌ها" fullscreen = "تغییر به حالت تمام‌صفحه" sidebar = "تغییر به حالت نوار کناری" +[backendStartup] +notFoundTitle = "بک‌اند یافت نشد" +retry = "تلاش مجدد" +unreachable = "برنامه در حال حاضر نمی‌تواند به بک‌اند متصل شود. وضعیت بک‌اند و اتصال شبکه را بررسی کرده و سپس دوباره تلاش کنید." + [zipWarning] title = "فایل ZIP بزرگ" message = "این ZIP شامل {{count}} فایل است. با این حال استخراج شود؟" @@ -912,6 +917,9 @@ desc = "ساخت گردش‌کارهای چندمرحله‌ای با زنجیر desc = "PDF‌ها را بر روی PDF دیگری هم‌پوشانی می‌کند" title = "هم‌پوشانی PDF‌ها" +[home.pdfTextEditor] +title = "ویرایشگر متن PDF" +desc = "ویرایش متن و تصاویر موجود در PDFها" [home.addText] tags = "متن,حاشیه‌نویسی,برچسب" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "امضای ترسیمی" defaultImageLabel = "امضای بارگذاری‌شده" defaultTextLabel = "امضای تایپی" saveButton = "ذخیره امضا" +savePersonal = "ذخیره شخصی" +saveShared = "ذخیره اشتراکی" saveUnavailable = "برای ذخیره، ابتدا امضایی بسازید." noChanges = "امضای فعلی قبلاً ذخیره شده است." +tempStorageTitle = "ذخیره‌سازی موقت در مرورگر" +tempStorageDescription = "امضاها فقط در مرورگر شما ذخیره می‌شوند. در صورت پاک‌کردن داده‌های مرورگر یا تعویض مرورگر، از بین می‌روند." +personalHeading = "امضاهای شخصی" +sharedHeading = "امضاهای اشتراکی" +personalDescription = "تنها شما می‌توانید این امضاها را ببینید." +sharedDescription = "همه کاربران می‌توانند این امضاها را ببینند و استفاده کنند." [sign.saved.type] canvas = "ترسیمی" @@ -3438,6 +3454,9 @@ signinTitle = "لطفاً وارد شوید" ssoSignIn = "ورود از طریق Single Sign-on" oAuth2AutoCreateDisabled = "ایجاد خودکار کاربر با OAUTH2 غیرفعال است" oAuth2AdminBlockedUser = "ثبت‌نام یا ورود کاربران ثبت‌نشده در حال حاضر مسدود است. لطفاً با مدیر تماس بگیرید." +oAuth2RequiresLicense = "ورود با OAuth/SSO به لایسنس پولی (Server یا Enterprise) نیاز دارد. لطفاً برای ارتقای طرح خود با مدیر تماس بگیرید." +saml2RequiresLicense = "ورود با SAML به لایسنس پولی (Server یا Enterprise) نیاز دارد. لطفاً برای ارتقای طرح خود با مدیر تماس بگیرید." +maxUsersReached = "حداکثر تعداد کاربران برای لایسنس کنونی شما به حد نصاب رسیده است. لطفاً برای ارتقای طرح یا افزودن کاربران بیشتر با مدیر تماس بگیرید." oauth2RequestNotFound = "درخواست احراز هویت پیدا نشد" oauth2InvalidUserInfoResponse = "پاسخ اطلاعات کاربری نامعتبر است" oauth2invalidRequest = "درخواست نامعتبر" @@ -3846,14 +3865,17 @@ fitToWidth = "تناسب با عرض" actualSize = "اندازه واقعی" [viewer] +cannotPreviewFile = "امکان پیش‌نمایش فایل نیست" +dualPageView = "نمای دوصفحه‌ای" firstPage = "صفحه نخست" lastPage = "صفحه آخر" -previousPage = "صفحه قبل" nextPage = "صفحه بعد" +onlyPdfSupported = "نمایشگر فقط فایل‌های PDF را پشتیبانی می‌کند. به نظر می‌رسد این فایل قالب متفاوتی دارد." +previousPage = "صفحه قبل" +singlePageView = "نمای تک‌صفحه‌ای" +unknownFile = "فایل ناشناخته" zoomIn = "بزرگ‌نمایی" zoomOut = "کوچک‌نمایی" -singlePageView = "نمای تک‌صفحه‌ای" -dualPageView = "نمای دوصفحه‌ای" [rightRail] closeSelected = "بستن فایل‌های انتخاب‌شده" @@ -3877,6 +3899,7 @@ toggleSidebar = "تغییر وضعیت نوار کناری" exportSelected = "برون‌بری صفحات انتخاب‌شده" toggleAnnotations = "تغییر وضعیت نمایش حاشیه‌نویسی‌ها" annotationMode = "تغییر حالت حاشیه‌نویسی" +print = "چاپ PDF" draw = "رسم" save = "ذخیره" saveChanges = "ذخیره تغییرات" @@ -4487,13 +4510,14 @@ label = "خط‌مشی کوکی" description = "URL یا نام فایل برای خط‌مشی کوکی" [admin.settings.legal.impressum] -label = "Impressum" +label = "اطلاعات حقوقی" description = "URL یا نام فایل برای impressum (در برخی حوزه‌های قضایی الزامی است)" [admin.settings.premium] title = "پرمیوم و سازمانی" description = "کلید لایسنس پرمیوم یا سازمانی خود را پیکربندی کنید." license = "پیکربندی لایسنس" +noInput = "لطفاً کلید یا فایل مجوز را ارائه کنید" [admin.settings.premium.licenseKey] toggle = "کلید لایسنس یا فایل گواهی دارید؟" @@ -4511,6 +4535,25 @@ line1 = "بازنویسی کلید لایسنس فعلی قابل بازگشت line2 = "مگر آنکه در جایی پشتیبان گرفته باشید، لایسنس قبلی به‌طور دائمی از دست می‌رود." line3 = "مهم: کلیدهای لایسنس را خصوصی و امن نگه دارید. هرگز آن‌ها را عمومی به‌اشتراک نگذارید." +[admin.settings.premium.inputMethod] +text = "کلید مجوز" +file = "فایل گواهی" + +[admin.settings.premium.file] +label = "فایل گواهی مجوز" +description = "فایل مجوز .lic یا .cert مربوط به خریدهای آفلاین خود را بارگذاری کنید" +choose = "انتخاب فایل مجوز" +selected = "انتخاب‌شده: {{filename}} ({{size}})" +successMessage = "فایل مجوز با موفقیت بارگذاری و فعال شد. نیازی به راه‌اندازی مجدد نیست." + +[admin.settings.premium.currentLicense] +title = "مجوز فعال" +file = "منبع: فایل مجوز ({{path}})" +key = "منبع: کلید مجوز" +type = "نوع: {{type}}" +noInput = "لطفاً کلید مجوز ارائه کنید یا فایل گواهی را بارگذاری کنید" +success = "موفق" + [admin.settings.premium.enabled] label = "فعال‌سازی قابلیت‌های پرمیوم" description = "فعال‌سازی بررسی کلید لایسنس برای قابلیت‌های حرفه‌ای/سازمانی" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} مورد انتخاب‌شده" download = "دانلود" delete = "حذف" unsupported = "پشتیبانی‌نشده" +active = "فعال" addToUpload = "افزودن به بارگذاری" +closeFile = "بستن فایل" deleteAll = "حذف همه" loadingFiles = "در حال بارگذاری فایل‌ها..." noFiles = "فایلی موجود نیست" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "حداقل یک آدرس ایمیل الزامی است" submit = "ارسال دعوت‌نامه‌ها" success = "کاربر(ان) با موفقیت دعوت شد(ند)" -partialSuccess = "برخی دعوت‌ها ناموفق بود" +partialFailure = "برخی دعوت‌ها ناموفق بودند" allFailed = "دعوت کاربران ناموفق بود" error = "ارسال دعوت‌نامه‌ها ناموفق بود" @@ -5797,6 +5842,13 @@ submit = "ورود" signInWith = "ورود با" oauthPending = "در حال باز کردن مرورگر برای احراز هویت..." orContinueWith = "یا با ایمیل ادامه دهید" +serverRequirement = "توجه: سرور باید ورود را فعال کرده باشد." +showInstructions = "نحوه فعال‌سازی؟" +hideInstructions = "مخفی کردن دستورالعمل‌ها" +instructions = "برای فعال‌سازی ورود در سرور Stirling PDF خود:" +instructionsEnvVar = "متغیر محیطی را تنظیم کنید:" +instructionsOrYml = "یا در settings.yml:" +instructionsRestart = "سپس سرور خود را راه‌اندازی مجدد کنید تا تغییرات اعمال شوند." [setup.login.username] label = "نام کاربری" diff --git a/frontend/public/locales/fr-FR/translation.toml b/frontend/public/locales/fr-FR/translation.toml index 2bd5da5c5..5ae44d3f7 100644 --- a/frontend/public/locales/fr-FR/translation.toml +++ b/frontend/public/locales/fr-FR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Retirer des favoris" fullscreen = "Passer en mode plein écran" sidebar = "Passer en mode barre latérale" +[backendStartup] +notFoundTitle = "Backend introuvable" +retry = "Réessayer" +unreachable = "L’application ne peut actuellement pas se connecter au backend. Vérifiez l’état du backend et la connectivité réseau, puis réessayez." + [zipWarning] title = "Fichier ZIP volumineux" message = "Ce ZIP contient {{count}} fichiers. Extraire quand même ?" @@ -347,7 +352,7 @@ teams = "Équipes" title = "Configuration" systemSettings = "Paramètres système" features = "Fonctionnalités" -endpoints = "Endpoints" +endpoints = "Points de terminaison" database = "Base de données" advanced = "Avancé" @@ -912,6 +917,9 @@ desc = "Créez des workflows multi-étapes en enchaînant des actions PDF. Idéa desc = "Superposer un PDF sur un autre" title = "Superposer des PDF" +[home.pdfTextEditor] +title = "Éditeur de texte PDF" +desc = "Modifier le texte et les images existants dans les PDF" [home.addText] tags = "texte,annotation,étiquette" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Signature dessinée" defaultImageLabel = "Signature téléversée" defaultTextLabel = "Signature saisie" saveButton = "Enregistrer la signature" +savePersonal = "Enregistrer en personnel" +saveShared = "Enregistrer en partagé" saveUnavailable = "Créez d’abord une signature pour l’enregistrer." noChanges = "La signature actuelle est déjà enregistrée." +tempStorageTitle = "Stockage temporaire du navigateur" +tempStorageDescription = "Les signatures sont stockées uniquement dans votre navigateur. Elles seront perdues si vous effacez les données du navigateur ou si vous changez de navigateur." +personalHeading = "Signatures personnelles" +sharedHeading = "Signatures partagées" +personalDescription = "Vous seul pouvez voir ces signatures." +sharedDescription = "Tous les utilisateurs peuvent voir et utiliser ces signatures." [sign.saved.type] canvas = "Dessin" @@ -3438,6 +3454,9 @@ signinTitle = "Veuillez vous connecter" ssoSignIn = "Se connecter via l'authentification unique" oAuth2AutoCreateDisabled = "OAUTH2 Création automatique d'utilisateur désactivée" oAuth2AdminBlockedUser = "La création ou l'authentification d'utilisateurs non enregistrés est actuellement bloquée. Veuillez contacter l'administrateur." +oAuth2RequiresLicense = "La connexion OAuth/SSO nécessite une licence payante (Server ou Enterprise). Veuillez contacter l’administrateur pour mettre à niveau votre plan." +saml2RequiresLicense = "La connexion SAML nécessite une licence payante (Server ou Enterprise). Veuillez contacter l’administrateur pour mettre à niveau votre plan." +maxUsersReached = "Nombre maximal d’utilisateurs atteint pour votre licence actuelle. Veuillez contacter l’administrateur pour mettre à niveau votre plan ou ajouter des places." oauth2RequestNotFound = "Demande d'autorisation introuvable" oauth2InvalidUserInfoResponse = "Réponse contenant les informations de l'utilisateur est invalide" oauth2invalidRequest = "Requête invalide" @@ -3846,14 +3865,17 @@ fitToWidth = "Ajuster à la largeur" actualSize = "Taille réelle" [viewer] +cannotPreviewFile = "Impossible d’afficher un aperçu du fichier" +dualPageView = "Vue double page" firstPage = "Première page" lastPage = "Dernière page" -previousPage = "Page précédente" nextPage = "Page suivante" +onlyPdfSupported = "Le visualiseur prend uniquement en charge les fichiers PDF. Ce fichier semble être d’un autre format." +previousPage = "Page précédente" +singlePageView = "Vue page unique" +unknownFile = "Fichier inconnu" zoomIn = "Zoom avant" zoomOut = "Zoom arrière" -singlePageView = "Vue page unique" -dualPageView = "Vue double page" [rightRail] closeSelected = "Fermer les fichiers sélectionnés" @@ -3877,6 +3899,7 @@ toggleSidebar = "Afficher/masquer la barre latérale" exportSelected = "Exporter les pages sélectionnées" toggleAnnotations = "Afficher/masquer les annotations" annotationMode = "Basculer en mode annotation" +print = "Imprimer le PDF" draw = "Dessiner" save = "Enregistrer" saveChanges = "Enregistrer les modifications" @@ -4153,7 +4176,7 @@ description = "Suivre les actions des utilisateurs et les événements système [admin.settings.security.audit.level] label = "Niveau d’audit" -description = "0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE" +description = "0=DÉSACTIVÉ, 1=BASIQUE, 2=STANDARD, 3=VERBEUX" [admin.settings.security.audit.retentionDays] label = "Rétention des journaux (jours)" @@ -4491,9 +4514,10 @@ label = "Mentions légales" description = "URL ou nom de fichier de l’impressum (obligatoire dans certaines juridictions)" [admin.settings.premium] -title = "Premium & Enterprise" +title = "Premium et Entreprise" description = "Configurer votre clé de licence Premium ou Enterprise." license = "Configuration de la licence" +noInput = "Veuillez fournir une clé de licence ou un fichier" [admin.settings.premium.licenseKey] toggle = "Vous avez une clé de licence ou un fichier de certificat ?" @@ -4511,6 +4535,25 @@ line1 = "Écraser votre clé de licence actuelle est irréversible." line2 = "Votre licence précédente sera définitivement perdue, sauf si vous l’avez sauvegardée ailleurs." line3 = "Important : gardez vos clés de licence privées et sécurisées. Ne les partagez jamais publiquement." +[admin.settings.premium.inputMethod] +text = "Clé de licence" +file = "Fichier de certificat" + +[admin.settings.premium.file] +label = "Fichier de certificat de licence" +description = "Téléversez votre fichier de licence .lic ou .cert issu d’achats hors ligne" +choose = "Choisir le fichier de licence" +selected = "Sélectionné: {{filename}} ({{size}})" +successMessage = "Fichier de licence téléversé et activé avec succès. Aucun redémarrage requis." + +[admin.settings.premium.currentLicense] +title = "Licence active" +file = "Source: Fichier de licence ({{path}})" +key = "Source: Clé de licence" +type = "Type: {{type}}" +noInput = "Veuillez fournir une clé de licence ou téléverser un fichier de certificat" +success = "Succès" + [admin.settings.premium.enabled] label = "Activer les fonctionnalités Premium" description = "Activer la vérification de la clé de licence pour les fonctionnalités Pro/Enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} sélectionné(s)" download = "Télécharger" delete = "Supprimer" unsupported = "Non pris en charge" +active = "Actif" addToUpload = "Ajouter au téléversement" +closeFile = "Fermer le fichier" deleteAll = "Tout supprimer" loadingFiles = "Chargement des fichiers..." noFiles = "Aucun fichier disponible" @@ -5178,7 +5223,7 @@ active = "Actif" disabled = "Désactivé" activeSession = "Session active" member = "Membre" -admin = "Admin" +admin = "Administrateur" editRole = "Modifier le rôle" enable = "Activer" disable = "Désactiver" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Au moins une adresse e-mail est requise" submit = "Envoyer les invitations" success = "Utilisateur(s) invité(s) avec succès" -partialSuccess = "Certaines invitations ont échoué" +partialFailure = "Certaines invitations ont échoué" allFailed = "Échec de l’invitation des utilisateurs" error = "Échec de l’envoi des invitations" @@ -5709,7 +5754,7 @@ title = "Graphique d’utilisation des endpoints" [usage.table] title = "Statistiques détaillées" -endpoint = "Endpoint" +endpoint = "Point de terminaison" visits = "Visites" percentage = "Pourcentage" noData = "Aucune donnée disponible" @@ -5797,13 +5842,20 @@ submit = "Se connecter" signInWith = "Se connecter avec" oauthPending = "Ouverture du navigateur pour l'authentification..." orContinueWith = "Ou continuer avec l’email" +serverRequirement = "Remarque : le serveur doit avoir la connexion activée." +showInstructions = "Comment l’activer ?" +hideInstructions = "Masquer les instructions" +instructions = "Pour activer la connexion sur votre serveur Stirling PDF :" +instructionsEnvVar = "Définissez la variable d’environnement :" +instructionsOrYml = "Ou dans settings.yml :" +instructionsRestart = "Redémarrez ensuite votre serveur pour que les modifications prennent effet." [setup.login.username] label = "Nom d’utilisateur" placeholder = "Entrez votre nom d’utilisateur" [setup.login.email] -label = "Email" +label = "E-mail" placeholder = "Saisissez votre email" [setup.login.password] diff --git a/frontend/public/locales/ga-IE/translation.toml b/frontend/public/locales/ga-IE/translation.toml index d34fbfba5..254c8578a 100644 --- a/frontend/public/locales/ga-IE/translation.toml +++ b/frontend/public/locales/ga-IE/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Bain den Cheanáin" fullscreen = "Athraigh go mód lánscáileáin" sidebar = "Athraigh go mód barra taoibh" +[backendStartup] +notFoundTitle = "Níor aimsíodh an cúlchóras" +retry = "Atriail" +unreachable = "Ní féidir leis an bhfeidhmchlár ceangal leis an gcúlchóras faoi láthair. Deimhnigh stádas an chúlchórais agus nascacht an líonra, ansin bain triail eile as." + [zipWarning] title = "Comhad ZIP Mór" message = "Tá {{count}} comhad sa ZIP seo. An mbaineann tú amach mar sin féin?" @@ -912,6 +917,9 @@ desc = "Tóg sreafaí oibre ilchéime trí ghníomhartha PDF a nascadh le chéil desc = "Forleagain PDF ar bharr PDF eile" title = "Forleagan PDF" +[home.pdfTextEditor] +title = "Eagarthóir Téacs PDF" +desc = "Cuir téacs agus íomhánna atá ann cheana in eagar laistigh de PDFanna" [home.addText] tags = "téacs,anótáil,lipéad" @@ -1635,7 +1643,7 @@ subtitle = "Íoslódáil an comhad próiseáilte nó cealaigh an oibríocht thí [removePages] tags = "Bain leathanaigh, scrios leathanaigh" title = "Bain" -filenamePrefix = "pages_removed" +filenamePrefix = "leathanaigh_bainte" submit = "Bain" [removePages.pageNumbers] @@ -1837,7 +1845,7 @@ title = "Bain Léamh-Amháin ó Réimsí Foirme" header = "Díghlasáil Foirmeacha PDF" submit = "Remove" description = "Bainfidh an uirlis seo srianta léamh-amáin ó réimsí foirme PDF, rud a fhágann go mbeidh siad in-eagarthóireachta agus inlíonta." -filenamePrefix = "unlocked_forms" +filenamePrefix = "foirmeacha_díghlasáilte" [unlockPDFForms.files] placeholder = "Roghnaigh comhad PDF sa phríomh-amharc chun tosú" @@ -1851,7 +1859,7 @@ title = "Torthaí Díghlasála Foirmeacha" [changeMetadata] header = "Athraigh Meiteashonraí" submit = "Athrú" -filenamePrefix = "metadata" +filenamePrefix = "meiteashonraí" [changeMetadata.settings] title = "Socruithe Meiteashonraí" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Síniú líníochta" defaultImageLabel = "Síniú uaslódáilte" defaultTextLabel = "Síniú clóscríofa" saveButton = "Sábháil síniú" +savePersonal = "Sábháil Pearsanta" +saveShared = "Sábháil Comhroinnte" saveUnavailable = "Cruthaigh síniú ar dtús chun é a shábháil." noChanges = "Tá an síniú reatha sábháilte cheana." +tempStorageTitle = "Stóráil shealadach an bhrabhsálaí" +tempStorageDescription = "Stóráiltear na sínithe i do bhrabhsálaí amháin. Caillfear iad má ghlanann tú sonraí an bhrabhsálaí nó má athraíonn tú brabhsálaithe." +personalHeading = "Sínithe Pearsanta" +sharedHeading = "Sínithe Comhroinnte" +personalDescription = "Ní féidir ach leatsa na sínithe seo a fheiceáil." +sharedDescription = "Is féidir le gach úsáideoir na sínithe seo a fheiceáil agus a úsáid." [sign.saved.type] canvas = "Líníocht" @@ -2318,7 +2334,7 @@ title = "Comhcheangail" header = "PDF cothromú" flattenOnlyForms = "Flatten foirmeacha amháin" submit = "Comhcheangail" -filenamePrefix = "flattened" +filenamePrefix = "maolaithe" [flatten.files] placeholder = "Roghnaigh comhad PDF sa phríomh-amharc chun tosú" @@ -2366,7 +2382,7 @@ title = "Deisiúchán" header = "PDF a dheisiú" submit = "Deisiúchán" description = "Déanfaidh an uirlis seo iarracht comhaid PDF truaillithe nó damáiste a dheisiú. Níl aon socruithe breise ag teastáil." -filenamePrefix = "repaired" +filenamePrefix = "deisithe" [repair.files] placeholder = "Roghnaigh comhad PDF sa phríomh-amharc chun tosú" @@ -2567,7 +2583,7 @@ stopButton = "Stop comparáid" [certSign] tags = "fíordheimhnigh, PEM, P12, oifigiúil, criptigh" title = "Síniú Teastais" -filenamePrefix = "signed" +filenamePrefix = "síníthe" chooseCertificate = "Roghnaigh Comhad Teastais" chooseJksFile = "Roghnaigh Comhad JKS" chooseP12File = "Roghnaigh Comhad PKCS12" @@ -2701,7 +2717,7 @@ header = "Bain an deimhniú digiteach ó PDF" selectPDF = "Roghnaigh comhad PDF:" submit = "Bain Síniú" description = "Bainfidh an uirlis seo sínithe teastais dhigiteacha de do dhoiciméad PDF." -filenamePrefix = "unsigned" +filenamePrefix = "neamhshínithe" [removeCertSign.files] placeholder = "Roghnaigh comhad PDF sa phríomh-amharc chun tosú" @@ -3438,6 +3454,9 @@ signinTitle = "Sínigh isteach le do thoil" ssoSignIn = "Logáil isteach trí Chlárú Aonair" oAuth2AutoCreateDisabled = "OAUTH2 Uath-Chruthaigh Úsáideoir faoi Mhíchumas" oAuth2AdminBlockedUser = "Tá bac faoi láthair ar chlárú nó logáil isteach úsáideoirí neamhchláraithe. Déan teagmháil leis an riarthóir le do thoil." +oAuth2RequiresLicense = "Teastaíonn ceadúnas íoctha (Server nó Enterprise) chun logáil isteach le OAuth/SSO. Déan teagmháil leis an riarthóir chun do phlean a uasghrádú." +saml2RequiresLicense = "Teastaíonn ceadúnas íoctha (Server nó Enterprise) chun logáil isteach le SAML. Déan teagmháil leis an riarthóir chun do phlean a uasghrádú." +maxUsersReached = "Sroicheadh an líon uasta úsáideoirí do do cheadúnas reatha. Déan teagmháil leis an riarthóir chun do phlean a uasghrádú nó suíocháin bhreise a chur leis." oauth2RequestNotFound = "Níor aimsíodh iarratas údaraithe" oauth2InvalidUserInfoResponse = "Freagra Neamhbhailí Faisnéise Úsáideora" oauth2invalidRequest = "Iarratas Neamhbhailí" @@ -3533,7 +3552,7 @@ title = "PDF go leathanach amháin" header = "PDF go leathanach amháin" submit = "Tiontaigh go Leathanach Aonair" description = "Cuirfidh an uirlis seo gach leathanach de do PDF le chéile in aon leathanach mór amháin. Fanfaidh an leithead mar an gcéanna leis na leathanaigh bhunaidh, ach beidh an airde cothrom le suim airde na leathanach go léir." -filenamePrefix = "single_page" +filenamePrefix = "leathanach_aonair" [pdfToSinglePage.files] placeholder = "Roghnaigh comhad PDF sa phríomh-amharc chun tosú" @@ -3846,14 +3865,17 @@ fitToWidth = "Oiriúnaigh don Leithead" actualSize = "Fíormhéid" [viewer] +cannotPreviewFile = "Ní féidir an comhad a réamhamharc." +dualPageView = "Amharc Dhá Leathanach" firstPage = "An Chéad Leathanach" lastPage = "An Leathanach Deireanach" -previousPage = "Leathanach Roimhe Seo" nextPage = "Leathanach Ar Aghaidh" +onlyPdfSupported = "Ní thacaíonn an t-amharcán ach le comhaid PDF. Is cosúil gur formáid eile é an comhad seo." +previousPage = "Leathanach Roimhe Seo" +singlePageView = "Amharc Leathanach Aonair" +unknownFile = "Comhad anaithnid" zoomIn = "Súmáil Isteach" zoomOut = "Súmáil Amach" -singlePageView = "Amharc Leathanach Aonair" -dualPageView = "Amharc Dhá Leathanach" [rightRail] closeSelected = "Dún na Comhaid Roghnaithe" @@ -3877,6 +3899,7 @@ toggleSidebar = "Athraigh an Barra Taoibh" exportSelected = "Easpórtáil na Leathanaigh Roghnaithe" toggleAnnotations = "Athraigh Infheictheacht Anótálacha" annotationMode = "Athraigh Mód Anótála" +print = "Priontáil PDF" draw = "Tarraing" save = "Sábháil" saveChanges = "Sábháil Athruithe" @@ -4494,6 +4517,7 @@ description = "URL nó ainm comhaid don impressum (riachtanach i roinnt dlínsí title = "Préimh & Fiontar" description = "Cumraigh do eochair cheadúnais préimhe nó fiontair." license = "Cumraíocht Ceadúnais" +noInput = "Tabhair eochair nó comhad ceadúnais, le do thoil" [admin.settings.premium.licenseKey] toggle = "An bhfuil eochair cheadúnais nó comhad teastais agat?" @@ -4511,6 +4535,25 @@ line1 = "Ní féidir forshcríobh ar do eochair cheadúnais reatha a chealú." line2 = "Caillefar do cheadúnas roimhe seo go buan mura bhfuil cúltaca de in áit eile agat." line3 = "Tábhachtach: Coinnigh eochracha ceadúnais príobháideach agus slán. Ná roinn go poiblí riamh." +[admin.settings.premium.inputMethod] +text = "Eochair Ceadúnais" +file = "Comhad Teastais" + +[admin.settings.premium.file] +label = "Comhad Teastais Ceadúnais" +description = "Uaslódáil do chomhad ceadúnais .lic nó .cert ó cheannacháin as líne" +choose = "Roghnaigh Comhad Ceadúnais" +selected = "Roghnaithe: {{filename}} ({{size}})" +successMessage = "D’éirigh le huaslódáil agus gníomhachtú an chomhaid cheadúnais. Níl atosú ag teastáil." + +[admin.settings.premium.currentLicense] +title = "Ceadúnas Gníomhach" +file = "Foinse: Comhad ceadúnais ({{path}})" +key = "Foinse: Eochair ceadúnais" +type = "Cineál: {{type}}" +noInput = "Tabhair eochair ceadúnais nó uaslódáil comhad teastais, le do thoil" +success = "Rath" + [admin.settings.premium.enabled] label = "Cumasaigh Gnéithe Préimhe" description = "Cumasaigh seiceálacha eochrach ceadúnais do ghnéithe pro/fiontair" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} roghnaithe" download = "Íosluchtaigh" delete = "Scrios" unsupported = "Gan tacaíocht" +active = "Gníomhach" addToUpload = "Cuir leis an Uaslódáil" +closeFile = "Dún an comhad" deleteAll = "Scrios Uile" loadingFiles = "Comhaid á Luchtú..." noFiles = "Níl comhaid ar fáil" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Tá ar a laghad seoladh ríomhphoist amháin de dhíth" submit = "Seol Cuirí" success = "Tugadh cuireadh d’úsáideoir(í) go rathúil" -partialSuccess = "Theip ar chuid de na cuirí" +partialFailure = "Níor éirigh le roinnt cuirí" allFailed = "Theip ar úsáideoirí a thabhairt isteach" error = "Theip ar churí a sheoladh" @@ -5797,6 +5842,13 @@ submit = "Logáil Isteach" signInWith = "Sínigh isteach le" oauthPending = "Brabhsálaí á oscailt le haghaidh fíordheimhnithe..." orContinueWith = "Nó lean ar aghaidh le ríomhphost" +serverRequirement = "Nóta: Ní mór an cumas logála isteach a bheith cumasaithe ar an bhfreastalaí." +showInstructions = "Conas é a chumasú?" +hideInstructions = "Folaigh na treoracha" +instructions = "Chun logáil isteach a chumasú ar do fhreastalaí Stirling PDF:" +instructionsEnvVar = "Socraigh an athróg chomhshaoil:" +instructionsOrYml = "Nó i settings.yml:" +instructionsRestart = "Ansin atosaigh do fhreastalaí chun go mbeidh na hathruithe i bhfeidhm." [setup.login.username] label = "Ainm Úsáideora" diff --git a/frontend/public/locales/hi-IN/translation.toml b/frontend/public/locales/hi-IN/translation.toml index f0fcf7833..c569e48ba 100644 --- a/frontend/public/locales/hi-IN/translation.toml +++ b/frontend/public/locales/hi-IN/translation.toml @@ -131,7 +131,7 @@ unsupported = "असमर्थित" [toolPanel] placeholder = "शुरू करने के लिए कोई टूल चुनें" -alpha = "Alpha" +alpha = "अल्फा" premiumFeature = "प्रीमियम फीचर:" comingSoon = "जल्द आ रहा है:" @@ -163,6 +163,11 @@ unfavorite = "पसंदीदा से हटाएं" fullscreen = "फुलस्क्रीन मोड पर स्विच करें" sidebar = "साइडबार मोड पर स्विच करें" +[backendStartup] +notFoundTitle = "बैकएंड नहीं मिला" +retry = "पुनः प्रयास करें" +unreachable = "एप्लिकेशन फिलहाल बैकएंड से कनेक्ट नहीं हो पा रहा है। कृपया बैकएंड की स्थिति और नेटवर्क कनेक्टिविटी जांचें, फिर पुनः प्रयास करें।" + [zipWarning] title = "बड़ी ZIP फ़ाइल" message = "इस ZIP में {{count}} फ़ाइलें हैं। फिर भी निकालें?" @@ -369,7 +374,7 @@ privacy = "गोपनीयता" [settings.developer] title = "डेवलपर" -apiKeys = "API Keys" +apiKeys = "API कुंजियाँ" [settings.tooltips] enableLoginFirst = "पहले लॉगिन मोड सक्षम करें" @@ -912,6 +917,9 @@ desc = "PDF क्रियाओं को जोड़कर बहु-चर desc = "PDF को दूसरी PDF के ऊपर ओवरले करें" title = "PDF ओवरले करें" +[home.pdfTextEditor] +title = "PDF टेक्स्ट एडिटर" +desc = "PDF फ़ाइलों के भीतर मौजूदा टेक्स्ट और इमेज संपादित करें" [home.addText] tags = "text,annotation,label" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "शुरू करने के लिए मुख settings = "सेटिंग्स" conversionCompleted = "रूपांतरण पूरा हुआ" results = "परिणाम" -defaultFilename = "converted_file" +defaultFilename = "परिवर्तित_फ़ाइल" conversionResults = "रूपांतरण परिणाम" convertFrom = "से रूपांतरित करें" convertTo = "में रूपांतरित करें" @@ -1216,8 +1224,8 @@ wordDocExt = "Word दस्तावेज़ (.docx)" odtExt = "OpenDocument Text (.odt)" pptExt = "PowerPoint (.pptx)" odpExt = "OpenDocument Presentation (.odp)" -txtExt = "Plain Text (.txt)" -rtfExt = "Rich Text Format (.rtf)" +txtExt = "सादा पाठ (.txt)" +rtfExt = "रिच टेक्स्ट फ़ॉर्मेट (.rtf)" selectedFiles = "चयनित फ़ाइलें" noFileSelected = "कोई फ़ाइल चयनित नहीं। फ़ाइलें जोड़ने के लिए फ़ाइल पैनल का उपयोग करें।" convertFiles = "फ़ाइलें रूपांतरित करें" @@ -1360,7 +1368,7 @@ title = "वॉटरमार्क जोड़ें" desc = "PDF फ़ाइलों में टेक्स्ट या इमेज वॉटरमार्क जोड़ें" completed = "वॉटरमार्क जोड़ा गया" submit = "वॉटरमार्क जोड़ें" -filenamePrefix = "watermarked" +filenamePrefix = "वॉटरमार्क_युक्त" [watermark.error] failed = "PDF में वॉटरमार्क जोड़ते समय एक त्रुटि हुई।" @@ -1635,7 +1643,7 @@ subtitle = "प्रोसेस्ड फ़ाइल डाउनलोड [removePages] tags = "पृष्ठ निकालें,पृष्ठ हटाएं" title = "निकालें" -filenamePrefix = "pages_removed" +filenamePrefix = "पृष्ठ_हटाए_गए" submit = "निकालें" [removePages.pageNumbers] @@ -1837,7 +1845,7 @@ title = "फॉर्म फ़ील्ड से Read-Only हटाएं" header = "PDF फॉर्म अनलॉक करें" submit = "Remove" description = "यह टूल PDF फॉर्म फ़ील्ड से Read-Only प्रतिबंध हटाएगा, जिससे वे संपादन योग्य और भरने योग्य बनेंगे।" -filenamePrefix = "unlocked_forms" +filenamePrefix = "अनलॉक_फ़ॉर्म" [unlockPDFForms.files] placeholder = "शुरू करने के लिए मुख्य दृश्य में एक PDF फ़ाइल चुनें" @@ -1851,7 +1859,7 @@ title = "अनलॉक किए गए फॉर्म के परिणा [changeMetadata] header = "मेटाडेटा बदलें" submit = "बदलें" -filenamePrefix = "metadata" +filenamePrefix = "मेटाडेटा" [changeMetadata.settings] title = "मेटाडेटा सेटिंग्स" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "ड्रॉइंग हस्ताक्षर" defaultImageLabel = "अपलोड किया गया हस्ताक्षर" defaultTextLabel = "टाइप किया हुआ हस्ताक्षर" saveButton = "हस्ताक्षर सहेजें" +savePersonal = "व्यक्तिगत सहेजें" +saveShared = "साझा सहेजें" saveUnavailable = "सेव करने के लिए पहले एक हस्ताक्षर बनाएँ।" noChanges = "वर्तमान हस्ताक्षर पहले से सहेजा गया है।" +tempStorageTitle = "अस्थायी ब्राउज़र संग्रहण" +tempStorageDescription = "हस्ताक्षर केवल आपके ब्राउज़र में संग्रहीत होते हैं। ब्राउज़र डेटा साफ़ करने या ब्राउज़र बदलने पर वे खो जाएंगे।" +personalHeading = "व्यक्तिगत हस्ताक्षर" +sharedHeading = "साझा हस्ताक्षर" +personalDescription = "इन हस्ताक्षरों को केवल आप देख सकते हैं।" +sharedDescription = "सभी उपयोगकर्ता इन हस्ताक्षरों को देख और उपयोग कर सकते हैं।" [sign.saved.type] canvas = "ड्रॉइंग" @@ -2318,7 +2334,7 @@ title = "समतल करें" header = "PDF समतल करें" flattenOnlyForms = "केवल फ़ॉर्म समतल करें" submit = "समतल करें" -filenamePrefix = "flattened" +filenamePrefix = "समतलीकृत" [flatten.files] placeholder = "शुरू करने के लिए मुख्य दृश्य में एक PDF फ़ाइल चुनें" @@ -2366,7 +2382,7 @@ title = "मरम्मत" header = "PDF मरम्मत" submit = "मरम्मत" description = "यह टूल भ्रष्ट या क्षतिग्रस्त PDF फ़ाइलों की मरम्मत करने का प्रयास करेगा। कोई अतिरिक्त सेटिंग्स आवश्यक नहीं हैं।" -filenamePrefix = "repaired" +filenamePrefix = "मरम्मत_किया" [repair.files] placeholder = "शुरू करने के लिए मुख्य दृश्य में एक PDF फ़ाइल चुनें" @@ -2567,7 +2583,7 @@ stopButton = "तुलना रोकें" [certSign] tags = "प्रमाणीकरण,PEM,P12,आधिकारिक,एन्क्रिप्ट" title = "प्रमाणपत्र हस्ताक्षर" -filenamePrefix = "signed" +filenamePrefix = "हस्ताक्षरित" chooseCertificate = "प्रमाणपत्र फ़ाइल चुनें" chooseJksFile = "JKS फ़ाइल चुनें" chooseP12File = "PKCS12 फ़ाइल चुनें" @@ -2701,7 +2717,7 @@ header = "PDF से डिजिटल प्रमाणपत्र हटा selectPDF = "PDF फ़ाइल चुनें:" submit = "हस्ताक्षर हटाएं" description = "यह टूल आपके PDF दस्तावेज़ से डिजिटल प्रमाणपत्र हस्ताक्षर हटाएगा।" -filenamePrefix = "unsigned" +filenamePrefix = "अनहस्ताक्षरित" [removeCertSign.files] placeholder = "शुरू करने के लिए मुख्य दृश्य में एक PDF फ़ाइल चुनें" @@ -3438,6 +3454,9 @@ signinTitle = "कृपया साइन इन करें" ssoSignIn = "सिंगल साइन-ऑन के माध्यम से लॉगिन करें" oAuth2AutoCreateDisabled = "OAUTH2 स्वतः उपयोगकर्ता निर्माण अक्षम है" oAuth2AdminBlockedUser = "गैर-पंजीकृत उपयोगकर्ताओं का पंजीकरण या लॉगिन वर्तमान में अवरुद्ध है। कृपया व्यवस्थापक से संपर्क करें।" +oAuth2RequiresLicense = "OAuth/SSO लॉगिन के लिए पेड लाइसेंस (Server या Enterprise) आवश्यक है। कृपया अपना प्लान अपग्रेड करने के लिए व्यवस्थापक से संपर्क करें।" +saml2RequiresLicense = "SAML लॉगिन के लिए पेड लाइसेंस (Server या Enterprise) आवश्यक है। कृपया अपना प्लान अपग्रेड करने के लिए व्यवस्थापक से संपर्क करें।" +maxUsersReached = "आपके वर्तमान लाइसेंस के लिए उपयोगकर्ताओं की अधिकतम सीमा पूरी हो चुकी है। कृपया अपना प्लान अपग्रेड करने या अधिक सीटें जोड़ने के लिए व्यवस्थापक से संपर्क करें।" oauth2RequestNotFound = "प्राधिकरण अनुरोध नहीं मिला" oauth2InvalidUserInfoResponse = "अमान्य उपयोगकर्ता जानकारी प्रतिक्रिया" oauth2invalidRequest = "अमान्य अनुरोध" @@ -3533,7 +3552,7 @@ title = "PDF को एकल पृष्ठ में" header = "PDF को एकल पृष्ठ में" submit = "एकल पृष्ठ में बदलें" description = "यह टूल आपके PDF के सभी पृष्ठों को एक बड़े एकल पृष्ठ में मिला देगा। चौड़ाई मूल पृष्ठों जैसी ही रहेगी, पर ऊँचाई सभी पृष्ठ ऊँचाइयों का योग होगी।" -filenamePrefix = "single_page" +filenamePrefix = "एकल_पृष्ठ" [pdfToSinglePage.files] placeholder = "शुरू करने के लिए मुख्य दृश्य में एक PDF फ़ाइल चुनें" @@ -3846,14 +3865,17 @@ fitToWidth = "चौड़ाई के अनुसार फिट करे actualSize = "वास्तविक आकार" [viewer] +cannotPreviewFile = "फ़ाइल का पूर्वावलोकन नहीं किया जा सकता" +dualPageView = "दोहरा पृष्ठ दृश्य" firstPage = "पहला पृष्ठ" lastPage = "अंतिम पृष्ठ" -previousPage = "पिछला पृष्ठ" nextPage = "अगला पृष्ठ" +onlyPdfSupported = "व्यूअर केवल PDF फ़ाइलों का समर्थन करता है। यह फ़ाइल किसी भिन्न फ़ॉर्मेट में प्रतीत होती है।" +previousPage = "पिछला पृष्ठ" +singlePageView = "एकल पृष्ठ दृश्य" +unknownFile = "अज्ञात फ़ाइल" zoomIn = "ज़ूम इन" zoomOut = "ज़ूम आउट" -singlePageView = "एकल पृष्ठ दृश्य" -dualPageView = "दोहरा पृष्ठ दृश्य" [rightRail] closeSelected = "चयनित फ़ाइलें बंद करें" @@ -3877,6 +3899,7 @@ toggleSidebar = "साइडबार टॉगल करें" exportSelected = "चयनित पृष्ठ निर्यात करें" toggleAnnotations = "एनोटेशन दृश्यता टॉगल करें" annotationMode = "एनोटेशन मोड टॉगल करें" +print = "PDF प्रिंट करें" draw = "ड्रॉ" save = "सहेजें" saveChanges = "परिवर्तनों को सहेजें" @@ -4231,7 +4254,7 @@ label = "प्रदाता" description = "प्रमाणीकरण के लिए उपयोग किया जाने वाला OAuth2 प्रदाता" [admin.settings.connections.oauth2.issuer] -label = "Issuer URL" +label = "जारीकर्ता URL" description = "OAuth2 प्रदाता का Issuer URL" [admin.settings.connections.oauth2.clientId] @@ -4407,7 +4430,7 @@ description = "विस्तृत सिस्टम टेम्प डा label = "प्रोसेस एक्सीक्यूटर सीमाएँ" description = "प्रत्येक प्रोसेस एक्सीक्यूटर के लिए सेशन सीमाएँ और टाइमआउट कॉन्फ़िगर करें" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDF से HTML" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4494,6 +4517,7 @@ description = "Impressum का URL या फ़ाइल नाम (कुछ title = "प्रीमियम और एंटरप्राइज़" description = "अपनी प्रीमियम या एंटरप्राइज़ लाइसेंस कुंजी कॉन्फ़िगर करें।" license = "लाइसेंस कॉन्फ़िगरेशन" +noInput = "कृपया लाइसेंस कुंजी या फ़ाइल प्रदान करें" [admin.settings.premium.licenseKey] toggle = "क्या आपके पास लाइसेंस की या सर्टिफिकेट फ़ाइल है?" @@ -4511,6 +4535,25 @@ line1 = "वर्तमान लाइसेंस की को ओवरर line2 = "यदि आपने कहीं और बैकअप नहीं रखा है तो आपका पिछला लाइसेंस स्थायी रूप से खो जाएगा।" line3 = "महत्वपूर्ण: लाइसेंस की को निजी और सुरक्षित रखें। इन्हें कभी सार्वजनिक रूप से साझा न करें।" +[admin.settings.premium.inputMethod] +text = "लाइसेंस कुंजी" +file = "प्रमाणपत्र फ़ाइल" + +[admin.settings.premium.file] +label = "लाइसेंस प्रमाणपत्र फ़ाइल" +description = "ऑफ़लाइन खरीद से अपनी .lic या .cert लाइसेंस फ़ाइल अपलोड करें" +choose = "लाइसेंस फ़ाइल चुनें" +selected = "चयनित: {{filename}} ({{size}})" +successMessage = "लाइसेंस फ़ाइल सफलतापूर्वक अपलोड और सक्रिय की गई। पुनः आरंभ की आवश्यकता नहीं।" + +[admin.settings.premium.currentLicense] +title = "सक्रिय लाइसेंस" +file = "स्रोत: लाइसेंस फ़ाइल ({{path}})" +key = "स्रोत: लाइसेंस कुंजी" +type = "प्रकार: {{type}}" +noInput = "कृपया लाइसेंस कुंजी प्रदान करें या एक प्रमाणपत्र फ़ाइल अपलोड करें" +success = "सफलता" + [admin.settings.premium.enabled] label = "प्रीमियम फ़ीचर्स सक्रिय करें" description = "प्रो/एंटरप्राइज़ फ़ीचर्स के लिए लाइसेंस कुंजी जाँच सक्षम करें" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} चयनित" download = "डाउनलोड करें" delete = "हटाएं" unsupported = "असमर्थित" +active = "सक्रिय" addToUpload = "अपलोड में जोड़ें" +closeFile = "फ़ाइल बंद करें" deleteAll = "सब हटाएँ" loadingFiles = "फ़ाइलें लोड हो रही हैं..." noFiles = "कोई फ़ाइल उपलब्ध नहीं" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "कम से कम एक ईमेल पता आवश्यक है" submit = "आमंत्रण भेजें" success = "उपयोगकर्ता(ओं) को सफलतापूर्वक आमंत्रित किया गया" -partialSuccess = "कुछ आमंत्रण विफल रहे" +partialFailure = "कुछ निमंत्रण विफल हुए" allFailed = "उपयोगकर्ताओं को आमंत्रित करने में विफल" error = "आमंत्रण भेजने में विफल" @@ -5797,6 +5842,13 @@ submit = "लॉगिन" signInWith = "इसके साथ साइन इन करें" oauthPending = "प्रमाणीकरण के लिए ब्राउज़र खुल रहा है..." orContinueWith = "या ईमेल के साथ जारी रखें" +serverRequirement = "ध्यान दें: सर्वर पर लॉगिन सक्षम होना चाहिए।" +showInstructions = "कैसे सक्षम करें?" +hideInstructions = "निर्देश छिपाएँ" +instructions = "अपने Stirling PDF सर्वर पर लॉगिन सक्षम करने के लिए:" +instructionsEnvVar = "एन्वायरनमेंट वेरिएबल सेट करें:" +instructionsOrYml = "या settings.yml में:" +instructionsRestart = "इसके बाद बदलाव प्रभावी करने के लिए अपना सर्वर पुनः प्रारंभ करें।" [setup.login.username] label = "उपयोगकर्ता नाम" diff --git a/frontend/public/locales/hr-HR/translation.toml b/frontend/public/locales/hr-HR/translation.toml index c19e67180..3e68d5ce5 100644 --- a/frontend/public/locales/hr-HR/translation.toml +++ b/frontend/public/locales/hr-HR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Ukloni iz omiljenih" fullscreen = "Prebaci na način cijelog zaslona" sidebar = "Prebaci na način bočne trake" +[backendStartup] +notFoundTitle = "Backend nije pronađen" +retry = "Pokušaj ponovno" +unreachable = "Aplikacija se trenutačno ne može povezati s backendom. Provjerite status backenda i mrežnu povezanost, zatim pokušajte ponovno." + [zipWarning] title = "Velika ZIP datoteka" message = "Ovaj ZIP sadrži {{count}} datoteka. Ipak izdvojiti?" @@ -912,6 +917,9 @@ desc = "Izgradite višekoračne tijekove rada povezivanjem PDF radnji. Idealno z desc = "Preklapa PDF-ove na drugi PDF" title = "Preklapanje PDF-ova" +[home.pdfTextEditor] +title = "Uređivač teksta PDF-a" +desc = "Uređujte postojeći tekst i slike unutar PDF-ova" [home.addText] tags = "tekst,anotacija,oznaka" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Crtani potpis" defaultImageLabel = "Učitani potpis" defaultTextLabel = "Upisani potpis" saveButton = "Spremi potpis" +savePersonal = "Spremi osobno" +saveShared = "Spremi dijeljeno" saveUnavailable = "Najprije izradite potpis da biste ga spremili." noChanges = "Trenutačni potpis je već spremljen." +tempStorageTitle = "Privremena pohrana u pregledniku" +tempStorageDescription = "Potpisi se pohranjuju samo u vašem pregledniku. Izgubit će se ako očistite podatke preglednika ili promijenite preglednik." +personalHeading = "Osobni potpisi" +sharedHeading = "Dijeljeni potpisi" +personalDescription = "Samo vi možete vidjeti ove potpise." +sharedDescription = "Svi korisnici mogu vidjeti i koristiti ove potpise." [sign.saved.type] canvas = "Crtanje" @@ -3438,6 +3454,9 @@ signinTitle = "Molimo vas da se prijavite" ssoSignIn = "Prijavite se putem jedinstvene prijave" oAuth2AutoCreateDisabled = "OAUTH2 automatsko kreiranje korisnika je onemogućeno" oAuth2AdminBlockedUser = "Registracija ili prijava nekadreguiranih korisnika trenutno su blokirane. Molimo Vas da kontaktirate administratora." +oAuth2RequiresLicense = "Prijava putem OAuth/SSO zahtijeva plaćenu licencu (Server ili Enterprise). Obratite se administratoru radi nadogradnje vašeg plana." +saml2RequiresLicense = "Prijava putem SAML zahtijeva plaćenu licencu (Server ili Enterprise). Obratite se administratoru radi nadogradnje vašeg plana." +maxUsersReached = "Dosegnut je maksimalan broj korisnika za vašu trenutačnu licencu. Obratite se administratoru radi nadogradnje plana ili dodavanja dodatnih mjesta." oauth2RequestNotFound = "Zahtjev za autorizaciju nije pronađen" oauth2InvalidUserInfoResponse = "Nevažeće informacije o korisniku" oauth2invalidRequest = "Neispravan zahtjev" @@ -3846,14 +3865,17 @@ fitToWidth = "Prilagodi širini" actualSize = "Stvarna veličina" [viewer] +cannotPreviewFile = "Nije moguće pregledati datoteku" +dualPageView = "Prikaz dviju stranica" firstPage = "Prva stranica" lastPage = "Zadnja stranica" -previousPage = "Prethodna stranica" nextPage = "Sljedeća stranica" +onlyPdfSupported = "Preglednik podržava samo PDF datoteke. Čini se da je ova datoteka u drugačijem formatu." +previousPage = "Prethodna stranica" +singlePageView = "Prikaz jedne stranice" +unknownFile = "Nepoznata datoteka" zoomIn = "Povećaj" zoomOut = "Umanji" -singlePageView = "Prikaz jedne stranice" -dualPageView = "Prikaz dviju stranica" [rightRail] closeSelected = "Zatvori odabrane datoteke" @@ -3877,6 +3899,7 @@ toggleSidebar = "Prebaci bočnu traku" exportSelected = "Izvezi odabrane stranice" toggleAnnotations = "Prebaci vidljivost bilješki" annotationMode = "Prebaci način bilješki" +print = "Ispis PDF-a" draw = "Crtaj" save = "Spremi" saveChanges = "Spremi promjene" @@ -4494,6 +4517,7 @@ description = "URL ili naziv datoteke za impresum (obvezno u nekim nadležnostim title = "Premium i Enterprise" description = "Konfigurirajte svoj premium ili enterprise licencni ključ." license = "Konfiguracija licence" +noInput = "Molimo navedite licencni ključ ili datoteku" [admin.settings.premium.licenseKey] toggle = "Imate licencni ključ ili datoteku certifikata?" @@ -4511,6 +4535,25 @@ line1 = "Prepisivanje vašeg trenutačnog licencnog ključa ne može se poništi line2 = "Vaša će prethodna licenca trajno biti izgubljena osim ako je niste sigurnosno kopirali drugdje." line3 = "Važno: Licencne ključeve držite privatnima i sigurnima. Nikada ih javno ne dijelite." +[admin.settings.premium.inputMethod] +text = "Licencni ključ" +file = "Datoteka certifikata" + +[admin.settings.premium.file] +label = "Datoteka certifikata licence" +description = "Učitajte svoju .lic ili .cert licencnu datoteku iz izvanmrežnih kupnji" +choose = "Odaberite licencnu datoteku" +selected = "Odabrano: {{filename}} ({{size}})" +successMessage = "Licencna datoteka je uspješno učitana i aktivirana. Nije potrebno ponovno pokretanje." + +[admin.settings.premium.currentLicense] +title = "Aktivna licenca" +file = "Izvor: Licencna datoteka ({{path}})" +key = "Izvor: Licencni ključ" +type = "Vrsta: {{type}}" +noInput = "Navedite licencni ključ ili učitajte datoteku certifikata" +success = "Uspjeh" + [admin.settings.premium.enabled] label = "Omogući premium značajke" description = "Omogući provjere licencnog ključa za pro/enterprise značajke" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} odabrano" download = "Preuzmi datoteku" delete = "Izbriši" unsupported = "Nepodržano" +active = "Aktivno" addToUpload = "Dodaj za otpremu" +closeFile = "Zatvori datoteku" deleteAll = "Izbriši sve" loadingFiles = "Učitavanje datoteka..." noFiles = "Nema dostupnih datoteka" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Potreban je barem jedan e-mail" submit = "Pošalji pozive" success = "Korisnici su uspješno pozvani" -partialSuccess = "Neki pozivi nisu uspjeli" +partialFailure = "Neke pozivnice nisu uspjele" allFailed = "Pozivanje korisnika nije uspjelo" error = "Slanje poziva nije uspjelo" @@ -5797,6 +5842,13 @@ submit = "Prijava" signInWith = "Prijavite se pomoću" oauthPending = "Otvaranje preglednika za autentikaciju..." orContinueWith = "Ili nastavite s e-poštom" +serverRequirement = "Napomena: Poslužitelj mora imati omogućenu prijavu." +showInstructions = "Kako omogućiti?" +hideInstructions = "Sakrij upute" +instructions = "Da biste omogućili prijavu na svom Stirling PDF poslužitelju:" +instructionsEnvVar = "Postavite varijablu okruženja:" +instructionsOrYml = "Ili u settings.yml:" +instructionsRestart = "Zatim ponovno pokrenite poslužitelj kako bi promjene stupile na snagu." [setup.login.username] label = "Korisničko ime" @@ -5840,7 +5892,7 @@ paragraph = "Stranica s odlomcima" sparse = "Rijedak tekst" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automatski" paragraph = "Odlomak" singleLine = "Jedan redak" diff --git a/frontend/public/locales/hu-HU/translation.toml b/frontend/public/locales/hu-HU/translation.toml index 514db6f07..5c70e8a2e 100644 --- a/frontend/public/locales/hu-HU/translation.toml +++ b/frontend/public/locales/hu-HU/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Eltávolítás a kedvencekből" fullscreen = "Váltás teljes képernyős módra" sidebar = "Váltás oldalsáv módra" +[backendStartup] +notFoundTitle = "Backend nem található" +retry = "Próbálja újra" +unreachable = "Az alkalmazás jelenleg nem tud csatlakozni a Backendhez. Ellenőrizze a Backend állapotát és a hálózati kapcsolatot, majd próbálja újra." + [zipWarning] title = "Nagy ZIP fájl" message = "Ez a ZIP {{count}} fájlt tartalmaz. Mégis kibontja?" @@ -912,6 +917,9 @@ desc = "Többlépéses munkafolyamatok összeállítása PDF műveletek összef desc = "PDF-ek egymásra helyezése egy másik PDF-en" title = "PDF-ek egymásra helyezése" +[home.pdfTextEditor] +title = "PDF szövegszerkesztő" +desc = "Meglévő szöveg és képek szerkesztése a PDF-ekben" [home.addText] tags = "szöveg, megjegyzés, címke" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Rajzolt aláírás" defaultImageLabel = "Feltöltött aláírás" defaultTextLabel = "Gépelt aláírás" saveButton = "Aláírás mentése" +savePersonal = "Mentés személyesként" +saveShared = "Mentés megosztottként" saveUnavailable = "Előbb hozzon létre egy aláírást a mentéshez." noChanges = "Az aktuális aláírás már mentve van." +tempStorageTitle = "Ideiglenes böngészőbeli tárolás" +tempStorageDescription = "Az aláírások csak a böngészőben tárolódnak. Elvesznek, ha törli a böngészőadatokat vagy böngészőt vált." +personalHeading = "Személyes aláírások" +sharedHeading = "Megosztott aláírások" +personalDescription = "Csak Ön láthatja ezeket az aláírásokat." +sharedDescription = "Minden felhasználó láthatja és használhatja ezeket az aláírásokat." [sign.saved.type] canvas = "Rajz" @@ -3438,6 +3454,9 @@ signinTitle = "Kérjük, jelentkezzen be" ssoSignIn = "Bejelentkezés egyszeri bejelentkezéssel" oAuth2AutoCreateDisabled = "OAuth2 automatikus felhasználólétrehozás letiltva" oAuth2AdminBlockedUser = "A nem regisztrált felhasználók regisztrációja vagy bejelentkezése jelenleg le van tiltva. Kérjük, forduljon a rendszergazdához." +oAuth2RequiresLicense = "Az OAuth/SSO bejelentkezés fizetős licencet igényel (Server vagy Enterprise). Kérjük, lépjen kapcsolatba az adminisztrátorral a csomag frissítéséhez." +saml2RequiresLicense = "A SAML bejelentkezés fizetős licencet igényel (Server vagy Enterprise). Kérjük, lépjen kapcsolatba az adminisztrátorral a csomag frissítéséhez." +maxUsersReached = "Elérte az aktuális licenchez tartozó felhasználók maximális számát. Kérjük, lépjen kapcsolatba az adminisztrátorral a csomag frissítéséhez vagy további felhasználói helyek hozzáadásához." oauth2RequestNotFound = "A hitelesítési kérés nem található" oauth2InvalidUserInfoResponse = "Érvénytelen felhasználói információ válasz" oauth2invalidRequest = "Érvénytelen kérés" @@ -3846,14 +3865,17 @@ fitToWidth = "Szélességhez igazítás" actualSize = "Tényleges méret" [viewer] +cannotPreviewFile = "A fájl előnézete nem lehetséges" +dualPageView = "Kétoldalas nézet" firstPage = "Első oldal" lastPage = "Utolsó oldal" -previousPage = "Előző oldal" nextPage = "Következő oldal" +onlyPdfSupported = "A megjelenítő csak PDF fájlokat támogat. Úgy tűnik, ez a fájl más formátumú." +previousPage = "Előző oldal" +singlePageView = "Egyoldalas nézet" +unknownFile = "Ismeretlen fájl" zoomIn = "Nagyítás" zoomOut = "Kicsinyítés" -singlePageView = "Egyoldalas nézet" -dualPageView = "Kétoldalas nézet" [rightRail] closeSelected = "Kijelölt fájlok bezárása" @@ -3877,6 +3899,7 @@ toggleSidebar = "Oldalsáv ki/be" exportSelected = "Kijelölt oldalak exportálása" toggleAnnotations = "Jegyzetek láthatóságának váltása" annotationMode = "Jegyzetelési mód váltása" +print = "PDF nyomtatása" draw = "Rajzolás" save = "Mentés" saveChanges = "Változtatások mentése" @@ -4494,6 +4517,7 @@ description = "URL vagy fájlnév az impresszumhoz (egyes joghatóságokban köt title = "Prémium és Vállalati" description = "Prémium vagy vállalati licenckulcs konfigurálása." license = "Licenckonfiguráció" +noInput = "Kérjük, adjon meg egy licenckulcsot vagy fájlt" [admin.settings.premium.licenseKey] toggle = "Van licenckulcsa vagy tanúsítványfájlja?" @@ -4511,6 +4535,25 @@ line1 = "A jelenlegi licenckulcs felülírása nem vonható vissza." line2 = "A korábbi licenc végleg elveszik, hacsak nem készített róla máshol biztonsági másolatot." line3 = "Fontos: Tartsa a licenckulcsokat bizalmasan és biztonságban. Soha ne ossza meg nyilvánosan." +[admin.settings.premium.inputMethod] +text = "Licenckulcs" +file = "Tanúsítványfájl" + +[admin.settings.premium.file] +label = "Licenc tanúsítványfájl" +description = "Töltse fel az offline vásárlásból származó .lic vagy .cert licencfájlt" +choose = "Licencfájl kiválasztása" +selected = "Kiválasztva: {{filename}} ({{size}})" +successMessage = "A licencfájl feltöltése és aktiválása sikeres. Nincs szükség újraindításra." + +[admin.settings.premium.currentLicense] +title = "Aktív licenc" +file = "Forrás: licencfájl ({{path}})" +key = "Forrás: licenckulcs" +type = "Típus: {{type}}" +noInput = "Adjon meg egy licenckulcsot, vagy töltsön fel tanúsítványfájlt" +success = "Siker" + [admin.settings.premium.enabled] label = "Prémium funkciók engedélyezése" description = "Licenckulcs-ellenőrzések engedélyezése a pro/vállalati funkciókhoz" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} kiválasztva" download = "Letöltés" delete = "Törlés" unsupported = "Nem támogatott" +active = "Aktív" addToUpload = "Hozzáadás a feltöltéshez" +closeFile = "Fájl bezárása" deleteAll = "Összes törlése" loadingFiles = "Fájlok betöltése..." noFiles = "Nem állnak rendelkezésre fájlok" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Legalább egy e-mail cím megadása szükséges" submit = "Meghívók küldése" success = "felhasználó sikeresen meghívva" -partialSuccess = "Néhány meghívó sikertelen volt" +partialFailure = "Néhány meghívás sikertelen volt" allFailed = "Nem sikerült meghívni a felhasználókat" error = "Nem sikerült elküldeni a meghívókat" @@ -5797,6 +5842,13 @@ submit = "Bejelentkezés" signInWith = "Bejelentkezés ezzel" oauthPending = "Böngésző megnyitása hitelesítéshez..." orContinueWith = "Vagy folytassa e-maillel" +serverRequirement = "Megjegyzés: A szerveren engedélyezni kell a bejelentkezést." +showInstructions = "Hogyan engedélyezhető?" +hideInstructions = "Utasítások elrejtése" +instructions = "A bejelentkezés engedélyezéséhez a Stirling PDF szerverén:" +instructionsEnvVar = "Állítsa be a környezeti változót:" +instructionsOrYml = "Vagy a settings.yml-ben:" +instructionsRestart = "Ezután indítsa újra a szervert, hogy a módosítások életbe lépjenek." [setup.login.username] label = "Felhasználónév" diff --git a/frontend/public/locales/id-ID/translation.toml b/frontend/public/locales/id-ID/translation.toml index 010266296..78fff6735 100644 --- a/frontend/public/locales/id-ID/translation.toml +++ b/frontend/public/locales/id-ID/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Hapus dari Favorit" fullscreen = "Beralih ke mode layar penuh" sidebar = "Beralih ke mode bilah sisi" +[backendStartup] +notFoundTitle = "Backend tidak ditemukan" +retry = "Coba lagi" +unreachable = "Aplikasi saat ini tidak dapat terhubung ke backend. Periksa status backend dan konektivitas jaringan, lalu coba lagi." + [zipWarning] title = "File ZIP Besar" message = "ZIP ini berisi {{count}} file. Tetap ekstrak?" @@ -190,7 +195,7 @@ title = "Pengaturan Dibuka" message = "Silakan pilih Stirling PDF di pengaturan sistem Anda" [defaultApp.error] -title = "Error" +title = "Kesalahan" message = "Gagal menyetel penangan PDF default" [language] @@ -383,7 +388,7 @@ logout = "Keluar" [settings.connection.mode] saas = "Stirling Cloud" -selfhosted = "Self-Hosted" +selfhosted = "Dihost Sendiri" [settings.general] title = "Umum" @@ -544,8 +549,8 @@ usage = "Lihat Penggunaan" [endpointStatistics] title = "Statistik Endpoint" header = "Statistik Endpoint" -top10 = "Top 10" -top20 = "Top 20" +top10 = "10 Teratas" +top20 = "20 Teratas" all = "Semua" refresh = "Muat Ulang" dataTypeLabel = "Tipe Data:" @@ -912,6 +917,9 @@ desc = "Bangun alur kerja multi-langkah dengan merangkai tindakan PDF. Ideal unt desc = "Menumpuk PDF di atas PDF lain" title = "Tumpuk PDF" +[home.pdfTextEditor] +title = "Editor Teks PDF" +desc = "Edit teks dan gambar yang ada di dalam PDF" [home.addText] tags = "teks,anotasi,label" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "Pilih file di tampilan utama untuk memulai" settings = "Pengaturan" conversionCompleted = "Konversi selesai" results = "Hasil" -defaultFilename = "converted_file" +defaultFilename = "file_terkonversi" conversionResults = "Hasil Konversi" convertFrom = "Konversi dari" convertTo = "Konversi ke" @@ -1360,7 +1368,7 @@ title = "Tambahkan Watermark" desc = "Tambahkan tanda air teks atau gambar ke file PDF" completed = "Tanda air ditambahkan" submit = "Tambahkan Watermark" -filenamePrefix = "watermarked" +filenamePrefix = "bertanda_air" [watermark.error] failed = "Terjadi kesalahan saat menambahkan tanda air ke PDF." @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Tanda tangan gambar" defaultImageLabel = "Tanda tangan terunggah" defaultTextLabel = "Tanda tangan ketik" saveButton = "Simpan tanda tangan" +savePersonal = "Simpan Pribadi" +saveShared = "Simpan Bersama" saveUnavailable = "Buat tanda tangan terlebih dahulu untuk menyimpannya." noChanges = "Tanda tangan saat ini sudah disimpan." +tempStorageTitle = "Penyimpanan browser sementara" +tempStorageDescription = "Tanda tangan disimpan hanya di browser Anda. Data akan hilang jika Anda membersihkan data browser atau berpindah browser." +personalHeading = "Tanda Tangan Pribadi" +sharedHeading = "Tanda Tangan Bersama" +personalDescription = "Hanya Anda yang dapat melihat tanda tangan ini." +sharedDescription = "Semua pengguna dapat melihat dan menggunakan tanda tangan ini." [sign.saved.type] canvas = "Gambar" @@ -2701,7 +2717,7 @@ header = "Hapus sertifikat digital dari PDF" selectPDF = "Pilih file PDF:" submit = "Hapus Tanda Tangan" description = "Alat ini akan menghapus tanda tangan sertifikat digital dari dokumen PDF Anda." -filenamePrefix = "unsigned" +filenamePrefix = "tanpa_tanda_tangan" [removeCertSign.files] placeholder = "Pilih file PDF di tampilan utama untuk memulai" @@ -3438,6 +3454,9 @@ signinTitle = "Silakan masuk" ssoSignIn = "Masuk melalui Single Sign - on" oAuth2AutoCreateDisabled = "OAUTH2 Buat Otomatis Pengguna Dinonaktifkan" oAuth2AdminBlockedUser = "Registrasi atau login pengguna yang tidak terdaftar saat ini diblokir. Silakan hubungi administrator." +oAuth2RequiresLicense = "Login OAuth/SSO memerlukan lisensi berbayar (Server atau Enterprise). Silakan hubungi administrator untuk meningkatkan paket Anda." +saml2RequiresLicense = "Login SAML memerlukan lisensi berbayar (Server atau Enterprise). Silakan hubungi administrator untuk meningkatkan paket Anda." +maxUsersReached = "Jumlah pengguna maksimum untuk lisensi Anda saat ini telah tercapai. Silakan hubungi administrator untuk meningkatkan paket Anda atau menambah seat." oauth2RequestNotFound = "Permintaan otorisasi tidak ditemukan" oauth2InvalidUserInfoResponse = "Respons Info Pengguna Tidak Valid" oauth2invalidRequest = "Permintaan Tidak Valid" @@ -3533,7 +3552,7 @@ title = "PDF Ke Halaman Tunggal" header = "PDF Ke Halaman Tunggal" submit = "Konversi ke Halaman Tunggal" description = "Alat ini akan menggabungkan semua halaman PDF Anda menjadi satu halaman besar. Lebarnya akan tetap sama dengan halaman asli, tetapi tingginya merupakan penjumlahan dari semua tinggi halaman." -filenamePrefix = "single_page" +filenamePrefix = "halaman_tunggal" [pdfToSinglePage.files] placeholder = "Pilih file PDF di tampilan utama untuk memulai" @@ -3846,14 +3865,17 @@ fitToWidth = "Sesuaikan ke Lebar" actualSize = "Ukuran Asli" [viewer] +cannotPreviewFile = "Tidak dapat menampilkan pratinjau file" +dualPageView = "Tampilan Dua Halaman" firstPage = "Halaman Pertama" lastPage = "Halaman Terakhir" -previousPage = "Halaman Sebelumnya" nextPage = "Halaman Berikutnya" +onlyPdfSupported = "Penampil hanya mendukung file PDF. File ini tampaknya memiliki format yang berbeda." +previousPage = "Halaman Sebelumnya" +singlePageView = "Tampilan Satu Halaman" +unknownFile = "File tidak dikenal" zoomIn = "Perbesar" zoomOut = "Perkecil" -singlePageView = "Tampilan Satu Halaman" -dualPageView = "Tampilan Dua Halaman" [rightRail] closeSelected = "Tutup File Terpilih" @@ -3877,6 +3899,7 @@ toggleSidebar = "Alihkan Sidebar" exportSelected = "Ekspor Halaman Terpilih" toggleAnnotations = "Alihkan Visibilitas Anotasi" annotationMode = "Alihkan Mode Anotasi" +print = "Cetak PDF" draw = "Gambar" save = "Simpan" saveChanges = "Simpan Perubahan" @@ -4494,6 +4517,7 @@ description = "URL atau nama file untuk impressum (diperlukan di beberapa yurisd title = "Premium & Enterprise" description = "Konfigurasikan kunci lisensi premium atau enterprise Anda." license = "Konfigurasi Lisensi" +noInput = "Harap berikan kunci atau file lisensi" [admin.settings.premium.licenseKey] toggle = "Punya kunci lisensi atau file sertifikat?" @@ -4511,6 +4535,25 @@ line1 = "Menimpa kunci lisensi Anda saat ini tidak dapat dibatalkan." line2 = "Lisensi sebelumnya akan hilang permanen kecuali Anda mencadangkannya di tempat lain." line3 = "Penting: Jaga kunci lisensi tetap privat dan aman. Jangan pernah membagikannya secara publik." +[admin.settings.premium.inputMethod] +text = "Kunci Lisensi" +file = "File Sertifikat" + +[admin.settings.premium.file] +label = "File Sertifikat Lisensi" +description = "Unggah file lisensi .lic atau .cert Anda dari pembelian offline" +choose = "Pilih File Lisensi" +selected = "Dipilih: {{filename}} ({{size}})" +successMessage = "File lisensi berhasil diunggah dan diaktifkan. Tidak perlu restart." + +[admin.settings.premium.currentLicense] +title = "Lisensi Aktif" +file = "Sumber: File lisensi ({{path}})" +key = "Sumber: Kunci lisensi" +type = "Tipe: {{type}}" +noInput = "Harap berikan kunci lisensi atau unggah file sertifikat" +success = "Berhasil" + [admin.settings.premium.enabled] label = "Aktifkan Fitur Premium" description = "Aktifkan pemeriksaan kunci lisensi untuk fitur pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} dipilih" download = "Unduh" delete = "Hapus" unsupported = "Tidak didukung" +active = "Aktif" addToUpload = "Tambahkan ke Unggahan" +closeFile = "Tutup File" deleteAll = "Hapus Semua" loadingFiles = "Memuat file..." noFiles = "Tidak ada file tersedia" @@ -4938,13 +4983,13 @@ done = "Selesai" loading = "Memuat..." back = "Kembali" continue = "Lanjut" -error = "Error" +error = "Kesalahan" [config.overview] title = "Konfigurasi Aplikasi" description = "Pengaturan dan detail konfigurasi aplikasi saat ini." loading = "Memuat konfigurasi..." -error = "Error" +error = "Kesalahan" warning = "Peringatan Konfigurasi" [config.overview.sections] @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Setidaknya satu alamat email diperlukan" submit = "Kirim Undangan" success = "pengguna berhasil diundang" -partialSuccess = "Beberapa undangan gagal" +partialFailure = "Beberapa undangan gagal" allFailed = "Gagal mengundang pengguna" error = "Gagal mengirim undangan" @@ -5752,7 +5797,7 @@ label = "Pilih Server" description = "Server self-hosted" [setup.step3] -label = "Login" +label = "Masuk" description = "Masukkan kredensial" [setup.mode.saas] @@ -5793,10 +5838,17 @@ testFailed = "Tes koneksi gagal" title = "Masuk" subtitle = "Masukkan kredensial Anda untuk melanjutkan" connectingTo = "Menghubungkan ke:" -submit = "Login" +submit = "Masuk" signInWith = "Masuk dengan" oauthPending = "Membuka browser untuk autentikasi..." orContinueWith = "Atau lanjut dengan email" +serverRequirement = "Catatan: Server harus mengaktifkan login." +showInstructions = "Bagaimana cara mengaktifkannya?" +hideInstructions = "Sembunyikan instruksi" +instructions = "Untuk mengaktifkan login pada server Stirling PDF Anda:" +instructionsEnvVar = "Setel variabel lingkungan:" +instructionsOrYml = "Atau di settings.yml:" +instructionsRestart = "Kemudian mulai ulang server Anda agar perubahan diterapkan." [setup.login.username] label = "Nama pengguna" diff --git a/frontend/public/locales/it-IT/translation.toml b/frontend/public/locales/it-IT/translation.toml index ef9d94d83..806cfa571 100644 --- a/frontend/public/locales/it-IT/translation.toml +++ b/frontend/public/locales/it-IT/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Rimuovi dai preferiti" fullscreen = "Passa alla modalità a schermo intero" sidebar = "Passa alla modalità barra laterale" +[backendStartup] +notFoundTitle = "Backend non trovato" +retry = "Riprova" +unreachable = "L'applicazione al momento non riesce a connettersi al backend. Verificare lo stato del backend e la connettività di rete, quindi riprovare." + [zipWarning] title = "File ZIP di grandi dimensioni" message = "Questo ZIP contiene {{count}} file. Estrarre comunque?" @@ -339,7 +344,7 @@ popular = "Popolare" title = "Preferenze" [settings.workspace] -title = "Workspace" +title = "Area di lavoro" people = "Persone" teams = "Team" @@ -912,6 +917,9 @@ desc = "Crea flussi multi‑step concatenando azioni PDF. Ideale per attività r desc = "Sovrapponi un PDF sopra un altro" title = "Sovrapponi PDF" +[home.pdfTextEditor] +title = "Editor di testo PDF" +desc = "Modifica testo e immagini esistenti nei PDF" [home.addText] tags = "testo,annotazione,etichetta" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Firma disegnata" defaultImageLabel = "Firma caricata" defaultTextLabel = "Firma digitata" saveButton = "Salva firma" +savePersonal = "Salva come personale" +saveShared = "Salva come condivisa" saveUnavailable = "Crea prima una firma per salvarla." noChanges = "La firma corrente è già salvata." +tempStorageTitle = "Archiviazione temporanea del browser" +tempStorageDescription = "Le firme sono archiviate solo nel tuo browser. Verranno perse se cancelli i dati del browser o cambi browser." +personalHeading = "Firme personali" +sharedHeading = "Firme condivise" +personalDescription = "Solo tu puoi vedere queste firme." +sharedDescription = "Tutti gli utenti possono vedere e usare queste firme." [sign.saved.type] canvas = "Disegno" @@ -2841,8 +2857,8 @@ label = "Fattore di scala" [adjustPageScale.pageSize] label = "Dimensione pagina di destinazione" keep = "Mantieni dimensioni originali" -letter = "Letter" -legal = "Legal" +letter = "Lettera" +legal = "Legale" [adjustPageScale.error] failed = "Si è verificato un errore durante la regolazione della scala della pagina." @@ -3438,6 +3454,9 @@ signinTitle = "Per favore accedi" ssoSignIn = "Accedi tramite Single Sign-on" oAuth2AutoCreateDisabled = "Creazione automatica utente OAUTH2 DISABILITATA" oAuth2AdminBlockedUser = "La registrazione o l'accesso degli utenti non registrati è attualmente bloccata. Si prega di contattare l'amministratore." +oAuth2RequiresLicense = "L'accesso OAuth/SSO richiede una licenza a pagamento (Server o Enterprise). Contatta l'amministratore per aggiornare il tuo piano." +saml2RequiresLicense = "L'accesso SAML richiede una licenza a pagamento (Server o Enterprise). Contatta l'amministratore per aggiornare il tuo piano." +maxUsersReached = "Numero massimo di utenti raggiunto per la licenza corrente. Contatta l'amministratore per aggiornare il piano o aggiungere altri posti." oauth2RequestNotFound = "Richiesta di autorizzazione non trovata" oauth2InvalidUserInfoResponse = "Risposta relativa alle informazioni utente non valida" oauth2invalidRequest = "Richiesta non valida" @@ -3846,14 +3865,17 @@ fitToWidth = "Adatta alla larghezza" actualSize = "Dimensione reale" [viewer] +cannotPreviewFile = "Impossibile visualizzare l'anteprima del file" +dualPageView = "Vista doppia pagina" firstPage = "Prima pagina" lastPage = "Ultima pagina" -previousPage = "Pagina precedente" nextPage = "Pagina successiva" +onlyPdfSupported = "Il visualizzatore supporta solo file PDF. Questo file sembra essere in un formato diverso." +previousPage = "Pagina precedente" +singlePageView = "Vista pagina singola" +unknownFile = "File sconosciuto" zoomIn = "Ingrandisci" zoomOut = "Riduci" -singlePageView = "Vista pagina singola" -dualPageView = "Vista doppia pagina" [rightRail] closeSelected = "Chiudi file selezionati" @@ -3877,6 +3899,7 @@ toggleSidebar = "Mostra/Nascondi barra laterale" exportSelected = "Esporta pagine selezionate" toggleAnnotations = "Attiva/disattiva visibilità annotazioni" annotationMode = "Attiva/disattiva modalità annotazione" +print = "Stampa PDF" draw = "Disegna" save = "Salva" saveChanges = "Salva modifiche" @@ -3925,7 +3948,7 @@ files = "File" activity = "Attività" help = "Guida" account = "Account" -config = "Config" +config = "Configurazione" settings = "Opzioni" adminSettings = "Opzioni Admin" allTools = "Funzioni" @@ -4487,13 +4510,14 @@ label = "Informativa sui cookie" description = "URL o nome file della cookie policy" [admin.settings.legal.impressum] -label = "Impressum" +label = "Note legali" description = "URL o nome file dell'Impressum (richiesto in alcune giurisdizioni)" [admin.settings.premium] title = "Premium e Enterprise" description = "Configura la tua chiave di licenza premium o enterprise." license = "Configurazione licenza" +noInput = "Fornisci una chiave o un file di licenza" [admin.settings.premium.licenseKey] toggle = "Hai una chiave di licenza o un file di certificato?" @@ -4511,6 +4535,25 @@ line1 = "La sovrascrittura della licenza attuale non può essere annullata." line2 = "La tua licenza precedente andrà persa in modo permanente a meno che tu non l'abbia salvata altrove." line3 = "Importante: mantieni le chiavi di licenza private e sicure. Non condividerle mai pubblicamente." +[admin.settings.premium.inputMethod] +text = "Chiave di licenza" +file = "File del certificato" + +[admin.settings.premium.file] +label = "File del certificato di licenza" +description = "Carica il file di licenza .lic o .cert degli acquisti offline" +choose = "Scegli file di licenza" +selected = "Selezionato: {{filename}} ({{size}})" +successMessage = "File di licenza caricato e attivato con successo. Non è richiesto il riavvio." + +[admin.settings.premium.currentLicense] +title = "Licenza attiva" +file = "Origine: File di licenza ({{path}})" +key = "Origine: Chiave di licenza" +type = "Tipo: {{type}}" +noInput = "Fornisci una chiave di licenza o carica un file di certificato" +success = "Successo" + [admin.settings.premium.enabled] label = "Abilita funzionalità Premium" description = "Abilita i controlli della chiave di licenza per funzionalità pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} selezionati" download = "Salva" delete = "Elimina" unsupported = "Non supportato" +active = "Attivo" addToUpload = "Aggiungi al caricamento" +closeFile = "Chiudi file" deleteAll = "Elimina tutto" loadingFiles = "Caricamento file..." noFiles = "Nessun file disponibile" @@ -5194,7 +5239,7 @@ subtitle = "Digita o incolla le email qui sotto, separate da virgole. La tua are [workspace.people.actions] label = "Azioni" -upgrade = "Upgrade" +upgrade = "Aggiorna" [workspace.people.roleDescriptions] admin = "Può gestire impostazioni e invitare membri, con pieno accesso amministrativo." @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "È richiesto almeno un indirizzo email" submit = "Invia inviti" success = "utente/i invitato/i con successo" -partialSuccess = "Alcuni inviti non sono riusciti" +partialFailure = "Alcuni inviti non sono riusciti" allFailed = "Impossibile invitare gli utenti" error = "Invio inviti non riuscito" @@ -5752,7 +5797,7 @@ label = "Seleziona server" description = "Server self-hosted" [setup.step3] -label = "Login" +label = "Accesso" description = "Inserisci credenziali" [setup.mode.saas] @@ -5793,10 +5838,17 @@ testFailed = "Test di connessione non riuscito" title = "Accedi" subtitle = "Inserisci le credenziali per continuare" connectingTo = "Connessione a:" -submit = "Login" +submit = "Accedi" signInWith = "Accedi con" oauthPending = "Apertura del browser per l'autenticazione..." orContinueWith = "Oppure continua con email" +serverRequirement = "Nota: il server deve avere il login abilitato." +showInstructions = "Come abilitarlo?" +hideInstructions = "Nascondi istruzioni" +instructions = "Per abilitare il login sul tuo server Stirling PDF:" +instructionsEnvVar = "Imposta la variabile d'ambiente:" +instructionsOrYml = "Oppure in settings.yml:" +instructionsRestart = "Quindi riavvia il server affinché le modifiche abbiano effetto." [setup.login.username] label = "Nome utente" @@ -5840,7 +5892,7 @@ paragraph = "Pagina a paragrafi" sparse = "Testo sparso" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automatico" paragraph = "Paragrafo" singleLine = "Riga singola" diff --git a/frontend/public/locales/ja-JP/translation.toml b/frontend/public/locales/ja-JP/translation.toml index 90b5eeee4..bceb6975f 100644 --- a/frontend/public/locales/ja-JP/translation.toml +++ b/frontend/public/locales/ja-JP/translation.toml @@ -163,6 +163,11 @@ unfavorite = "お気に入りから削除" fullscreen = "フルスクリーンモードに切り替え" sidebar = "サイドバーモードに切り替え" +[backendStartup] +notFoundTitle = "バックエンドが見つかりません" +retry = "再試行" +unreachable = "現在、アプリケーションはバックエンドに接続できません。バックエンドの稼働状況とネットワーク接続を確認し、再度お試しください。" + [zipWarning] title = "大きな ZIP ファイル" message = "このZIPには{{count}}個のファイルが含まれています。展開しますか?" @@ -912,6 +917,9 @@ desc = "PDF アクションを連結して複数ステップのワークフロ desc = "1つのPDFを別のPDFの上に重ねます" title = "PDFを重ね合わせ" +[home.pdfTextEditor] +title = "PDFテキストエディタ" +desc = "PDF内の既存のテキストと画像を編集" [home.addText] tags = "テキスト,注釈,ラベル" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "開始するにはメインビューでファイルを settings = "設定" conversionCompleted = "変換が完了しました" results = "結果" -defaultFilename = "converted_file" +defaultFilename = "変換済みファイル" conversionResults = "変換結果" convertFrom = "変換元" convertTo = "変換先" @@ -1360,7 +1368,7 @@ title = "透かしの追加" desc = "PDF ファイルにテキストまたは画像の透かしを追加" completed = "透かしを追加しました" submit = "透かしを追加" -filenamePrefix = "watermarked" +filenamePrefix = "透かし入り" [watermark.error] failed = "PDF への透かし追加中にエラーが発生しました。" @@ -1635,7 +1643,7 @@ subtitle = "処理済みファイルをダウンロードするか、下で操 [removePages] tags = "ページを削除,ページ削除" title = "削除" -filenamePrefix = "pages_removed" +filenamePrefix = "ページ削除済み" submit = "削除" [removePages.pageNumbers] @@ -1837,7 +1845,7 @@ title = "フォームフィールドから読み取り専用を削除" header = "PDFフォームのロックを解除" submit = "Remove" description = "このツールは PDF フォームフィールドの読み取り専用制限を解除し、編集・入力可能にします。" -filenamePrefix = "unlocked_forms" +filenamePrefix = "フォームのロック解除済み" [unlockPDFForms.files] placeholder = "メインビューで PDF ファイルを選択して開始してください" @@ -1851,7 +1859,7 @@ title = "フォームのロック解除結果" [changeMetadata] header = "メタデータの変更" submit = "変更" -filenamePrefix = "metadata" +filenamePrefix = "メタデータ" [changeMetadata.settings] title = "メタデータ設定" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "手書き署名" defaultImageLabel = "アップロードした署名" defaultTextLabel = "入力した署名" saveButton = "署名を保存" +savePersonal = "個人用として保存" +saveShared = "共有用として保存" saveUnavailable = "まず署名を作成してから保存してください。" noChanges = "現在の署名はすでに保存済みです。" +tempStorageTitle = "ブラウザーの一時ストレージ" +tempStorageDescription = "署名はブラウザー内のみに保存されます。ブラウザーのデータを消去するか、別のブラウザーに切り替えると失われます。" +personalHeading = "個人用署名" +sharedHeading = "共有署名" +personalDescription = "これらの署名はあなただけが表示できます。" +sharedDescription = "すべてのユーザーがこれらの署名を表示して使用できます。" [sign.saved.type] canvas = "描画" @@ -2318,7 +2334,7 @@ title = "平坦化" header = "PDFを平坦化する" flattenOnlyForms = "フォームのみを平坦にする" submit = "平坦化" -filenamePrefix = "flattened" +filenamePrefix = "フラット化済み" [flatten.files] placeholder = "開始するにはメインビューで PDF ファイルを選択してください" @@ -2366,7 +2382,7 @@ title = "修復" header = "PDFを修復" submit = "修復" description = "このツールは破損または損傷した PDF ファイルの修復を試みます。追加の設定は不要です。" -filenamePrefix = "repaired" +filenamePrefix = "修復済み" [repair.files] placeholder = "開始するにはメイン画面で PDF ファイルを選択してください" @@ -2567,7 +2583,7 @@ stopButton = "比較を停止" [certSign] tags = "authenticate,PEM,P12,official,encrypt" title = "証明書による署名" -filenamePrefix = "signed" +filenamePrefix = "署名済み" chooseCertificate = "証明書ファイルを選択" chooseJksFile = "JKS ファイルを選択" chooseP12File = "PKCS12 ファイルを選択" @@ -2701,7 +2717,7 @@ header = "PDFから電子証明書を削除する" selectPDF = "PDFファイルの選択:" submit = "署名の削除" description = "このツールは PDF 文書からデジタル証明書署名を削除します。" -filenamePrefix = "unsigned" +filenamePrefix = "署名なし" [removeCertSign.files] placeholder = "開始するにはメイン画面で PDF ファイルを選択してください" @@ -3438,6 +3454,9 @@ signinTitle = "サインインしてください" ssoSignIn = "シングルサインオンでログイン" oAuth2AutoCreateDisabled = "OAuth 2自動作成ユーザーが無効" oAuth2AdminBlockedUser = "現在、未登録ユーザーの登録またはログインはブロックされています。管理者にお問い合わせください。" +oAuth2RequiresLicense = "OAuth/SSO ログインには有料ライセンス(Server または Enterprise)が必要です。プランのアップグレードについては管理者にお問い合わせください。" +saml2RequiresLicense = "SAML ログインには有料ライセンス(Server または Enterprise)が必要です。プランのアップグレードについては管理者にお問い合わせください。" +maxUsersReached = "現在のライセンスのユーザー数上限に達しました。プランのアップグレードまたはシート数の追加について、管理者にお問い合わせください。" oauth2RequestNotFound = "認証リクエストが見つかりません" oauth2InvalidUserInfoResponse = "無効なユーザー情報の応答" oauth2invalidRequest = "無効なリクエスト" @@ -3533,7 +3552,7 @@ title = "PDFを単一ページに変換" header = "PDFを単一ページに変換" submit = "単一ページに変換" description = "このツールは PDF の全ページを 1 つの大きな単一ページに結合します。幅は元のページと同じで、高さは全ページの高さの合計になります。" -filenamePrefix = "single_page" +filenamePrefix = "単一ページ" [pdfToSinglePage.files] placeholder = "開始するにはメイン画面で PDF ファイルを選択してください" @@ -3846,14 +3865,17 @@ fitToWidth = "幅に合わせる" actualSize = "原寸" [viewer] +cannotPreviewFile = "ファイルをプレビューできません" +dualPageView = "見開き表示" firstPage = "最初のページ" lastPage = "最後のページ" -previousPage = "前のページ" nextPage = "次のページ" +onlyPdfSupported = "このビューアは PDF ファイルのみをサポートしています。このファイルは別の形式のようです。" +previousPage = "前のページ" +singlePageView = "単一ページ表示" +unknownFile = "不明なファイル" zoomIn = "拡大" zoomOut = "縮小" -singlePageView = "単一ページ表示" -dualPageView = "見開き表示" [rightRail] closeSelected = "選択したファイルを閉じる" @@ -3877,6 +3899,7 @@ toggleSidebar = "サイドバーを切り替え" exportSelected = "選択したページを書き出し" toggleAnnotations = "注釈の表示を切り替え" annotationMode = "注釈モードを切り替え" +print = "PDFを印刷" draw = "描画" save = "保存" saveChanges = "変更を保存" @@ -4231,15 +4254,15 @@ label = "プロバイダ" description = "認証に使用する OAuth2 プロバイダ" [admin.settings.connections.oauth2.issuer] -label = "Issuer URL" +label = "発行者 URL" description = "OAuth2 プロバイダの Issuer URL" [admin.settings.connections.oauth2.clientId] -label = "Client ID" +label = "クライアント ID" description = "プロバイダから発行された OAuth2 の Client ID" [admin.settings.connections.oauth2.clientSecret] -label = "Client Secret" +label = "クライアント シークレット" description = "プロバイダから発行された OAuth2 の Client Secret" [admin.settings.connections.oauth2.useAsUsername] @@ -4270,7 +4293,7 @@ label = "プロバイダ" description = "SAML2 プロバイダ名" [admin.settings.connections.saml2.registrationId] -label = "Registration ID" +label = "登録 ID" description = "SAML2 の登録識別子" [admin.settings.connections.saml2.autoCreateUser] @@ -4407,7 +4430,7 @@ description = "より広範なシステム一時ディレクトリをクリー label = "プロセス実行制限" description = "各プロセス実行器のセッション上限とタイムアウトを設定" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDF を HTML に" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4494,6 +4517,7 @@ description = "インプリントへの URL またはファイル名(地域に title = "プレミアムとエンタープライズ" description = "プレミアムまたはエンタープライズのライセンスキーを構成します。" license = "ライセンス設定" +noInput = "ライセンスキーまたはファイルを入力してください" [admin.settings.premium.licenseKey] toggle = "ライセンスキーまたは証明書ファイルをお持ちですか?" @@ -4511,6 +4535,25 @@ line1 = "現在のライセンスキーを上書きすると元に戻せませ line2 = "別途バックアップしていない限り、以前のライセンスは永久に失われます。" line3 = "重要: ライセンスキーは秘密に安全に保管してください。公開で共有しないでください。" +[admin.settings.premium.inputMethod] +text = "ライセンスキー" +file = "証明書ファイル" + +[admin.settings.premium.file] +label = "ライセンス証明書ファイル" +description = "オフライン購入の .lic または .cert ライセンスファイルをアップロードしてください" +choose = "ライセンスファイルを選択" +selected = "選択済み: {{filename}} ({{size}})" +successMessage = "ライセンスファイルをアップロードして有効化しました。再起動は不要です。" + +[admin.settings.premium.currentLicense] +title = "有効なライセンス" +file = "ソース: ライセンスファイル ({{path}})" +key = "ソース: ライセンスキー" +type = "種類: {{type}}" +noInput = "ライセンスキーを入力するか、証明書ファイルをアップロードしてください" +success = "成功" + [admin.settings.premium.enabled] label = "プレミアム機能を有効化" description = "Pro/Enterprise 機能のライセンスキー検証を有効化" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} 件選択" download = "ダウンロード" delete = "削除" unsupported = "未対応" +active = "アクティブ" addToUpload = "アップロードに追加" +closeFile = "ファイルを閉じる" deleteAll = "すべて削除" loadingFiles = "ファイルを読み込み中..." noFiles = "ファイルはありません" @@ -4669,7 +4714,7 @@ title = "サニタイズ" desc = "PDF ファイルから潜在的に有害な要素を削除します。" submit = "PDFをサニタイズ" completed = "サニタイズが正常に完了しました" -filenamePrefix = "sanitised" +filenamePrefix = "サニタイズ済み" sanitizationResults = "サニタイズ結果" [sanitize.error] @@ -4717,7 +4762,7 @@ title = "パスワードの追加" desc = "パスワードで PDF 文書を暗号化します。" completed = "パスワード保護を適用しました" submit = "暗号化" -filenamePrefix = "encrypted" +filenamePrefix = "暗号化済み" [addPassword.error] failed = "PDF の暗号化中にエラーが発生しました。" @@ -4812,7 +4857,7 @@ text = "これらの権限を変更不可にするには、パスワード追加 title = "パスワードの削除" desc = "PDFからパスワードの削除します。" tags = "セキュア,復号,セキュリティ,パスワード解除,パスワード削除" -filenamePrefix = "decrypted" +filenamePrefix = "復号済み" submit = "削除" [removePassword.password] @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "少なくとも1件のメールアドレスが必要です" submit = "招待を送信" success = "ユーザーを招待しました" -partialSuccess = "一部の招待に失敗しました" +partialFailure = "一部の招待に失敗しました" allFailed = "ユーザーの招待に失敗しました" error = "招待の送信に失敗しました" @@ -5797,13 +5842,20 @@ submit = "ログイン" signInWith = "でサインイン" oauthPending = "認証のためブラウザーを開いています..." orContinueWith = "またはメールで続行" +serverRequirement = "注: サーバーでログインを有効にする必要があります。" +showInstructions = "有効化するには?" +hideInstructions = "手順を非表示" +instructions = "Stirling PDF サーバーでログインを有効にするには:" +instructionsEnvVar = "環境変数を設定:" +instructionsOrYml = "または settings.yml で:" +instructionsRestart = "その後、サーバーを再起動して変更を反映させてください。" [setup.login.username] label = "ユーザー名" placeholder = "ユーザー名を入力" [setup.login.email] -label = "Email" +label = "メールアドレス" placeholder = "メールアドレスを入力" [setup.login.password] diff --git a/frontend/public/locales/ko-KR/translation.toml b/frontend/public/locales/ko-KR/translation.toml index f63fd82c6..3dcd0c237 100644 --- a/frontend/public/locales/ko-KR/translation.toml +++ b/frontend/public/locales/ko-KR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "즐겨찾기에서 제거" fullscreen = "전체 화면 모드로 전환" sidebar = "사이드바 모드로 전환" +[backendStartup] +notFoundTitle = "백엔드를 찾을 수 없음" +retry = "재시도" +unreachable = "현재 애플리케이션이 백엔드에 연결할 수 없습니다. 백엔드 상태와 네트워크 연결을 확인한 후 다시 시도하세요." + [zipWarning] title = "큰 ZIP 파일" message = "이 ZIP에는 {{count}}개의 파일이 포함되어 있습니다. 그래도 압축을 해제하시겠습니까?" @@ -912,6 +917,9 @@ desc = "PDF 작업을 연결하여 다단계 워크플로를 구성하세요. desc = "PDF를 다른 PDF 위에 오버레이" title = "PDF 오버레이" +[home.pdfTextEditor] +title = "PDF 텍스트 편집기" +desc = "PDF 내부의 기존 텍스트와 이미지를 편집합니다" [home.addText] tags = "텍스트,주석,레이블" @@ -1901,8 +1909,8 @@ placeholder = "수정 날짜" [changeMetadata.trapped] label = "트래핑 상태" unknown = "알 수 없음" -true = "True" -false = "False" +true = "참" +false = "거짓" [changeMetadata.advanced] title = "고급 옵션" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "그린 서명" defaultImageLabel = "업로드된 서명" defaultTextLabel = "입력한 서명" saveButton = "서명 저장" +savePersonal = "개인용으로 저장" +saveShared = "공유용으로 저장" saveUnavailable = "먼저 서명을 만든 후 저장하세요." noChanges = "현재 서명이 이미 저장되어 있습니다." +tempStorageTitle = "임시 브라우저 저장소" +tempStorageDescription = "서명은 브라우저에만 저장됩니다. 브라우저 데이터를 삭제하거나 브라우저를 변경하면 사라집니다." +personalHeading = "개인 서명" +sharedHeading = "공유 서명" +personalDescription = "이 서명은 본인만 볼 수 있습니다." +sharedDescription = "모든 사용자가 이 서명을 보고 사용할 수 있습니다." [sign.saved.type] canvas = "그리기" @@ -3438,6 +3454,9 @@ signinTitle = "로그인해 주세요" ssoSignIn = "단일 로그인으로 로그인" oAuth2AutoCreateDisabled = "OAuth2 사용자 자동 생성이 비활성화되었습니다" oAuth2AdminBlockedUser = "현재 미등록 사용자의 등록 또는 로그인이 차단되어 있습니다. 관리자에게 문의하세요." +oAuth2RequiresLicense = "OAuth/SSO 로그인은 유료 라이선스(서버 또는 엔터프라이즈)가 필요합니다. 플랜 업그레이드를 위해 관리자에게 문의하세요." +saml2RequiresLicense = "SAML 로그인은 유료 라이선스(서버 또는 엔터프라이즈)가 필요합니다. 플랜 업그레이드를 위해 관리자에게 문의하세요." +maxUsersReached = "현재 라이선스에서 허용된 최대 사용자 수에 도달했습니다. 플랜 업그레이드 또는 시트 추가를 위해 관리자에게 문의하세요." oauth2RequestNotFound = "인증 요청을 찾을 수 없습니다" oauth2InvalidUserInfoResponse = "잘못된 사용자 정보 응답" oauth2invalidRequest = "잘못된 요청" @@ -3846,14 +3865,17 @@ fitToWidth = "너비에 맞추기" actualSize = "실제 크기" [viewer] +cannotPreviewFile = "파일을 미리보기할 수 없습니다" +dualPageView = "두 페이지 보기" firstPage = "첫 페이지" lastPage = "마지막 페이지" -previousPage = "이전 페이지" nextPage = "다음 페이지" +onlyPdfSupported = "뷰어는 PDF 파일만 지원합니다. 이 파일은 다른 형식인 것으로 보입니다." +previousPage = "이전 페이지" +singlePageView = "단일 페이지 보기" +unknownFile = "알 수 없는 파일" zoomIn = "확대" zoomOut = "축소" -singlePageView = "단일 페이지 보기" -dualPageView = "두 페이지 보기" [rightRail] closeSelected = "선택한 파일 닫기" @@ -3877,6 +3899,7 @@ toggleSidebar = "사이드바 전환" exportSelected = "선택한 페이지 내보내기" toggleAnnotations = "주석 가시성 전환" annotationMode = "주석 모드 전환" +print = "PDF 인쇄" draw = "그리기" save = "저장" saveChanges = "변경 내용 저장" @@ -4153,7 +4176,7 @@ description = "컴플라이언스 및 보안 모니터링을 위해 사용자 [admin.settings.security.audit.level] label = "감사 수준" -description = "0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE" +description = "0=끄기, 1=기본, 2=표준, 3=상세" [admin.settings.security.audit.retentionDays] label = "감사 로그 보존 기간(일)" @@ -4407,7 +4430,7 @@ description = "더 넓은 시스템 임시 디렉터리를 정리할지 여부( label = "프로세스 실행기 제한" description = "각 프로세스 실행기의 세션 제한 및 시간 제한을 구성합니다" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDF를 HTML로" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4487,13 +4510,14 @@ label = "쿠키 정책" description = "쿠키 정책의 URL 또는 파일 이름" [admin.settings.legal.impressum] -label = "Impressum" +label = "법적 고지" description = "Impressum의 URL 또는 파일 이름(일부 관할권에서 필수)" [admin.settings.premium] title = "프리미엄 및 엔터프라이즈" description = "프리미엄 또는 엔터프라이즈 라이선스 키를 구성합니다." license = "라이선스 구성" +noInput = "라이선스 키 또는 파일을 입력해 주세요" [admin.settings.premium.licenseKey] toggle = "라이선스 키나 인증서 파일이 있나요?" @@ -4511,6 +4535,25 @@ line1 = "현재 라이선스 키를 덮어쓰면 되돌릴 수 없습니다." line2 = "다른 곳에 백업하지 않았다면 이전 라이선스는 영구적으로 손실됩니다." line3 = "중요: 라이선스 키는 개인적으로 안전하게 보관하세요. 공개적으로 공유하지 마세요." +[admin.settings.premium.inputMethod] +text = "라이선스 키" +file = "인증서 파일" + +[admin.settings.premium.file] +label = "라이선스 인증서 파일" +description = "오프라인 구매 시 받은 .lic 또는 .cert 라이선스 파일을 업로드하세요" +choose = "라이선스 파일 선택" +selected = "선택됨: {{filename}} ({{size}})" +successMessage = "라이선스 파일이 업로드되어 성공적으로 활성화되었습니다. 재시작은 필요하지 않습니다." + +[admin.settings.premium.currentLicense] +title = "활성 라이선스" +file = "소스: 라이선스 파일 ({{path}})" +key = "소스: 라이선스 키" +type = "유형: {{type}}" +noInput = "라이선스 키를 입력하거나 인증서 파일을 업로드해 주세요" +success = "성공" + [admin.settings.premium.enabled] label = "프리미엄 기능 활성화" description = "프로/엔터프라이즈 기능에 대한 라이선스 키 확인 활성화" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}}개 선택됨" download = "다운로드" delete = "삭제" unsupported = "지원되지 않음" +active = "활성" addToUpload = "업로드에 추가" +closeFile = "파일 닫기" deleteAll = "모두 삭제" loadingFiles = "파일 불러오는 중..." noFiles = "사용 가능한 파일이 없습니다" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "이메일 주소를 최소 한 개 이상 입력해야 합니다" submit = "초대장 보내기" success = "사용자 초대가 완료되었습니다" -partialSuccess = "일부 초대가 실패했습니다" +partialFailure = "일부 초대가 실패했습니다" allFailed = "사용자 초대에 실패했습니다" error = "초대장 전송에 실패했습니다" @@ -5797,6 +5842,13 @@ submit = "로그인" signInWith = "다음으로 로그인" oauthPending = "인증을 위해 브라우저를 여는 중..." orContinueWith = "또는 이메일로 계속" +serverRequirement = "참고: 서버에서 로그인 기능이 활성화되어 있어야 합니다." +showInstructions = "활성화 방법" +hideInstructions = "지침 숨기기" +instructions = "Stirling PDF 서버에서 로그인 기능을 활성화하려면:" +instructionsEnvVar = "다음 환경 변수를 설정하세요:" +instructionsOrYml = "또는 settings.yml에서:" +instructionsRestart = "그런 다음 변경 사항을 적용하려면 서버를 재시작하세요." [setup.login.username] label = "사용자 이름" diff --git a/frontend/public/locales/ml-ML/translation.toml b/frontend/public/locales/ml-ML/translation.toml index b7f97c3c2..92106dd93 100644 --- a/frontend/public/locales/ml-ML/translation.toml +++ b/frontend/public/locales/ml-ML/translation.toml @@ -131,7 +131,7 @@ unsupported = "പിന്തുണയില്ല" [toolPanel] placeholder = "തുടങ്ങാൻ ഒരു ടൂൾ തിരഞ്ഞെടുക്കുക" -alpha = "Alpha" +alpha = "ആൽഫ" premiumFeature = "പ്രീമിയം ഫീച്ചർ:" comingSoon = "വരുന്നു:" @@ -163,6 +163,11 @@ unfavorite = "പ്രിയപ്പെട്ടവയിൽ നിന്ന fullscreen = "ഫുൾസ്ക്രീൻ മോഡിലേക്കു മാറ്റുക" sidebar = "സൈഡ്ബാർ മോഡിലേക്കു മാറ്റുക" +[backendStartup] +notFoundTitle = "ബാക്ക്‌എൻഡ് കണ്ടെത്താനായില്ല" +retry = "വീണ്ടും ശ്രമിക്കുക" +unreachable = "ഈ ആപ്പ്ലിക്കേഷൻ നിലവിൽ ബാക്ക്‌എൻഡുമായി കണക്റ്റ് ചെയ്യാൻ കഴിയുന്നില്ല. ബാക്ക്‌എൻഡിന്റെ നിലയും നെറ്റ്‌വർക്ക് കണക്റ്റിവിറ്റിയും പരിശോധിച്ച് വീണ്ടും ശ്രമിക്കുക." + [zipWarning] title = "വലിയ ZIP ഫയൽ" message = "ഈ ZIP-ൽ {{count}} ഫയലുകൾ ഉണ്ട്. എങ്കിലും എക്സ്ട്രാക്റ്റ് ചെയ്യട്ടേ?" @@ -369,7 +374,7 @@ privacy = "സ്വകാര്യത" [settings.developer] title = "ഡെവലപ്പർ" -apiKeys = "API Keys" +apiKeys = "API കീകൾ" [settings.tooltips] enableLoginFirst = "ആദ്യം ലോഗിൻ മോഡ് സജീവമാക്കുക" @@ -709,7 +714,7 @@ title = "പരത്തുക" desc = "ഒരു PDF-ൽ നിന്ന് എല്ലാ ഇന്ററാക്ടീവ് ഘടകങ്ങളും ഫോമുകളും നീക്കം ചെയ്യുക" [home.certSign] -tags = "authenticate,PEM,P12,official,encrypt,sign,certificate,PKCS12,JKS,server,manual,auto" +tags = "പ്രാമാണീകരണം,PEM,P12,ഔദ്യോഗികം,എൻക്രിപ്റ്റ്,സൈൻ,സർട്ടിഫിക്കറ്റ്,PKCS12,JKS,സെർവർ,മാനുവൽ,ഓട്ടോ" title = "സർട്ടിഫിക്കറ്റ് ഉപയോഗിച്ച് ഒപ്പിടുക" desc = "ഒരു സർട്ടിഫിക്കറ്റ്/കീ (PEM/P12) ഉപയോഗിച്ച് ഒരു PDF ഒപ്പിടുന്നു" @@ -794,7 +799,7 @@ title = "ഒരൊറ്റ വലിയ പേജ്" desc = "എല്ലാ PDF പേജുകളും ഒരൊറ്റ വലിയ പേജിലേക്ക് ലയിപ്പിക്കുന്നു" [home.showJS] -tags = "javascript,code,script" +tags = "javascript,കോഡ്,സ്ക്രിപ്റ്റ്" title = "ജാവാസ്ക്രിപ്റ്റ് കാണിക്കുക" desc = "ഒരു PDF-ൽ കുത്തിവച്ച ഏതെങ്കിലും JS തിരയുകയും പ്രദർശിപ്പിക്കുകയും ചെയ്യുന്നു" @@ -912,9 +917,12 @@ desc = "PDF പ്രവർത്തനങ്ങൾ ബന്ധിപ്പി desc = "മറ്റൊരു PDF-ന് മുകളിൽ PDF-കൾ ഓവർലേ ചെയ്യുന്നു" title = "PDF-കൾ ഓവർലേ ചെയ്യുക" +[home.pdfTextEditor] +title = "PDF ടെക്സ്റ്റ് എഡിറ്റർ" +desc = "PDFകളിലെ നിലവിലുള്ള ടെക്സ്റ്റും ചിത്രങ്ങളും തിരുത്തുക" [home.addText] -tags = "text,annotation,label" +tags = "ടെക്സ്റ്റ്,അനോട്ടേഷൻ,ലേബൽ" title = "ടെക്സ്റ്റ് ചേർക്കുക" desc = "നിങ്ങളുടെ PDF-ൽ എവിടെയിലും കസ്റ്റം ടെക്സ്റ്റ് ചേർക്കുക" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "വരച്ച ഒപ്പ്" defaultImageLabel = "അപ്‌ലോഡ് ചെയ്ത ഒപ്പ്" defaultTextLabel = "ടൈപ്പ് ചെയ്ത ഒപ്പ്" saveButton = "ഒപ്പ് സേവ് ചെയ്യുക" +savePersonal = "വ്യക്തിപരമായി സംരക്ഷിക്കുക" +saveShared = "പങ്കിട്ടതായി സംരക്ഷിക്കുക" saveUnavailable = "സേവ് ചെയ്യാൻ ആദ്യം ഒരു ഒപ്പ് സൃഷ്ടിക്കുക." noChanges = "നിലവിലെ ഒപ്പ് ഇതിനകം സേവ് ചെയ്തിട്ടുണ്ട്." +tempStorageTitle = "താൽക്കാലിക ബ്രൗസർ സ്റ്റോറേജ്" +tempStorageDescription = "ഒപ്പുകൾ നിങ്ങളുടെ ബ്രൗസറിൽ മാത്രം സംഭരിക്കപ്പെടും. ബ്രൗസർ ഡാറ്റ നീക്കം ചെയ്താൽ അല്ലെങ്കിൽ ബ്രൗസർ മാറ്റിയാൽ അവ നഷ്ടപ്പെടും." +personalHeading = "വ്യക്തിഗത ഒപ്പുകൾ" +sharedHeading = "പങ്കിട്ട ഒപ്പുകൾ" +personalDescription = "ഈ ഒപ്പുകൾ നിങ്ങള്ക്ക് മാത്രമേ കാണാനാകൂ." +sharedDescription = "എല്ലാ ഉപയോക്താക്കളും ഈ ഒപ്പുകൾ കാണുകയും ഉപയോഗിക്കുകയും ചെയ്യാം." [sign.saved.type] canvas = "ഡ്രോയിംഗ്" @@ -2731,7 +2747,7 @@ submit = "സമർപ്പിക്കുക" failed = "മൾട്ടി-പേജ് ലേഔട്ട് സൃഷ്ടിക്കുമ്പോൾ പിശക് സംഭവിച്ചു." [bookletImposition] -tags = "booklet,imposition,printing,binding,folding,signature" +tags = "ബുക്ക്‌ലെറ്റ്,ഇംപോസിഷൻ,പ്രിന്റിംഗ്,ബൈൻഡിംഗ്,മടക്കൽ,സിഗ്നേച്ചർ" title = "ബുക്ക്ലെറ്റ് ഇംപോസിഷൻ" header = "ബുക്ക്ലെറ്റ് ഇംപോസിഷൻ" submit = "ബുക്ക്ലെറ്റ് സൃഷ്ടിക്കുക" @@ -2830,7 +2846,7 @@ scaleFactor = "ഒരു പേജിന്റെ സൂം നില (ക്ര submit = "സമർപ്പിക്കുക" [adjustPageScale] -tags = "resize,modify,dimension,adapt" +tags = "വലിപ്പമാറ്റം,ഭേദഗതി,പരിമാണം,അനുസൃതമാക്കൽ" title = "പേജ് സ്കെയിൽ ക്രമപ്പെടുത്തുക" header = "പേജ് സ്കെയിൽ ക്രമപ്പെടുത്തുക" submit = "പേജ് സ്കെയിൽ ക്രമപ്പെടുത്തുക" @@ -2841,8 +2857,8 @@ label = "സ്കെയിൽ ഫാക്ടർ" [adjustPageScale.pageSize] label = "ടാർഗറ്റ് പേജ് വലിപ്പം" keep = "അസൽ വലിപ്പം നിലനിർത്തുക" -letter = "Letter" -legal = "Legal" +letter = "ലറ്റർ" +legal = "ലീഗൽ" [adjustPageScale.error] failed = "പേജ് സ്കെയിൽ ക്രമപ്പെടുത്തുന്നതിനിടെ പിശക് സംഭവിച്ചു." @@ -3380,7 +3396,7 @@ certHint = "കസ്റ്റം ട്രസ്റ്റ് സോഴ്‌സ title = "സ്ഥിരീകരണ സെറ്റിങ്ങുകൾ" [replaceColor] -tags = "Replace Colour,Page operations,Back end,server side" +tags = "നിറം പകരുക,പേജ് പ്രവർത്തനങ്ങൾ,ബാക്ക്‌എൻഡ്,സെർവർ-സൈഡ്" [replaceColor.labels] settings = "സെറ്റിങ്ങുകൾ" @@ -3438,6 +3454,9 @@ signinTitle = "ദയവായി സൈൻ ഇൻ ചെയ്യുക" ssoSignIn = "സിംഗിൾ സൈൻ-ഓൺ വഴി ലോഗിൻ ചെയ്യുക" oAuth2AutoCreateDisabled = "OAUTH2 ഓട്ടോ-ക്രിയേറ്റ് യൂസർ പ്രവർത്തനരഹിതമാക്കി" oAuth2AdminBlockedUser = "രജിസ്റ്റർ ചെയ്യാത്ത ഉപയോക്താക്കളുടെ രജിസ്ട്രേഷനോ ലോഗിൻ ചെയ്യുന്നതോ നിലവിൽ തടഞ്ഞിരിക്കുന്നു. ദയവായി അഡ്മിനിസ്ട്രേറ്ററുമായി ബന്ധപ്പെടുക." +oAuth2RequiresLicense = "OAuth/SSO ലോഗിനിന് ഒരു പെയ്ഡ് ലൈസൻസ് (Server അല്ലെങ്കിൽ Enterprise) ആവശ്യമാണ്. നിങ്ങളുടെ പ്ലാൻ അപ്‌ഗ്രേഡ് ചെയ്യാൻ അഡ്മിനിസ്ട്രേറ്ററുമായി ബന്ധപ്പെടുക." +saml2RequiresLicense = "SAML ലോഗിനിന് ഒരു പെയ്ഡ് ലൈസൻസ് (Server അല്ലെങ്കിൽ Enterprise) ആവശ്യമാണ്. നിങ്ങളുടെ പ്ലാൻ അപ്‌ഗ്രേഡ് ചെയ്യാൻ അഡ്മിനിസ്ട്രേറ്ററുമായി ബന്ധപ്പെടുക." +maxUsersReached = "നിലവിലുള്ള ലൈസൻസിലെ പരമാവധി ഉപയോക്താക്കൾ എത്തിച്ചേർന്നു. നിങ്ങളുടെ പ്ലാൻ അപ്‌ഗ്രേഡ് ചെയ്യുകയോ കൂടുതൽ സീറ്റുകൾ ചേർക്കുകയോ ചെയ്യാൻ അഡ്മിനിസ്ട്രേറ്ററുമായി ബന്ധപ്പെടുക." oauth2RequestNotFound = "അംഗീകാര അഭ്യർത്ഥന കണ്ടെത്തിയില്ല" oauth2InvalidUserInfoResponse = "അസാധുവായ ഉപയോക്തൃ വിവര പ്രതികരണം" oauth2invalidRequest = "അസാധുവായ അഭ്യർത്ഥന" @@ -3771,7 +3790,7 @@ version = "നിലവിലെ റിലീസ്" title = "API ഡോക്യുമെന്റേഷൻ" header = "API ഡോക്യുമെന്റേഷൻ" desc = "Stirling PDF API എൻഡ്പോയിന്റുകൾ കാണുകയും പരിശോധിക്കുകയും ചെയ്യുക" -tags = "api,documentation,swagger,endpoints,development" +tags = "api,ഡോക്യുമെന്റേഷൻ,swagger,എൻഡ്പോയിന്റുകൾ,വികസനം" [cookieBanner.popUp] title = "ഞങ്ങൾ കുക്കികൾ എങ്ങനെ ഉപയോഗിക്കുന്നു" @@ -3846,14 +3865,17 @@ fitToWidth = "വീതിക്ക് ഒത്താക്കുക" actualSize = "യഥാർത്ഥ വലിപ്പം" [viewer] +cannotPreviewFile = "ഫയൽ പ്രിവ്യൂ ചെയ്യാൻ കഴിയില്ല" +dualPageView = "രണ്ടുപേജ് ദൃശ്യം" firstPage = "ആദ്യ പേജ്" lastPage = "അവസാന പേജ്" -previousPage = "മുൻപത്തെ പേജ്" nextPage = "അടുത്ത പേജ്" +onlyPdfSupported = "വ്യൂവറിന് PDF ഫയലുകൾ മാത്രം പിന്തുണയ്ക്കാം. ഈ ഫയൽ വേറെ ഒരു ഫോർമാറ്റാണെന്ന് തോന്നുന്നു." +previousPage = "മുൻപത്തെ പേജ്" +singlePageView = "ഒറ്റ പേജ് ദൃശ്യം" +unknownFile = "അപരിചിതമായ ഫയൽ" zoomIn = "സൂം ഇൻ" zoomOut = "സൂം ഔട്ട്" -singlePageView = "ഒറ്റ പേജ് ദൃശ്യം" -dualPageView = "രണ്ടുപേജ് ദൃശ്യം" [rightRail] closeSelected = "തിരഞ്ഞെടുത്ത ഫയലുകൾ അടയ്‌ക്കുക" @@ -3877,6 +3899,7 @@ toggleSidebar = "സൈഡ്ബാർ മാറ്റുക" exportSelected = "തിരഞ്ഞെടുത്ത പേജുകൾ എക്സ്പോർട്ട് ചെയ്യുക" toggleAnnotations = "അനോട്ടേഷൻ ദൃശ്യമാനം മാറ്റുക" annotationMode = "അനോട്ടേഷൻ മോഡ് മാറ്റുക" +print = "PDF അച്ചടിക്കുക" draw = "വരയ്ക്കുക" save = "സംരക്ഷിക്കുക" saveChanges = "മാറ്റങ്ങൾ സംരക്ഷിക്കുക" @@ -4231,7 +4254,7 @@ label = "പ്രൊവൈഡർ" description = "ഓതന്റിക്കേഷനായി ഉപയോഗിക്കുന്ന OAuth2 പ്രൊവൈഡർ" [admin.settings.connections.oauth2.issuer] -label = "Issuer URL" +label = "ഇഷ്യൂവർ URL" description = "OAuth2 പ്രൊവൈഡറിന്റെ issuer URL" [admin.settings.connections.oauth2.clientId] @@ -4255,7 +4278,7 @@ label = "രജിസ്‌ട്രേഷൻ തടയുക" description = "OAuth2 വഴി പുതിയ ഉപയോക്തൃ രജിസ്‌ട്രേഷൻ തടയുക" [admin.settings.connections.oauth2.scopes] -label = "OAuth2 Scopes" +label = "OAuth2 സ്കോപ്പുകൾ" description = "OAuth2 സ്കോപ്പുകളുടെ കോമ ഉപയോഗിച്ച് വേർതിരിച്ച പട്ടിക (ഉദാ., openid, profile, email)" [admin.settings.connections.saml2] @@ -4494,6 +4517,7 @@ description = "Impressum-ലേക്ക് URL അല്ലെങ്കിൽ title = "പ്രീമിയം & എന്റർപ്രൈസ്" description = "നിങ്ങളുടെ പ്രീമിയം അല്ലെങ്കിൽ എന്റർപ്രൈസ് ലൈസൻസ് കീ ക്രമീകരിക്കുക." license = "ലൈസൻസ് കോൺഫിഗറേഷൻ" +noInput = "ദയവായി ഒരു ലൈസന്റ്‌സ് കീ അല്ലെങ്കിൽ ഫയൽ നൽകുക" [admin.settings.premium.licenseKey] toggle = "ലൈസൻസ് കീ അല്ലെങ്കിൽ സർട്ടിഫിക്കറ്റ് ഫയൽ ഉണ്ടോ?" @@ -4511,6 +4535,25 @@ line1 = "നിലവിലെ ലൈസൻസ് കീ ഓവർറൈറ് line2 = "നിങ്ങൾ മറ്റെവിടെയെങ്കിലും ബാക്കപ്പ് എടുത്തിട്ടില്ലെങ്കിൽ നിങ്ങളുടെ പഴയ ലൈസൻസ് സ്ഥിരമായി നഷ്ടപ്പെടും." line3 = "പ്രധാനപ്പെട്ടത്: ലൈസൻസ് കീകൾ സ്വകാര്യവും സുരക്ഷിതവുമാക്കി സൂക്ഷിക്കുക. ഒരിക്കലും അവ പൊതു വേദിയിൽ പങ്കുവെക്കരുത്." +[admin.settings.premium.inputMethod] +text = "ലൈസൻസ് കീ" +file = "സർട്ടിഫിക്കറ്റ് ഫയൽ" + +[admin.settings.premium.file] +label = "ലൈസൻസ് സർട്ടിഫിക്കറ്റ് ഫയൽ" +description = "നിങ്ങളുടെ ഓഫ്ലൈൻ വാങ്ങലുകളിൽ നിന്നുള്ള .lic അല്ലെങ്കിൽ .cert ലൈസൻസ് ഫയൽ അപ്‌ലോഡ് ചെയ്യുക" +choose = "ലൈസൻസ് ഫയൽ തിരഞ്ഞെടുക്കുക" +selected = "തിരഞ്ഞെടുക്കിയത്: {{filename}} ({{size}})" +successMessage = "ലൈസൻസ് ഫയൽ അപ്‌ലോഡ് ചെയ്തു വിജയകരമായി സജീവമാക്കിയിരിക്കുന്നു. റീസ്റ്റാർട്ട് ആവശ്യമില്ല." + +[admin.settings.premium.currentLicense] +title = "സജീവ ലൈസൻസ്" +file = "ഉറവിടം: ലൈസൻസ് ഫയൽ ({{path}})" +key = "ഉറവിടം: ലൈസൻസ് കീ" +type = "തരം: {{type}}" +noInput = "ദയവായി ഒരു ലൈസൻസ് കീ നൽകുകയോ ഒരു സർട്ടിഫിക്കറ്റ് ഫയൽ അപ്‌ലോഡ് ചെയ്യുകയോ ചെയ്യുക" +success = "വിജയം" + [admin.settings.premium.enabled] label = "പ్రీമിയം സവിശേഷതകൾ പ്രാപ്തമാക്കുക" description = "പ്രോ/എന്റർപ്രൈസ് സവിശേഷതകൾക്കായി ലൈസൻസ് കീ പരിശോധനകൾ പ്രാപ്തമാക്കുക" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} തിരഞ്ഞെടുക്കപ്പെട download = "ഡൗൺലോഡ്" delete = "ഇല്ലാതാക്കുക" unsupported = "പിന്തുണയില്ല" +active = "സജീവം" addToUpload = "അപ്‌ലോഡിലേക്ക് ചേർക്കുക" +closeFile = "ഫയൽ അടയ്ക്കുക" deleteAll = "എല്ലാം ഇല്ലാതാക്കുക" loadingFiles = "ഫയലുകൾ ലോഡുചെയ്യുന്നു..." noFiles = "ഫയലുകളൊന്നും ലഭ്യമല്ല" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "കുറഞ്ഞത് ഒരു ഇമെയിൽ വിലാസമെങ്കിലും ആവശ്യമാണ്" submit = "ക്ഷണങ്ങൾ അയയ്ക്കുക" success = "ഉപയോക്താക്കളെ വിജയകരമായി ക്ഷണിച്ചു" -partialSuccess = "ചില ക്ഷണങ്ങൾ പരാജയപ്പെട്ടു" +partialFailure = "ചില ക്ഷണങ്ങൾ പരാജയപ്പെട്ടു" allFailed = "ഉപയോക്താക്കളെ ക്ഷണിക്കൽ പരാജയപ്പെട്ടു" error = "ക്ഷണങ്ങൾ അയയ്ക്കൽ പരാജയപ്പെട്ടു" @@ -5797,6 +5842,13 @@ submit = "ലോഗിൻ" signInWith = "ഇതുപയോഗിച്ച് സൈൻ ഇൻ ചെയ്യുക" oauthPending = "ഓതന്റിക്കേഷനായി ബ്രൗസർ തുറക്കുന്നു..." orContinueWith = "അല്ലെങ്കിൽ ഇമെയിലോടെ തുടരുക" +serverRequirement = "ശ്രദ്ധിക്കുക: സെർവറിൽ ലോഗിൻ പ്രവർത്തനക്ഷമമാക്കിയിരിക്കണം." +showInstructions = "എങ്ങനെ പ്രവർത്തനക്ഷമമാക്കാം?" +hideInstructions = "നിർദ്ദേശങ്ങൾ മറയ്ക്കുക" +instructions = "നിങ്ങളുടെ Stirling PDF സെർവറിൽ ലോഗിൻ പ്രവർത്തനക്ഷമമാക്കാൻ:" +instructionsEnvVar = "Environment variable സജ്ജമാക്കുക:" +instructionsOrYml = "അല്ലെങ്കിൽ settings.yml-ൽ:" +instructionsRestart = "തുടർന്ന് മാറ്റങ്ങൾ പ്രാബല്യത്തിൽ വരാൻ നിങ്ങളുടെ സെർവർ റീസ്റ്റാർട്ട് ചെയ്യുക." [setup.login.username] label = "യൂസർനെയിം" @@ -5847,7 +5899,7 @@ singleLine = "സിംഗിൾ ലൈൻ" [pdfTextEditor.badges] unsaved = "എഡിറ്റ് ചെയ്തു" modified = "എഡിറ്റ് ചെയ്തു" -earlyAccess = "Early Access" +earlyAccess = "എർലി ആക്‌സസ്" [pdfTextEditor.actions] reset = "മാറ്റങ്ങൾ റീസെറ്റ് ചെയ്യുക" diff --git a/frontend/public/locales/nl-NL/translation.toml b/frontend/public/locales/nl-NL/translation.toml index 321acd475..b5c5cf99b 100644 --- a/frontend/public/locales/nl-NL/translation.toml +++ b/frontend/public/locales/nl-NL/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Uit favorieten verwijderen" fullscreen = "Overschakelen naar volledig scherm" sidebar = "Overschakelen naar zijbalkmodus" +[backendStartup] +notFoundTitle = "Backend niet gevonden" +retry = "Opnieuw proberen" +unreachable = "De applicatie kan momenteel geen verbinding maken met de backend. Controleer de status van de backend en de netwerkverbinding en probeer het vervolgens opnieuw." + [zipWarning] title = "Groot ZIP-bestand" message = "Dit ZIP-bestand bevat {{count}} bestanden. Toch uitpakken?" @@ -347,7 +352,7 @@ teams = "Teams" title = "Configuratie" systemSettings = "Systeeminstellingen" features = "Functies" -endpoints = "Endpoints" +endpoints = "Eindpunten" database = "Database" advanced = "Geavanceerd" @@ -556,7 +561,7 @@ totalEndpoints = "Totaal aantal endpoints" totalVisits = "Totaal aantal bezoeken" showing = "Weergeven" selectedVisits = "Geselecteerde bezoeken" -endpoint = "Endpoint" +endpoint = "Eindpunt" visits = "Bezoeken" percentage = "Percentage" loading = "Laden..." @@ -912,6 +917,9 @@ desc = "Bouw workflows met meerdere stappen door PDF-acties te koppelen. Ideaal desc = "Plaatst PDF's over een andere PDF heen" title = "PDF's overlappen" +[home.pdfTextEditor] +title = "PDF-teksteditor" +desc = "Bewerk bestaande tekst en afbeeldingen in PDF's" [home.addText] tags = "tekst,annotatie,label" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Getekende handtekening" defaultImageLabel = "Geüploade handtekening" defaultTextLabel = "Getypte handtekening" saveButton = "Handtekening opslaan" +savePersonal = "Als persoonlijk opslaan" +saveShared = "Als gedeeld opslaan" saveUnavailable = "Maak eerst een handtekening om deze op te slaan." noChanges = "De huidige handtekening is al opgeslagen." +tempStorageTitle = "Tijdelijke browseropslag" +tempStorageDescription = "Handtekeningen worden alleen in je browser opgeslagen. Ze gaan verloren als je je browsergegevens wist of van browser wisselt." +personalHeading = "Persoonlijke handtekeningen" +sharedHeading = "Gedeelde handtekeningen" +personalDescription = "Alleen jij kunt deze handtekeningen zien." +sharedDescription = "Alle gebruikers kunnen deze handtekeningen zien en gebruiken." [sign.saved.type] canvas = "Tekening" @@ -3438,6 +3454,9 @@ signinTitle = "Gelieve in te loggen" ssoSignIn = "Inloggen via Single Sign-on" oAuth2AutoCreateDisabled = "OAUTH2 Automatisch aanmaken gebruiker uitgeschakeld" oAuth2AdminBlockedUser = "Registratie of inloggen van niet-registreerde gebruikers is helaas momenteel geblokkeerd. Neem contact op met de beheerder." +oAuth2RequiresLicense = "OAuth/SSO-inloggen vereist een betaalde licentie (Server of Enterprise). Neem contact op met de beheerder om uw abonnement te upgraden." +saml2RequiresLicense = "SAML-inloggen vereist een betaalde licentie (Server of Enterprise). Neem contact op met de beheerder om uw abonnement te upgraden." +maxUsersReached = "Het maximumaantal gebruikers voor uw huidige licentie is bereikt. Neem contact op met de beheerder om uw abonnement te upgraden of extra plaatsen toe te voegen." oauth2RequestNotFound = "Autorisatieverzoek niet gevonden" oauth2InvalidUserInfoResponse = "Ongeldige reactie op gebruikersinfo" oauth2invalidRequest = "Ongeldig verzoek" @@ -3805,7 +3824,7 @@ description = "These cookies are essential for the website to function properly. 2 = "Altijd ingeschakeld" [cookieBanner.preferencesModal.analytics] -title = "Analytics" +title = "Analyse" description = "Deze cookies helpen ons te begrijpen hoe onze tools worden gebruikt, zodat we ons kunnen richten op het bouwen van de functies die onze community het meest waardeert. Wees gerust—Stirling PDF kan niet en zal nooit de inhoud van de documenten waarmee je werkt volgen." [cookieBanner.services] @@ -3846,14 +3865,17 @@ fitToWidth = "Passend op breedte" actualSize = "Werkelijke grootte" [viewer] +cannotPreviewFile = "Kan voorbeeld van bestand niet weergeven" +dualPageView = "Dubbele paginaweergave" firstPage = "Eerste pagina" lastPage = "Laatste pagina" -previousPage = "Vorige pagina" nextPage = "Volgende pagina" +onlyPdfSupported = "De viewer ondersteunt alleen PDF-bestanden. Dit bestand lijkt een ander formaat te hebben." +previousPage = "Vorige pagina" +singlePageView = "Enkele paginaweergave" +unknownFile = "Onbekend bestand" zoomIn = "Inzoomen" zoomOut = "Uitzoomen" -singlePageView = "Enkele paginaweergave" -dualPageView = "Dubbele paginaweergave" [rightRail] closeSelected = "Geselecteerde bestanden sluiten" @@ -3877,6 +3899,7 @@ toggleSidebar = "Zijbalk tonen/verbergen" exportSelected = "Geselecteerde pagina's exporteren" toggleAnnotations = "Annotaties tonen/verbergen" annotationMode = "Annotatiemodus schakelen" +print = "PDF afdrukken" draw = "Tekenen" save = "Opslaan" saveChanges = "Wijzigingen opslaan" @@ -4343,7 +4366,7 @@ features = "Feature-flags" processing = "Verwerking" [admin.settings.advanced.endpoints] -label = "Endpoints" +label = "Eindpunten" manage = "API-endpoints beheren" description = "Endpointbeheer wordt geconfigureerd via YAML. Zie de documentatie voor details over het in-/uitschakelen van specifieke endpoints." @@ -4494,6 +4517,7 @@ description = "URL of bestandsnaam van het impressum (in sommige jurisdicties ve title = "Premium & Enterprise" description = "Configureer je premium- of enterprise-licentiesleutel." license = "Licentieconfiguratie" +noInput = "Geef een licentiesleutel of bestand op" [admin.settings.premium.licenseKey] toggle = "Heb je een licentiesleutel of certificaatbestand?" @@ -4511,6 +4535,25 @@ line1 = "Het overschrijven van je huidige licentiesleutel kan niet ongedaan word line2 = "Je vorige licentie gaat permanent verloren, tenzij je er elders een back-up van hebt." line3 = "Belangrijk: houd licentiesleutels privé en veilig. Deel ze nooit openbaar." +[admin.settings.premium.inputMethod] +text = "Licentiesleutel" +file = "Certificaatbestand" + +[admin.settings.premium.file] +label = "Licentiecertificaatbestand" +description = "Upload je .lic- of .cert-licentiebestand van offline aankopen" +choose = "Kies licentiebestand" +selected = "Geselecteerd: {{filename}} ({{size}})" +successMessage = "Licentiebestand succesvol geüpload en geactiveerd. Herstarten niet vereist." + +[admin.settings.premium.currentLicense] +title = "Actieve licentie" +file = "Bron: licentiebestand ({{path}})" +key = "Bron: licentiesleutel" +type = "Type: {{type}}" +noInput = "Geef een licentiesleutel op of upload een certificaatbestand" +success = "Succes" + [admin.settings.premium.enabled] label = "Premiumfuncties inschakelen" description = "Licentiesleutelcontrole inschakelen voor pro-/enterprise-functies" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} geselecteerd" download = "Downloaden" delete = "Verwijderen" unsupported = "Niet ondersteund" +active = "Actief" addToUpload = "Aan upload toevoegen" +closeFile = "Bestand sluiten" deleteAll = "Alles verwijderen" loadingFiles = "Bestanden laden..." noFiles = "Geen bestanden beschikbaar" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Er is minstens één e-mailadres vereist" submit = "Uitnodigingen verzenden" success = "Gebruiker(s) succesvol uitgenodigd" -partialSuccess = "Sommige uitnodigingen zijn mislukt" +partialFailure = "Sommige uitnodigingen zijn mislukt" allFailed = "Uitnodigen van gebruikers is mislukt" error = "Uitnodigingen verzenden is mislukt" @@ -5709,7 +5754,7 @@ title = "Grafiek van endpointgebruik" [usage.table] title = "Gedetailleerde statistieken" -endpoint = "Endpoint" +endpoint = "Eindpunt" visits = "Bezoeken" percentage = "Percentage" noData = "Geen gegevens beschikbaar" @@ -5797,6 +5842,13 @@ submit = "Inloggen" signInWith = "Inloggen met" oauthPending = "Browser wordt geopend voor authenticatie..." orContinueWith = "Of ga verder met e-mail" +serverRequirement = "Let op: op de server moet inloggen zijn ingeschakeld." +showInstructions = "Hoe inschakelen?" +hideInstructions = "Instructies verbergen" +instructions = "Om inloggen op uw Stirling PDF-server in te schakelen:" +instructionsEnvVar = "Stel de omgevingsvariabele in:" +instructionsOrYml = "Of in settings.yml:" +instructionsRestart = "Start vervolgens uw server opnieuw zodat de wijzigingen van kracht worden." [setup.login.username] label = "Gebruikersnaam" diff --git a/frontend/public/locales/no-NB/translation.toml b/frontend/public/locales/no-NB/translation.toml index 21b873f01..7dc8b431a 100644 --- a/frontend/public/locales/no-NB/translation.toml +++ b/frontend/public/locales/no-NB/translation.toml @@ -131,7 +131,7 @@ unsupported = "Ikke støttet" [toolPanel] placeholder = "Velg et verktøy for å komme i gang" -alpha = "Alpha" +alpha = "Alfa" premiumFeature = "Premium-funksjon:" comingSoon = "Kommer snart:" @@ -163,6 +163,11 @@ unfavorite = "Fjern fra favoritter" fullscreen = "Bytt til fullskjerm-modus" sidebar = "Bytt til sidepanel-modus" +[backendStartup] +notFoundTitle = "Backend ikke funnet" +retry = "Prøv igjen" +unreachable = "Programmet kan for øyeblikket ikke koble til backend. Kontroller backend-status og nettverkstilkobling, og prøv igjen." + [zipWarning] title = "Stor ZIP-fil" message = "Denne ZIP-en inneholder {{count}} filer. Pakk ut likevel?" @@ -912,6 +917,9 @@ desc = "Bygg flertrinns arbeidsflyter ved å lenke sammen PDF-handlinger. Ideelt desc = "Legger PDF-er over hverandre" title = "Overlay PDF-er" +[home.pdfTextEditor] +title = "PDF-teksteditor" +desc = "Rediger eksisterende tekst og bilder i PDF-filer" [home.addText] tags = "tekst,merknad,etikett" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Tegnet signatur" defaultImageLabel = "Opplastet signatur" defaultTextLabel = "Tekstsignatur" saveButton = "Lagre signatur" +savePersonal = "Lagre personlig" +saveShared = "Lagre delt" saveUnavailable = "Opprett en signatur først for å lagre den." noChanges = "Gjeldende signatur er allerede lagret." +tempStorageTitle = "Midlertidig nettleserlagring" +tempStorageDescription = "Signaturer lagres bare i nettleseren din. De går tapt hvis du sletter nettleserdata eller bytter nettleser." +personalHeading = "Personlige signaturer" +sharedHeading = "Delte signaturer" +personalDescription = "Bare du kan se disse signaturene." +sharedDescription = "Alle brukere kan se og bruke disse signaturene." [sign.saved.type] canvas = "Tegning" @@ -3438,6 +3454,9 @@ signinTitle = "Vennligst logg inn" ssoSignIn = "Logg inn via Enkel Pålogging" oAuth2AutoCreateDisabled = "OAUTH2 Auto-Opretting av bruker deaktivert" oAuth2AdminBlockedUser = "Registrering eller pålogging for ikke-registrerte brukere er for øyeblikket blokkert. Vennligst kontakt administrator" +oAuth2RequiresLicense = "OAuth/SSO-pålogging krever en betalt lisens (Server eller Enterprise). Kontakt administratoren for å oppgradere planen din." +saml2RequiresLicense = "SAML-pålogging krever en betalt lisens (Server eller Enterprise). Kontakt administratoren for å oppgradere planen din." +maxUsersReached = "Maksimalt antall brukere er nådd for din nåværende lisens. Kontakt administratoren for å oppgradere planen din eller legge til flere brukerplasser." oauth2RequestNotFound = "Autentiseringsforespørsel ikke funnet" oauth2InvalidUserInfoResponse = "Ugyldig brukerinforespons" oauth2invalidRequest = "Ugyldig forespørsel" @@ -3846,14 +3865,17 @@ fitToWidth = "Tilpass til bredde" actualSize = "Faktisk størrelse" [viewer] +cannotPreviewFile = "Kan ikke forhåndsvise fil" +dualPageView = "Dobbelsidevisning" firstPage = "Første side" lastPage = "Siste side" -previousPage = "Forrige side" nextPage = "Neste side" +onlyPdfSupported = "Visningsprogrammet støtter bare PDF-filer. Denne filen ser ut til å ha et annet format." +previousPage = "Forrige side" +singlePageView = "Enkeltsidevisning" +unknownFile = "Ukjent fil" zoomIn = "Zoom inn" zoomOut = "Zoom ut" -singlePageView = "Enkeltsidevisning" -dualPageView = "Dobbelsidevisning" [rightRail] closeSelected = "Lukk valgte filer" @@ -3877,6 +3899,7 @@ toggleSidebar = "Vis/skjul sidepanel" exportSelected = "Eksporter valgte sider" toggleAnnotations = "Vis/skjul merknader" annotationMode = "Veksle merknadsmodus" +print = "Skriv ut PDF" draw = "Tegn" save = "Lagre" saveChanges = "Lagre endringer" @@ -4153,7 +4176,7 @@ description = "Spor brukerhandlinger og systemhendelser for etterlevelse og sikk [admin.settings.security.audit.level] label = "Revisjonsnivå" -description = "0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE" +description = "0=AV, 1=GRUNNLEGGENDE, 2=STANDARD, 3=DETALJERT" [admin.settings.security.audit.retentionDays] label = "Bevaring av revisjon (dager)" @@ -4494,6 +4517,7 @@ description = "URL eller filnavn til impressum (påkrevd i noen jurisdiksjoner)" title = "Premium og Enterprise" description = "Konfigurer din premium- eller enterprise-lisensnøkkel." license = "Lisenskonfigurasjon" +noInput = "Oppgi en lisensnøkkel eller fil" [admin.settings.premium.licenseKey] toggle = "Har du en lisensnøkkel eller sertifikatfil?" @@ -4511,6 +4535,25 @@ line1 = "Å overskrive gjeldende lisensnøkkel kan ikke angres." line2 = "Den forrige lisensen vil gå tapt permanent med mindre du har sikkerhetskopiert den et annet sted." line3 = "Viktig: Hold lisensnøkler private og sikre. Del dem aldri offentlig." +[admin.settings.premium.inputMethod] +text = "Lisensnøkkel" +file = "Sertifikatfil" + +[admin.settings.premium.file] +label = "Lisenssertifikatfil" +description = "Last opp .lic- eller .cert-lisensfilen din fra offline-kjøp" +choose = "Velg lisensfil" +selected = "Valgt: {{filename}} ({{size}})" +successMessage = "Lisensfilen ble lastet opp og aktivert. Omstart er ikke nødvendig." + +[admin.settings.premium.currentLicense] +title = "Aktiv lisens" +file = "Kilde: Lisensfil ({{path}})" +key = "Kilde: Lisensnøkkel" +type = "Type: {{type}}" +noInput = "Oppgi en lisensnøkkel eller last opp en sertifikatfil" +success = "Vellykket" + [admin.settings.premium.enabled] label = "Aktiver premiumfunksjoner" description = "Aktiver lisensnøkkelkontroller for pro-/enterprise-funksjoner" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} valgt" download = "Last ned" delete = "Slett" unsupported = "Ikke støttet" +active = "Aktiv" addToUpload = "Legg til i opplasting" +closeFile = "Lukk fil" deleteAll = "Slett alt" loadingFiles = "Laster filer..." noFiles = "Ingen filer tilgjengelig" @@ -5059,7 +5104,7 @@ title = "Erstatt-Inverter-Farge" [replace-color.options] fill = "Fyllfarge" -gradient = "Gradient" +gradient = "Fargeovergang" [replace-color.selectText] 1 = "Erstatt eller Inverter farge alternativer" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Minst én e-postadresse er påkrevd" submit = "Send invitasjoner" success = "bruker(e) invitert" -partialSuccess = "Noen invitasjoner mislyktes" +partialFailure = "Noen invitasjoner mislyktes" allFailed = "Kunne ikke invitere brukere" error = "Kunne ikke sende invitasjoner" @@ -5797,6 +5842,13 @@ submit = "Logg inn" signInWith = "Logg inn med" oauthPending = "Åpner nettleser for autentisering..." orContinueWith = "Eller fortsett med e-post" +serverRequirement = "Merk: Serveren må ha pålogging aktivert." +showInstructions = "Hvordan aktivere?" +hideInstructions = "Skjul instruksjoner" +instructions = "Slik aktiverer du pålogging på din Stirling PDF-server:" +instructionsEnvVar = "Sett miljøvariabelen:" +instructionsOrYml = "Eller i settings.yml:" +instructionsRestart = "Start deretter serveren på nytt for at endringene skal tre i kraft." [setup.login.username] label = "Brukernavn" @@ -5840,7 +5892,7 @@ paragraph = "Avsnittsside" sparse = "Sparsom tekst" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automatisk" paragraph = "Avsnitt" singleLine = "Én linje" diff --git a/frontend/public/locales/pl-PL/translation.toml b/frontend/public/locales/pl-PL/translation.toml index bbde87022..e652c88d2 100644 --- a/frontend/public/locales/pl-PL/translation.toml +++ b/frontend/public/locales/pl-PL/translation.toml @@ -131,7 +131,7 @@ unsupported = "Nieobsługiwane" [toolPanel] placeholder = "Wybierz narzędzie, aby zacząć" -alpha = "Alpha" +alpha = "Alfa" premiumFeature = "Funkcja premium:" comingSoon = "Wkrótce:" @@ -163,6 +163,11 @@ unfavorite = "Usuń z ulubionych" fullscreen = "Przełącz na tryb pełnoekranowy" sidebar = "Przełącz na tryb paska bocznego" +[backendStartup] +notFoundTitle = "Nie znaleziono backendu" +retry = "Spróbuj ponownie" +unreachable = "Aplikacja nie może obecnie połączyć się z backendem. Sprawdź stan backendu i łączność sieciową, a następnie spróbuj ponownie." + [zipWarning] title = "Duży plik ZIP" message = "Ten ZIP zawiera {{count}} plików. Mimo to rozpakować?" @@ -912,6 +917,9 @@ desc = "Buduj wieloetapowe przepływy, łącząc akcje PDF. Idealne do powtarzaj desc = "Nakłada dokumenty PDF na siebie" title = "Nałóż PDFa" +[home.pdfTextEditor] +title = "Edytor tekstu PDF" +desc = "Edytuj istniejący tekst i obrazy w plikach PDF" [home.addText] tags = "tekst,adnotacja,etykieta" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Podpis rysowany" defaultImageLabel = "Przesłany podpis" defaultTextLabel = "Podpis wpisany" saveButton = "Zapisz podpis" +savePersonal = "Zapisz osobiste" +saveShared = "Zapisz udostępnione" saveUnavailable = "Najpierw utwórz podpis, aby go zapisać." noChanges = "Bieżący podpis jest już zapisany." +tempStorageTitle = "Tymczasowe przechowywanie w przeglądarce" +tempStorageDescription = "Podpisy są przechowywane tylko w Twojej przeglądarce. Zostaną utracone po wyczyszczeniu danych przeglądarki lub zmianie przeglądarki." +personalHeading = "Osobiste podpisy" +sharedHeading = "Udostępnione podpisy" +personalDescription = "Tylko Ty widzisz te podpisy." +sharedDescription = "Wszyscy użytkownicy mogą widzieć i używać tych podpisów." [sign.saved.type] canvas = "Rysunek" @@ -3438,6 +3454,9 @@ signinTitle = "Zaloguj się" ssoSignIn = "Zaloguj się za pomocą logowania jednokrotnego" oAuth2AutoCreateDisabled = "Wyłączono automatyczne tworzenie użytkownika OAUTH2" oAuth2AdminBlockedUser = "Rejestracja lub logowanie niezarejestrowanych użytkowników jest obecnie zablokowane. Prosimy o kontakt z administratorem." +oAuth2RequiresLicense = "Logowanie OAuth/SSO wymaga płatnej licencji (Server lub Enterprise). Skontaktuj się z administratorem, aby uaktualnić swój plan." +saml2RequiresLicense = "Logowanie SAML wymaga płatnej licencji (Server lub Enterprise). Skontaktuj się z administratorem, aby uaktualnić swój plan." +maxUsersReached = "Osiągnięto maksymalną liczbę użytkowników dla Twojej obecnej licencji. Skontaktuj się z administratorem, aby uaktualnić plan lub dodać więcej miejsc." oauth2RequestNotFound = "Błąd logowania OAuth2" oauth2InvalidUserInfoResponse = "Niewłaściwe dane logowania" oauth2invalidRequest = "Nieprawidłowe żądanie" @@ -3533,7 +3552,7 @@ title = "PDF do pojedyńczej strony" header = "PDF do pojedyńczej strony" submit = "Zapisz dokument jako PDF z jedną stroną" description = "To narzędzie scali wszystkie strony Twojego PDF w jedną dużą stronę. Szerokość pozostanie taka jak w oryginalnych stronach, a wysokość będzie sumą wysokości wszystkich stron." -filenamePrefix = "single_page" +filenamePrefix = "pojedyncza_strona" [pdfToSinglePage.files] placeholder = "Wybierz plik PDF w widoku głównym, aby rozpocząć" @@ -3846,14 +3865,17 @@ fitToWidth = "Dopasuj do szerokości" actualSize = "Rzeczywisty rozmiar" [viewer] +cannotPreviewFile = "Nie można wyświetlić podglądu pliku" +dualPageView = "Widok dwóch stron" firstPage = "Pierwsza strona" lastPage = "Ostatnia strona" -previousPage = "Poprzednia strona" nextPage = "Następna strona" +onlyPdfSupported = "Przeglądarka obsługuje tylko pliki PDF. Ten plik wydaje się mieć inny format." +previousPage = "Poprzednia strona" +singlePageView = "Widok pojedynczej strony" +unknownFile = "Nieznany plik" zoomIn = "Powiększ" zoomOut = "Pomniejsz" -singlePageView = "Widok pojedynczej strony" -dualPageView = "Widok dwóch stron" [rightRail] closeSelected = "Zamknij wybrane pliki" @@ -3877,6 +3899,7 @@ toggleSidebar = "Przełącz panel boczny" exportSelected = "Eksportuj wybrane strony" toggleAnnotations = "Przełącz widoczność adnotacji" annotationMode = "Przełącz tryb adnotacji" +print = "Drukuj PDF" draw = "Rysuj" save = "Zapisz" saveChanges = "Zapisz zmiany" @@ -4153,7 +4176,7 @@ description = "Śledź działania użytkowników i zdarzenia systemowe na potrze [admin.settings.security.audit.level] label = "Poziom audytu" -description = "0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE" +description = "0=WYŁ., 1=PODSTAWOWY, 2=STANDARDOWY, 3=SZCZEGÓŁOWY" [admin.settings.security.audit.retentionDays] label = "Przechowywanie audytu (dni)" @@ -4494,6 +4517,7 @@ description = "URL lub nazwa pliku do impressum (wymagane w niektórych jurysdyk title = "Premium i Enterprise" description = "Skonfiguruj swój klucz licencyjny premium lub enterprise." license = "Konfiguracja licencji" +noInput = "Podaj klucz licencyjny lub plik" [admin.settings.premium.licenseKey] toggle = "Masz klucz licencyjny lub plik certyfikatu?" @@ -4511,6 +4535,25 @@ line1 = "Nadpisania bieżącego klucza licencyjnego nie można cofnąć." line2 = "Poprzednia licencja zostanie trwale utracona, jeśli nie masz jej kopii zapasowej." line3 = "Ważne: przechowuj klucze licencyjne prywatnie i bezpiecznie. Nigdy nie udostępniaj ich publicznie." +[admin.settings.premium.inputMethod] +text = "Klucz licencyjny" +file = "Plik certyfikatu" + +[admin.settings.premium.file] +label = "Plik certyfikatu licencji" +description = "Prześlij swój plik licencji .lic lub .cert z zakupów offline" +choose = "Wybierz plik licencji" +selected = "Wybrano: {{filename}} ({{size}})" +successMessage = "Plik licencji przesłano i pomyślnie aktywowano. Ponowne uruchomienie nie jest wymagane." + +[admin.settings.premium.currentLicense] +title = "Aktywna licencja" +file = "Źródło: plik licencji ({{path}})" +key = "Źródło: klucz licencyjny" +type = "Typ: {{type}}" +noInput = "Podaj klucz licencyjny lub prześlij plik certyfikatu" +success = "Sukces" + [admin.settings.premium.enabled] label = "Włącz funkcje premium" description = "Włącz weryfikację klucza licencyjnego dla funkcji pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} wybrane" download = "Pobierz" delete = "usuń" unsupported = "Nieobsługiwane" +active = "Aktywny" addToUpload = "Dodaj do przesyłania" +closeFile = "Zamknij plik" deleteAll = "Usuń wszystko" loadingFiles = "Ładowanie plików..." noFiles = "Brak dostępnych plików" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Wymagany jest co najmniej jeden adres e‑mail" submit = "Wyślij zaproszenia" success = "Pomyślnie zaproszono użytkowników" -partialSuccess = "Niektóre zaproszenia nie powiodły się" +partialFailure = "Niektóre zaproszenia nie powiodły się" allFailed = "Nie udało się zaprosić użytkowników" error = "Nie udało się wysłać zaproszeń" @@ -5797,6 +5842,13 @@ submit = "Zaloguj" signInWith = "Zaloguj przez" oauthPending = "Otwieranie przeglądarki do uwierzytelnienia..." orContinueWith = "Lub kontynuuj e‑mailem" +serverRequirement = "Uwaga: Na serwerze musi być włączone logowanie." +showInstructions = "Jak włączyć?" +hideInstructions = "Ukryj instrukcje" +instructions = "Aby włączyć logowanie na swoim serwerze Stirling PDF:" +instructionsEnvVar = "Ustaw zmienną środowiskową:" +instructionsOrYml = "Lub w settings.yml:" +instructionsRestart = "Następnie uruchom ponownie serwer, aby zmiany zaczęły obowiązywać." [setup.login.username] label = "Nazwa użytkownika" @@ -5840,7 +5892,7 @@ paragraph = "Strona akapitowa" sparse = "Rzadki tekst" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automatycznie" paragraph = "Akapit" singleLine = "Pojedyncza linia" diff --git a/frontend/public/locales/pt-BR/translation.toml b/frontend/public/locales/pt-BR/translation.toml index 76dff8f2d..baaa4215b 100644 --- a/frontend/public/locales/pt-BR/translation.toml +++ b/frontend/public/locales/pt-BR/translation.toml @@ -131,7 +131,7 @@ unsupported = "Não suportado" [toolPanel] placeholder = "Escolha uma ferramenta para começar" -alpha = "Alpha" +alpha = "Alfa" premiumFeature = "Recurso premium:" comingSoon = "Em breve:" @@ -163,6 +163,11 @@ unfavorite = "Remover dos favoritos" fullscreen = "Alternar para modo tela cheia" sidebar = "Alternar para modo barra lateral" +[backendStartup] +notFoundTitle = "Backend não encontrado" +retry = "Tentar novamente" +unreachable = "No momento, o aplicativo não consegue se conectar ao backend. Verifique o status do backend e a conectividade de rede e tente novamente." + [zipWarning] title = "Arquivo ZIP grande" message = "Este ZIP contém {{count}} arquivos. Extrair mesmo assim?" @@ -912,6 +917,9 @@ desc = "Crie fluxos de trabalho de várias etapas encadeando ações de PDF. Ide desc = "Sobrepor um PDF sobre outro" title = "Sobrepor PDFs" +[home.pdfTextEditor] +title = "Editor de Texto em PDF" +desc = "Edite texto e imagens existentes em PDFs" [home.addText] tags = "texto,anotação,rótulo" @@ -1217,7 +1225,7 @@ odtExt = "Texto OpenDocument (.odt)" pptExt = "PowerPoint (.pptx)" odpExt = "Apresentação OpenDocument (.odp)" txtExt = "Texto simples (.txt)" -rtfExt = "Rich Text Format (.rtf)" +rtfExt = "Formato Rich Text (.rtf)" selectedFiles = "Arquivos selecionados" noFileSelected = "Nenhum arquivo selecionado. Use o painel de arquivos para adicionar arquivos." convertFiles = "Converter arquivos" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Assinatura desenhada" defaultImageLabel = "Assinatura enviada" defaultTextLabel = "Assinatura digitada" saveButton = "Salvar assinatura" +savePersonal = "Salvar pessoal" +saveShared = "Salvar compartilhado" saveUnavailable = "Crie uma assinatura primeiro para salvá-la." noChanges = "A assinatura atual já está salva." +tempStorageTitle = "Armazenamento temporário do navegador" +tempStorageDescription = "As assinaturas são armazenadas apenas no seu navegador. Elas serão perdidas se você limpar os dados do navegador ou trocar de navegador." +personalHeading = "Assinaturas pessoais" +sharedHeading = "Assinaturas compartilhadas" +personalDescription = "Somente você pode ver essas assinaturas." +sharedDescription = "Todos os usuários podem ver e usar essas assinaturas." [sign.saved.type] canvas = "Desenho" @@ -3438,6 +3454,9 @@ signinTitle = "Por favor, inicie a sessão" ssoSignIn = "Iniciar sessão através de login único (SSO)" oAuth2AutoCreateDisabled = "Auto-Criar Usuário OAUTH2 Desativado" oAuth2AdminBlockedUser = "O registro ou login de usuários não registrados está atualmente bloqueado. Entre em contato com o administrador." +oAuth2RequiresLicense = "O login via OAuth/SSO requer uma licença paga (Server ou Enterprise). Entre em contato com o administrador para atualizar seu plano." +saml2RequiresLicense = "O login via SAML requer uma licença paga (Server ou Enterprise). Entre em contato com o administrador para atualizar seu plano." +maxUsersReached = "Número máximo de usuários atingido para sua licença atual. Entre em contato com o administrador para atualizar seu plano ou adicionar mais assentos." oauth2RequestNotFound = "Solicitação de autorização não encontrada" oauth2InvalidUserInfoResponse = "Resposta de informação de usuário inválida" oauth2invalidRequest = "Requisição Inválida" @@ -3846,14 +3865,17 @@ fitToWidth = "Ajustar à largura" actualSize = "Tamanho real" [viewer] +cannotPreviewFile = "Não é possível visualizar o arquivo" +dualPageView = "Visualização de duas páginas" firstPage = "Primeira página" lastPage = "Última página" -previousPage = "Página anterior" nextPage = "Próxima página" +onlyPdfSupported = "O visualizador oferece suporte apenas a arquivos PDF. Este arquivo parece estar em um formato diferente." +previousPage = "Página anterior" +singlePageView = "Visualização de página única" +unknownFile = "Arquivo desconhecido" zoomIn = "Ampliar" zoomOut = "Reduzir" -singlePageView = "Visualização de página única" -dualPageView = "Visualização de duas páginas" [rightRail] closeSelected = "Fechar arquivos selecionados" @@ -3877,6 +3899,7 @@ toggleSidebar = "Alternar barra lateral" exportSelected = "Exportar páginas selecionadas" toggleAnnotations = "Alternar visibilidade das anotações" annotationMode = "Alternar modo de anotação" +print = "Imprimir PDF" draw = "Desenhar" save = "Salvar" saveChanges = "Salvar alterações" @@ -3925,7 +3948,7 @@ files = "Arquivos" activity = "Ativ." help = "Ajuda" account = "Conta" -config = "Config" +config = "Configurações" settings = "Ajustes" adminSettings = "Ajustes admin" allTools = "Ferram." @@ -4153,7 +4176,7 @@ description = "Rastrear ações do usuário e eventos do sistema para conformida [admin.settings.security.audit.level] label = "Nível de auditoria" -description = "0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE" +description = "0=DESLIGADO, 1=BÁSICO, 2=PADRÃO, 3=DETALHADO" [admin.settings.security.audit.retentionDays] label = "Retenção de auditoria (dias)" @@ -4235,11 +4258,11 @@ label = "URL do emissor" description = "A URL do emissor do provedor OAuth2" [admin.settings.connections.oauth2.clientId] -label = "Client ID" +label = "ID do cliente" description = "O Client ID do OAuth2 do seu provedor" [admin.settings.connections.oauth2.clientSecret] -label = "Client Secret" +label = "Segredo do cliente" description = "O Client Secret do OAuth2 do seu provedor" [admin.settings.connections.oauth2.useAsUsername] @@ -4494,6 +4517,7 @@ description = "URL ou nome de arquivo do impressum (exigido em algumas jurisdiç title = "Premium e Enterprise" description = "Configurar sua chave de licença premium ou enterprise." license = "Configuração de licença" +noInput = "Forneça uma chave ou arquivo de licença" [admin.settings.premium.licenseKey] toggle = "Tem uma chave de licença ou arquivo de certificado?" @@ -4511,6 +4535,25 @@ line1 = "Substituir sua chave de licença atual não pode ser desfeito." line2 = "Sua licença anterior será perdida permanentemente, a menos que você tenha um backup em outro lugar." line3 = "Importante: mantenha chaves de licença privadas e seguras. Nunca as compartilhe publicamente." +[admin.settings.premium.inputMethod] +text = "Chave de licença" +file = "Arquivo de certificado" + +[admin.settings.premium.file] +label = "Arquivo de certificado de licença" +description = "Faça upload do seu arquivo de licença .lic ou .cert de compras offline" +choose = "Escolher arquivo de licença" +selected = "Selecionado: {{filename}} ({{size}})" +successMessage = "Arquivo de licença enviado e ativado com sucesso. Não é necessário reiniciar." + +[admin.settings.premium.currentLicense] +title = "Licença ativa" +file = "Origem: arquivo de licença ({{path}})" +key = "Origem: chave de licença" +type = "Tipo: {{type}}" +noInput = "Forneça uma chave de licença ou envie um arquivo de certificado" +success = "Sucesso" + [admin.settings.premium.enabled] label = "Habilitar recursos Premium" description = "Habilitar verificação de chave de licença para recursos pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} selecionado(s)" download = "Baixar (JSON)" delete = "Apagar" unsupported = "Não suportado" +active = "Ativo" addToUpload = "Adicionar ao upload" +closeFile = "Fechar arquivo" deleteAll = "Excluir tudo" loadingFiles = "Carregando arquivos..." noFiles = "Nenhum arquivo disponível" @@ -5178,7 +5223,7 @@ active = "Ativo" disabled = "Desativado" activeSession = "Sessão ativa" member = "Membro" -admin = "Admin" +admin = "Administrador" editRole = "Editar função" enable = "Ativar" disable = "Desativar" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Ao menos um endereço de email é obrigatório" submit = "Enviar convites" success = "usuário(s) convidado(s) com sucesso" -partialSuccess = "Alguns convites falharam" +partialFailure = "Alguns convites falharam" allFailed = "Falha ao convidar usuários" error = "Falha ao enviar convites" @@ -5797,13 +5842,20 @@ submit = "Login" signInWith = "Entrar com" oauthPending = "Abrindo o navegador para autenticação..." orContinueWith = "Ou continue com e-mail" +serverRequirement = "Observação: o servidor deve ter o login ativado." +showInstructions = "Como ativar?" +hideInstructions = "Ocultar instruções" +instructions = "Para ativar o login no seu servidor Stirling PDF:" +instructionsEnvVar = "Defina a variável de ambiente:" +instructionsOrYml = "Ou em settings.yml:" +instructionsRestart = "Em seguida, reinicie o servidor para que as alterações entrem em vigor." [setup.login.username] label = "Usuário" placeholder = "Digite seu usuário" [setup.login.email] -label = "Email" +label = "E-mail" placeholder = "Digite seu e-mail" [setup.login.password] @@ -5840,7 +5892,7 @@ paragraph = "Página de parágrafos" sparse = "Texto esparso" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automático" paragraph = "Parágrafo" singleLine = "Linha única" diff --git a/frontend/public/locales/pt-PT/translation.toml b/frontend/public/locales/pt-PT/translation.toml index e530345e6..0691f5f35 100644 --- a/frontend/public/locales/pt-PT/translation.toml +++ b/frontend/public/locales/pt-PT/translation.toml @@ -131,7 +131,7 @@ unsupported = "Não suportado" [toolPanel] placeholder = "Escolha uma ferramenta para começar" -alpha = "Alpha" +alpha = "Alfa" premiumFeature = "Funcionalidade premium:" comingSoon = "Em breve:" @@ -163,6 +163,11 @@ unfavorite = "Remover dos favoritos" fullscreen = "Mudar para modo de ecrã inteiro" sidebar = "Mudar para modo de barra lateral" +[backendStartup] +notFoundTitle = "Backend não encontrado" +retry = "Tentar novamente" +unreachable = "A aplicação não consegue ligar-se ao backend neste momento. Verifique o estado do backend e a conectividade de rede e tente novamente." + [zipWarning] title = "Ficheiro ZIP grande" message = "Este ZIP contém {{count}} ficheiros. Extrair mesmo assim?" @@ -364,12 +369,12 @@ usageAnalytics = "Análise de utilização" [settings.policiesPrivacy] title = "Políticas e Privacidade" -legal = "Legal" +legal = "Jurídico" privacy = "Privacidade" [settings.developer] title = "Programador" -apiKeys = "API Keys" +apiKeys = "Chaves de API" [settings.tooltips] enableLoginFirst = "Ative primeiro o modo de login" @@ -912,6 +917,9 @@ desc = "Crie fluxos de trabalho de vários passos encadeando ações de PDF. Ide desc = "Sobrepõe PDFs em cima de outro PDF" title = "Sobrepor PDFs" +[home.pdfTextEditor] +title = "Editor de texto de PDF" +desc = "Edite texto e imagens existentes dentro de PDFs" [home.addText] tags = "texto,anotação,etiqueta" @@ -1217,7 +1225,7 @@ odtExt = "Texto OpenDocument (.odt)" pptExt = "PowerPoint (.pptx)" odpExt = "Apresentação OpenDocument (.odp)" txtExt = "Texto simples (.txt)" -rtfExt = "Rich Text Format (.rtf)" +rtfExt = "Formato de Texto Enriquecido (.rtf)" selectedFiles = "Ficheiros selecionados" noFileSelected = "Nenhum ficheiro selecionado. Use o painel de ficheiros para adicionar ficheiros." convertFiles = "Converter ficheiros" @@ -1360,7 +1368,7 @@ title = "Adicionar Marca de Água" desc = "Adicionar marcas de água de texto ou imagem a ficheiros PDF" completed = "Marca de água adicionada" submit = "Adicionar Marca de Água" -filenamePrefix = "watermarked" +filenamePrefix = "com-marca-de-água" [watermark.error] failed = "Ocorreu um erro ao adicionar a marca de água ao PDF." @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Assinatura desenhada" defaultImageLabel = "Assinatura carregada" defaultTextLabel = "Assinatura digitada" saveButton = "Guardar assinatura" +savePersonal = "Guardar como pessoal" +saveShared = "Guardar como partilhada" saveUnavailable = "Crie primeiro uma assinatura para a guardar." noChanges = "A assinatura atual já está guardada." +tempStorageTitle = "Armazenamento temporário do navegador" +tempStorageDescription = "As assinaturas são armazenadas apenas no seu navegador. Serão perdidas se limpar os dados do navegador ou mudar de navegador." +personalHeading = "Assinaturas pessoais" +sharedHeading = "Assinaturas partilhadas" +personalDescription = "Apenas você pode ver estas assinaturas." +sharedDescription = "Todos os utilizadores podem ver e usar estas assinaturas." [sign.saved.type] canvas = "Desenho" @@ -2841,7 +2857,7 @@ label = "Fator de escala" [adjustPageScale.pageSize] label = "Tamanho da página de destino" keep = "Manter tamanho original" -letter = "Letter" +letter = "Carta" legal = "Legal" [adjustPageScale.error] @@ -3438,6 +3454,9 @@ signinTitle = "Por favor inicie sessão" ssoSignIn = "Iniciar sessão via Single Sign-On" oAuth2AutoCreateDisabled = "Criação Automática de Utilizador OAUTH2 Desativada" oAuth2AdminBlockedUser = "O registo ou login de utilizadores não registados está atualmente bloqueado. Por favor contacte o administrador." +oAuth2RequiresLicense = "O início de sessão via OAuth/SSO requer uma licença paga (Server ou Enterprise). Contacte o administrador para atualizar o seu plano." +saml2RequiresLicense = "O início de sessão SAML requer uma licença paga (Server ou Enterprise). Contacte o administrador para atualizar o seu plano." +maxUsersReached = "Foi atingido o número máximo de utilizadores da sua licença atual. Contacte o administrador para atualizar o seu plano ou adicionar mais lugares." oauth2RequestNotFound = "Pedido de autorização não encontrado" oauth2InvalidUserInfoResponse = "Resposta de Informação de Utilizador Inválida" oauth2invalidRequest = "Pedido Inválido" @@ -3846,14 +3865,17 @@ fitToWidth = "Ajustar à largura" actualSize = "Tamanho real" [viewer] +cannotPreviewFile = "Não é possível pré-visualizar o ficheiro" +dualPageView = "Vista de duas páginas" firstPage = "Primeira página" lastPage = "Última página" -previousPage = "Página anterior" nextPage = "Página seguinte" +onlyPdfSupported = "O visualizador só suporta ficheiros PDF. Este ficheiro parece ter um formato diferente." +previousPage = "Página anterior" +singlePageView = "Vista de página única" +unknownFile = "Ficheiro desconhecido" zoomIn = "Ampliar" zoomOut = "Reduzir" -singlePageView = "Vista de página única" -dualPageView = "Vista de duas páginas" [rightRail] closeSelected = "Fechar ficheiros selecionados" @@ -3877,6 +3899,7 @@ toggleSidebar = "Alternar barra lateral" exportSelected = "Exportar páginas selecionadas" toggleAnnotations = "Alternar visibilidade das anotações" annotationMode = "Alternar modo de anotação" +print = "Imprimir PDF" draw = "Desenhar" save = "Guardar" saveChanges = "Guardar alterações" @@ -4494,6 +4517,7 @@ description = "URL ou nome de ficheiro para o impressum (obrigatório em algumas title = "Premium e Enterprise" description = "Configurar a sua chave de licença premium ou enterprise." license = "Configuração de licença" +noInput = "Forneça uma chave ou ficheiro de licença" [admin.settings.premium.licenseKey] toggle = "Tem uma chave de licença ou ficheiro de certificado?" @@ -4511,6 +4535,25 @@ line1 = "Sobrescrever a sua chave de licença atual não pode ser anulado." line2 = "A sua licença anterior será perdida permanentemente, a menos que a tenha guardado noutro local." line3 = "Importante: mantenha as chaves de licença privadas e seguras. Nunca as partilhe publicamente." +[admin.settings.premium.inputMethod] +text = "Chave de licença" +file = "Ficheiro de certificado" + +[admin.settings.premium.file] +label = "Ficheiro de certificado de licença" +description = "Carregue o seu ficheiro de licença .lic ou .cert de compras offline" +choose = "Escolher ficheiro de licença" +selected = "Selecionado: {{filename}} ({{size}})" +successMessage = "Ficheiro de licença carregado e ativado com sucesso. Não é necessário reiniciar." + +[admin.settings.premium.currentLicense] +title = "Licença ativa" +file = "Origem: ficheiro de licença ({{path}})" +key = "Origem: chave de licença" +type = "Tipo: {{type}}" +noInput = "Forneça uma chave de licença ou carregue um ficheiro de certificado" +success = "Sucesso" + [admin.settings.premium.enabled] label = "Ativar funcionalidades premium" description = "Ativar verificações de chave de licença para funcionalidades pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} selecionado(s)" download = "Transferir" delete = "Eliminar" unsupported = "Não suportado" +active = "Ativo" addToUpload = "Adicionar ao carregamento" +closeFile = "Fechar ficheiro" deleteAll = "Eliminar tudo" loadingFiles = "A carregar ficheiros..." noFiles = "Não há ficheiros disponíveis" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "É necessário pelo menos um endereço de email" submit = "Enviar convites" success = "utilizador(es) convidado(s) com sucesso" -partialSuccess = "Alguns convites falharam" +partialFailure = "Alguns convites falharam" allFailed = "Falha ao convidar utilizadores" error = "Falha ao enviar convites" @@ -5282,7 +5327,7 @@ submit = "Gerar link de convite" [workspace.people.inviteMode] username = "Nome de utilizador" email = "Email" -link = "Link" +link = "Ligação" emailDisabled = "Convites por email requerem configuração de SMTP e mail.enableInvites=true nas definições" [workspace.people.license] @@ -5797,6 +5842,13 @@ submit = "Iniciar sessão" signInWith = "Iniciar sessão com" oauthPending = "A abrir o navegador para autenticação..." orContinueWith = "Ou continuar com email" +serverRequirement = "Nota: O servidor deve ter o início de sessão ativado." +showInstructions = "Como ativar?" +hideInstructions = "Ocultar instruções" +instructions = "Para ativar o início de sessão no seu servidor Stirling PDF:" +instructionsEnvVar = "Defina a variável de ambiente:" +instructionsOrYml = "Ou em settings.yml:" +instructionsRestart = "Em seguida, reinicie o servidor para que as alterações tenham efeito." [setup.login.username] label = "Nome de utilizador" @@ -5840,7 +5892,7 @@ paragraph = "Página de parágrafos" sparse = "Texto disperso" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automático" paragraph = "Parágrafo" singleLine = "Linha única" @@ -5932,7 +5984,7 @@ warnings = "Avisos" suggestions = "Notas" currentPageFonts = "Fontes nesta página" allFonts = "Todas as fontes" -fallback = "fallback" +fallback = "alternativa" missing = "em falta" perfectMessage = "Todas as fontes podem ser reproduzidas na perfeição." warningMessage = "Algumas fontes podem não ser renderizadas corretamente." diff --git a/frontend/public/locales/ro-RO/translation.toml b/frontend/public/locales/ro-RO/translation.toml index 57c2ce481..c323b3354 100644 --- a/frontend/public/locales/ro-RO/translation.toml +++ b/frontend/public/locales/ro-RO/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Eliminați din favorite" fullscreen = "Comutați la modul ecran complet" sidebar = "Comutați la modul bară laterală" +[backendStartup] +notFoundTitle = "Backend negăsit" +retry = "Reîncearcă" +unreachable = "Aplicația nu se poate conecta în prezent la backend. Verificați starea backend-ului și conexiunea la rețea, apoi încercați din nou." + [zipWarning] title = "Fișier ZIP mare" message = "Acest ZIP conține {{count}} fișiere. Extrageți oricum?" @@ -912,6 +917,9 @@ desc = "Construiți fluxuri cu mai mulți pași legând acțiuni PDF. Ideal pent desc = "Suprapune PDF-uri peste alt PDF" title = "Suprapune PDF-uri" +[home.pdfTextEditor] +title = "Editor de text PDF" +desc = "Editați textul și imaginile existente în PDF-uri" [home.addText] tags = "text,anotare,etichetă" @@ -1213,11 +1221,11 @@ pdfaDigitalSignatureWarning = "PDF-ul conține o semnătură digitală. Aceasta fileFormat = "Format fișier" wordDoc = "Document Word" wordDocExt = "Document Word (.docx)" -odtExt = "OpenDocument Text (.odt)" +odtExt = "Text OpenDocument (.odt)" pptExt = "PowerPoint (.pptx)" -odpExt = "OpenDocument Presentation (.odp)" +odpExt = "Prezentare OpenDocument (.odp)" txtExt = "Text simplu (.txt)" -rtfExt = "Rich Text Format (.rtf)" +rtfExt = "Format Rich Text (.rtf)" selectedFiles = "Fișiere selectate" noFileSelected = "Niciun fișier selectat. Folosiți panoul de fișiere pentru a adăuga fișiere." convertFiles = "Convertiți fișiere" @@ -1395,7 +1403,7 @@ height = "Spațiere pe înălțime" width = "Spațiere pe lățime" [watermark.alphabet] -roman = "Roman/Latin" +roman = "Romano/Latin" arabic = "Arabă" japanese = "Japoneză" korean = "Coreeană" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Semnătură desenată" defaultImageLabel = "Semnătură încărcată" defaultTextLabel = "Semnătură tastată" saveButton = "Salvează semnătura" +savePersonal = "Salvați ca personal" +saveShared = "Salvați ca partajat" saveUnavailable = "Creează mai întâi o semnătură pentru a o salva." noChanges = "Semnătura curentă este deja salvată." +tempStorageTitle = "Stocare temporară în browser" +tempStorageDescription = "Semnăturile sunt stocate doar în browserul dvs. Vor fi pierdute dacă ștergeți datele browserului sau schimbați browserul." +personalHeading = "Semnături personale" +sharedHeading = "Semnături partajate" +personalDescription = "Doar dvs. puteți vedea aceste semnături." +sharedDescription = "Toți utilizatorii pot vedea și utiliza aceste semnături." [sign.saved.type] canvas = "Desen" @@ -3438,6 +3454,9 @@ signinTitle = "Te rugăm să te autentifici" ssoSignIn = "Conectare prin conectare unică" oAuth2AutoCreateDisabled = "OAUTH2 Creare automată utilizator dezactivată" oAuth2AdminBlockedUser = "Înregistrarea sau conectarea utilizatorilor neînregistrați este în prezent blocată. Te rugăm să contactezi administratorul." +oAuth2RequiresLicense = "Autentificarea OAuth/SSO necesită o licență plătită (Server sau Enterprise). Contactați administratorul pentru a vă actualiza planul." +saml2RequiresLicense = "Autentificarea SAML necesită o licență plătită (Server sau Enterprise). Contactați administratorul pentru a vă actualiza planul." +maxUsersReached = "Numărul maxim de utilizatori a fost atins pentru licența curentă. Contactați administratorul pentru a vă actualiza planul sau pentru a adăuga mai multe locuri." oauth2RequestNotFound = "Cererea de autorizare nu a fost găsită" oauth2InvalidUserInfoResponse = "Răspuns Invalid la Informațiile Utilizatorului" oauth2invalidRequest = "Cerere Invalidă" @@ -3846,14 +3865,17 @@ fitToWidth = "Potriviți la lățime" actualSize = "Dimensiune reală" [viewer] +cannotPreviewFile = "Nu se poate previzualiza fișierul" +dualPageView = "Vizualizare cu două pagini" firstPage = "Prima pagină" lastPage = "Ultima pagină" -previousPage = "Pagina anterioară" nextPage = "Pagina următoare" +onlyPdfSupported = "Vizualizatorul acceptă doar fișiere PDF. Acest fișier pare a fi într-un format diferit." +previousPage = "Pagina anterioară" +singlePageView = "Vizualizare cu o singură pagină" +unknownFile = "Fișier necunoscut" zoomIn = "Măriți" zoomOut = "Micșorați" -singlePageView = "Vizualizare cu o singură pagină" -dualPageView = "Vizualizare cu două pagini" [rightRail] closeSelected = "Închideți fișierele selectate" @@ -3877,6 +3899,7 @@ toggleSidebar = "Comutați bara laterală" exportSelected = "Exportați paginile selectate" toggleAnnotations = "Comutați vizibilitatea adnotărilor" annotationMode = "Comutați modul de adnotare" +print = "Imprimați PDF" draw = "Desenați" save = "Salvați" saveChanges = "Salvați modificările" @@ -4494,6 +4517,7 @@ description = "URL sau nume de fișier către impressum (necesar în unele juris title = "Premium și Enterprise" description = "Configurați cheia de licență premium sau enterprise." license = "Configurare licență" +noInput = "Vă rugăm să furnizați o cheie sau un fișier de licență" [admin.settings.premium.licenseKey] toggle = "Ai o cheie de licență sau un fișier certificat?" @@ -4511,6 +4535,25 @@ line1 = "Suprascrierea cheii de licență curente nu poate fi anulată." line2 = "Licența anterioară va fi pierdută definitiv dacă nu ai o copie de rezervă." line3 = "Important: Păstrează cheile de licență private și în siguranță. Nu le distribui public." +[admin.settings.premium.inputMethod] +text = "Cheie de licență" +file = "Fișier de certificat" + +[admin.settings.premium.file] +label = "Fișier certificat de licență" +description = "Încărcați fișierul de licență .lic sau .cert din achizițiile offline" +choose = "Alegeți fișierul de licență" +selected = "Selectat: {{filename}} ({{size}})" +successMessage = "Fișierul de licență a fost încărcat și activat cu succes. Nu este necesară repornirea." + +[admin.settings.premium.currentLicense] +title = "Licență activă" +file = "Sursă: Fișier de licență ({{path}})" +key = "Sursă: Cheie de licență" +type = "Tip: {{type}}" +noInput = "Vă rugăm să furnizați o cheie de licență sau să încărcați un fișier de certificat" +success = "Succes" + [admin.settings.premium.enabled] label = "Activează funcțiile Premium" description = "Activează verificările cheii de licență pentru funcțiile pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} selectate" download = "Descarcă" delete = "Șterge" unsupported = "Nesuportat" +active = "Activ" addToUpload = "Adăugați la încărcare" +closeFile = "Închide fișierul" deleteAll = "Ștergeți tot" loadingFiles = "Se încarcă fișierele..." noFiles = "Nu există fișiere disponibile" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Este necesară cel puțin o adresă de email" submit = "Trimiteți invitații" success = "utilizator(i) invitați cu succes" -partialSuccess = "Unele invitații au eșuat" +partialFailure = "Unele invitații au eșuat" allFailed = "Invitarea utilizatorilor a eșuat" error = "Trimiterea invitațiilor a eșuat" @@ -5380,7 +5425,7 @@ submit = "Schimbă echipa" currency = "Monedă" popular = "Popular" current = "Plan curent" -upgrade = "Upgrade" +upgrade = "Actualizează" contact = "Contactează-ne" customPricing = "Personalizat" showComparison = "Compară toate funcțiile" @@ -5797,6 +5842,13 @@ submit = "Autentificare" signInWith = "Autentifică-te cu" oauthPending = "Se deschide browserul pentru autentificare..." orContinueWith = "Sau continuă cu email" +serverRequirement = "Notă: Serverul trebuie să aibă autentificarea activată." +showInstructions = "Cum se activează?" +hideInstructions = "Ascunde instrucțiunile" +instructions = "Pentru a activa autentificarea pe serverul dvs. Stirling PDF:" +instructionsEnvVar = "Setați variabila de mediu:" +instructionsOrYml = "Sau în settings.yml:" +instructionsRestart = "Apoi reporniți serverul pentru ca modificările să intre în vigoare." [setup.login.username] label = "Utilizator" diff --git a/frontend/public/locales/ru-RU/translation.toml b/frontend/public/locales/ru-RU/translation.toml index 359bb5783..b72009fa6 100644 --- a/frontend/public/locales/ru-RU/translation.toml +++ b/frontend/public/locales/ru-RU/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Удалить из избранного" fullscreen = "Переключиться в полноэкранный режим" sidebar = "Переключиться в режим боковой панели" +[backendStartup] +notFoundTitle = "Серверная часть не найдена" +retry = "Повторить" +unreachable = "Приложение сейчас не может подключиться к серверной части. Проверьте состояние серверной части и подключение к сети, затем повторите попытку." + [zipWarning] title = "Большой ZIP-файл" message = "Этот ZIP содержит {{count}} файлов. Все равно извлечь?" @@ -912,6 +917,9 @@ desc = "Создавайте многошаговые процессы, связ desc = "Наложить один PDF поверх другого" title = "Наложение PDF" +[home.pdfTextEditor] +title = "Редактор текста PDF" +desc = "Редактируйте существующий текст и изображения внутри PDF-файлов" [home.addText] tags = "текст,аннотация,ярлык" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Рисованная подпись" defaultImageLabel = "Загруженная подпись" defaultTextLabel = "Введённая подпись" saveButton = "Сохранить подпись" +savePersonal = "Сохранить как личную" +saveShared = "Сохранить как общую" saveUnavailable = "Сначала создайте подпись, чтобы сохранить её." noChanges = "Текущая подпись уже сохранена." +tempStorageTitle = "Временное хранилище браузера" +tempStorageDescription = "Подписи сохраняются только в вашем браузере. Они будут потеряны, если вы очистите данные браузера или смените браузер." +personalHeading = "Личные подписи" +sharedHeading = "Общие подписи" +personalDescription = "Эти подписи видны только вам." +sharedDescription = "Все пользователи могут видеть и использовать эти подписи." [sign.saved.type] canvas = "Рисунок" @@ -3438,6 +3454,9 @@ signinTitle = "Пожалуйста, войдите" ssoSignIn = "Вход через единый вход" oAuth2AutoCreateDisabled = "Автоматическое создание пользователей OAuth2 отключено" oAuth2AdminBlockedUser = "Регистрация или вход незарегистрированных пользователей в настоящее время заблокированы. Обратитесь к администратору." +oAuth2RequiresLicense = "Вход через OAuth/SSO требует платную лицензию (Server или Enterprise). Пожалуйста, свяжитесь с администратором, чтобы обновить ваш план." +saml2RequiresLicense = "Вход через SAML требует платную лицензию (Server или Enterprise). Пожалуйста, свяжитесь с администратором, чтобы обновить ваш план." +maxUsersReached = "Достигнуто максимальное количество пользователей для вашей текущей лицензии. Пожалуйста, свяжитесь с администратором, чтобы обновить ваш план или добавить места." oauth2RequestNotFound = "Запрос авторизации не найден" oauth2InvalidUserInfoResponse = "Недействительный ответ с информацией о пользователе" oauth2invalidRequest = "Недействительный запрос" @@ -3846,14 +3865,17 @@ fitToWidth = "По ширине" actualSize = "Фактический размер" [viewer] +cannotPreviewFile = "Не удаётся просмотреть файл" +dualPageView = "Двухстраничный вид" firstPage = "Первая страница" lastPage = "Последняя страница" -previousPage = "Предыдущая страница" nextPage = "Следующая страница" +onlyPdfSupported = "Просмотрщик поддерживает только PDF-файлы. Похоже, этот файл другого формата." +previousPage = "Предыдущая страница" +singlePageView = "Одностраничный вид" +unknownFile = "Неизвестный файл" zoomIn = "Увеличить" zoomOut = "Уменьшить" -singlePageView = "Одностраничный вид" -dualPageView = "Двухстраничный вид" [rightRail] closeSelected = "Закрыть выбранные файлы" @@ -3877,6 +3899,7 @@ toggleSidebar = "Показать/скрыть боковую панель" exportSelected = "Экспортировать выбранные страницы" toggleAnnotations = "Показать/скрыть аннотации" annotationMode = "Переключить режим аннотаций" +print = "Печать PDF" draw = "Рисовать" save = "Сохранить" saveChanges = "Сохранить изменения" @@ -4487,13 +4510,14 @@ label = "Политика cookie" description = "URL или имя файла для политики cookie" [admin.settings.legal.impressum] -label = "Impressum" +label = "Юридическая информация" description = "URL или имя файла для impressum (требуется в некоторых юрисдикциях)" [admin.settings.premium] title = "Премиум и Enterprise" description = "Настройте ключ лицензии премиум или enterprise." license = "Конфигурация лицензии" +noInput = "Укажите лицензионный ключ или файл" [admin.settings.premium.licenseKey] toggle = "Есть лицензионный ключ или файл сертификата?" @@ -4511,6 +4535,25 @@ line1 = "Перезапись текущего лицензионного клю line2 = "Предыдущая лицензия будет безвозвратно утеряна, если вы не сделали резервную копию где‑то ещё." line3 = "Важно: храните лицензионные ключи в секрете и безопасности. Никогда не публикуйте их." +[admin.settings.premium.inputMethod] +text = "Лицензионный ключ" +file = "Файл сертификата" + +[admin.settings.premium.file] +label = "Файл лицензионного сертификата" +description = "Загрузите файл лицензии .lic или .cert из офлайн-покупки" +choose = "Выберите файл лицензии" +selected = "Выбрано: {{filename}} ({{size}})" +successMessage = "Файл лицензии успешно загружен и активирован. Перезапуск не требуется." + +[admin.settings.premium.currentLicense] +title = "Активная лицензия" +file = "Источник: файл лицензии ({{path}})" +key = "Источник: лицензионный ключ" +type = "Тип: {{type}}" +noInput = "Укажите лицензионный ключ или загрузите файл сертификата" +success = "Успешно" + [admin.settings.premium.enabled] label = "Включить премиум-функции" description = "Включить проверку лицензии для pro/enterprise функций" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} выбрано" download = "Скачать" delete = "Удалить" unsupported = "Не поддерживается" +active = "Активный" addToUpload = "Добавить к загрузке" +closeFile = "Закрыть файл" deleteAll = "Удалить все" loadingFiles = "Загрузка файлов..." noFiles = "Нет доступных файлов" @@ -4964,7 +5009,7 @@ description = "Привяжите аккаунт, чтобы сохранить socialLogin = "Обновить через соцсеть" linkWith = "Привязать к" emailPassword = "или введите email и пароль" -email = "Email" +email = "Эл. почта" emailPlaceholder = "Введите ваш email" password = "Пароль (необязательно)" passwordPlaceholder = "Задайте пароль" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Требуется хотя бы один адрес email" submit = "Отправить приглашения" success = "Пользователи успешно приглашены" -partialSuccess = "Некоторые приглашения не отправлены" +partialFailure = "Некоторые приглашения не удалось отправить" allFailed = "Не удалось пригласить пользователей" error = "Не удалось отправить приглашения" @@ -5797,13 +5842,20 @@ submit = "Войти" signInWith = "Войти через" oauthPending = "Открываем браузер для аутентификации..." orContinueWith = "Или продолжить по email" +serverRequirement = "Примечание: на сервере должен быть включён вход в систему." +showInstructions = "Как включить?" +hideInstructions = "Скрыть инструкции" +instructions = "Чтобы включить вход в систему на вашем сервере Stirling PDF:" +instructionsEnvVar = "Установите переменную окружения:" +instructionsOrYml = "Или в settings.yml:" +instructionsRestart = "Затем перезапустите сервер, чтобы изменения вступили в силу." [setup.login.username] label = "Имя пользователя" placeholder = "Введите имя пользователя" [setup.login.email] -label = "Email" +label = "Эл. почта" placeholder = "Введите email" [setup.login.password] diff --git a/frontend/public/locales/sk-SK/translation.toml b/frontend/public/locales/sk-SK/translation.toml index 0b6633ff2..183112a67 100644 --- a/frontend/public/locales/sk-SK/translation.toml +++ b/frontend/public/locales/sk-SK/translation.toml @@ -99,7 +99,7 @@ visitGithub = "Navštíviť GitHub repozitár" donate = "Darovať" color = "Farba" sponsor = "Sponzorovať" -info = "Info" +info = "Informácie" pro = "Pro" page = "Strana" pages = "Strany" @@ -163,6 +163,11 @@ unfavorite = "Odstrániť z obľúbených" fullscreen = "Prepnúť na režim celej obrazovky" sidebar = "Prepnúť na režim bočného panela" +[backendStartup] +notFoundTitle = "Backend sa nenašiel" +retry = "Skúsiť znova" +unreachable = "Aplikácia sa momentálne nedokáže pripojiť k backendu. Overte stav backendu a sieťové pripojenie, potom to skúste znova." + [zipWarning] title = "Veľký ZIP súbor" message = "Tento ZIP obsahuje {{count}} súborov. Aj tak rozbaliť?" @@ -274,7 +279,7 @@ iAgreeToThe = "Súhlasím so všetkými" terms = "Podmienkami používania" accessibility = "Prístupnosť" cookie = "Zásady používania súborov cookie" -impressum = "Impressum" +impressum = "Impresum" showCookieBanner = "Predvoľby súborov cookie" [pipeline] @@ -513,7 +518,7 @@ syncToAccount = "Synchronizovať účet <- Prehliadač" [adminUserSettings] title = "Nastavenia kontroly používateľov" header = "Admin nastavenia kontroly používateľov" -admin = "Admin" +admin = "Administrátor" user = "Používateľ" addUser = "Pridať nového používateľa" deleteUser = "Odstrániť používateľa" @@ -912,6 +917,9 @@ desc = "Stavať viacstupňové pracovné postupy spájaním akcií PDF. Ideálne desc = "Prekrýva PDF súbory na iný PDF" title = "Prekrývanie PDF" +[home.pdfTextEditor] +title = "Editor textu PDF" +desc = "Upravujte existujúci text a obrázky v PDF" [home.addText] tags = "text,anotácia,štítok" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Kreslený podpis" defaultImageLabel = "Nahraný podpis" defaultTextLabel = "Napísaný podpis" saveButton = "Uložiť podpis" +savePersonal = "Uložiť osobné" +saveShared = "Uložiť zdieľané" saveUnavailable = "Najprv vytvorte podpis, aby ste ho mohli uložiť." noChanges = "Aktuálny podpis je už uložený." +tempStorageTitle = "Dočasné úložisko prehliadača" +tempStorageDescription = "Podpisy sú uložené iba vo vašom prehliadači. Pri vymazaní údajov prehliadača alebo pri zmene prehliadača sa stratia." +personalHeading = "Osobné podpisy" +sharedHeading = "Zdieľané podpisy" +personalDescription = "Tieto podpisy vidíte iba vy." +sharedDescription = "Všetci používatelia môžu tieto podpisy vidieť a používať." [sign.saved.type] canvas = "Kresba" @@ -3438,6 +3454,9 @@ signinTitle = "Prosím, prihláste sa" ssoSignIn = "Prihlásiť sa cez Single Sign-on" oAuth2AutoCreateDisabled = "Vytváranie používateľa cez OAUTH2 je zakázané" oAuth2AdminBlockedUser = "Registrácia alebo prihlasovanie neregistrovaných používateľov je momentálne blokované. Kontaktujte administrátora." +oAuth2RequiresLicense = "Prihlásenie cez OAuth/SSO vyžaduje platenú licenciu (Server alebo Enterprise). Obráťte sa na administrátora, aby aktualizoval váš plán." +saml2RequiresLicense = "Prihlásenie cez SAML vyžaduje platenú licenciu (Server alebo Enterprise). Obráťte sa na administrátora, aby aktualizoval váš plán." +maxUsersReached = "Bol dosiahnutý maximálny počet používateľov pre vašu aktuálnu licenciu. Obráťte sa na administrátora, aby aktualizoval váš plán alebo pridal ďalšie miesta." oauth2RequestNotFound = "Požiadavka na autorizáciu sa nenašla" oauth2InvalidUserInfoResponse = "Neplatná odpoveď User Info" oauth2invalidRequest = "Neplatná požiadavka" @@ -3771,7 +3790,7 @@ version = "Aktuálne vydanie" title = "Dokumentácia API" header = "Dokumentácia API" desc = "Zobraziť a testovať API endpointy Stirling PDF" -tags = "api,documentation,swagger,endpoints,development" +tags = "api,dokumentácia,swagger,endpointy,vývoj" [cookieBanner.popUp] title = "Ako používame súbory cookie" @@ -3846,14 +3865,17 @@ fitToWidth = "Prispôsobiť šírke" actualSize = "Skutočná veľkosť" [viewer] +cannotPreviewFile = "Nedá sa zobraziť náhľad súboru" +dualPageView = "Dvojstranové zobrazenie" firstPage = "Prvá strana" lastPage = "Posledná strana" -previousPage = "Predchádzajúca strana" nextPage = "Nasledujúca strana" +onlyPdfSupported = "Prehliadač podporuje iba súbory PDF. Tento súbor sa zdá byť iného formátu." +previousPage = "Predchádzajúca strana" +singlePageView = "Zobrazenie jednej strany" +unknownFile = "Neznámy súbor" zoomIn = "Priblížiť" zoomOut = "Oddialiť" -singlePageView = "Zobrazenie jednej strany" -dualPageView = "Dvojstranové zobrazenie" [rightRail] closeSelected = "Zavrieť vybrané súbory" @@ -3877,6 +3899,7 @@ toggleSidebar = "Prepnúť bočný panel" exportSelected = "Exportovať vybrané strany" toggleAnnotations = "Prepnúť zobrazenie anotácií" annotationMode = "Prepnúť režim anotácií" +print = "Vytlačiť PDF" draw = "Kresliť" save = "Uložiť" saveChanges = "Uložiť zmeny" @@ -4487,13 +4510,14 @@ label = "Zásady používania súborov cookie" description = "URL alebo názov súboru so zásadami používania súborov cookie" [admin.settings.legal.impressum] -label = "Impressum" +label = "Impresum" description = "URL alebo názov súboru k Impressu (požadované v niektorých jurisdikciách)" [admin.settings.premium] title = "Premium a Enterprise" description = "Nakonfigurujte svoj Premium alebo Enterprise licenčný kľúč." license = "Konfigurácia licencie" +noInput = "Zadajte licenčný kľúč alebo súbor" [admin.settings.premium.licenseKey] toggle = "Máte licenčný kľúč alebo súbor certifikátu?" @@ -4511,6 +4535,25 @@ line1 = "Prepísanie aktuálneho licenčného kľúča nemožno vrátiť späť. line2 = "Vaša predchádzajúca licencia bude natrvalo stratená, pokiaľ ju nemáte zálohovanú inde." line3 = "Dôležité: Licenčné kľúče uchovávajte súkromné a v bezpečí. Nikdy ich nezdieľajte verejne." +[admin.settings.premium.inputMethod] +text = "Licenčný kľúč" +file = "Súbor certifikátu" + +[admin.settings.premium.file] +label = "Súbor licenčného certifikátu" +description = "Nahrajte svoj licenčný súbor .lic alebo .cert z offline nákupu" +choose = "Vybrať licenčný súbor" +selected = "Vybrané: {{filename}} ({{size}})" +successMessage = "Licenčný súbor bol úspešne nahraný a aktivovaný. Reštart nie je potrebný." + +[admin.settings.premium.currentLicense] +title = "Aktívna licencia" +file = "Zdroj: Licenčný súbor ({{path}})" +key = "Zdroj: Licenčný kľúč" +type = "Typ: {{type}}" +noInput = "Zadajte licenčný kľúč alebo nahrajte súbor certifikátu" +success = "Úspech" + [admin.settings.premium.enabled] label = "Povoliť Premium funkcie" description = "Povoliť kontrolu licenčného kľúča pre pro/enterprise funkcie" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} vybraných" download = "Stiahnuť" delete = "Vymazať" unsupported = "Nepodporované" +active = "Aktívne" addToUpload = "Pridať na nahratie" +closeFile = "Zatvoriť súbor" deleteAll = "Odstrániť všetko" loadingFiles = "Načítavajú sa súbory..." noFiles = "Nie sú dostupné žiadne súbory" @@ -5178,7 +5223,7 @@ active = "Aktívny" disabled = "Zakázaný" activeSession = "Aktívna relácia" member = "Člen" -admin = "Admin" +admin = "Administrátor" editRole = "Upraviť rolu" enable = "Povoliť" disable = "Zakázať" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Vyžaduje sa aspoň jedna e-mailová adresa" submit = "Odoslať pozvánky" success = "Používatelia boli úspešne pozvaní" -partialSuccess = "Niektoré pozvánky zlyhali" +partialFailure = "Niektoré pozvánky zlyhali" allFailed = "Nepodarilo sa pozvať používateľov" error = "Nepodarilo sa odoslať pozvánky" @@ -5797,13 +5842,20 @@ submit = "Prihlásiť sa" signInWith = "Prihlásiť sa cez" oauthPending = "Otvára sa prehliadač na overenie..." orContinueWith = "Alebo pokračujte emailom" +serverRequirement = "Poznámka: Na serveri musí byť povolené prihlásenie." +showInstructions = "Ako povoliť?" +hideInstructions = "Skryť pokyny" +instructions = "Na povolenie prihlásenia na vašom serveri Stirling PDF:" +instructionsEnvVar = "Nastavte premennú prostredia:" +instructionsOrYml = "Alebo v súbore settings.yml:" +instructionsRestart = "Potom reštartujte server, aby sa zmeny prejavili." [setup.login.username] label = "Používateľské meno" placeholder = "Zadajte používateľské meno" [setup.login.email] -label = "Email" +label = "E-mail" placeholder = "Zadajte svoj email" [setup.login.password] @@ -5840,7 +5892,7 @@ paragraph = "Strana s odsekmi" sparse = "Riedky text" [pdfTextEditor.groupingMode] -auto = "Auto" +auto = "Automaticky" paragraph = "Odsek" singleLine = "Jeden riadok" diff --git a/frontend/public/locales/sl-SI/translation.toml b/frontend/public/locales/sl-SI/translation.toml index 36497b6a9..f8bc31492 100644 --- a/frontend/public/locales/sl-SI/translation.toml +++ b/frontend/public/locales/sl-SI/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Odstrani iz priljubljenih" fullscreen = "Preklopi na celozaslonski način" sidebar = "Preklopi na način stranske vrstice" +[backendStartup] +notFoundTitle = "Zaledje ni najdeno" +retry = "Poskusi znova" +unreachable = "Aplikacija se trenutno ne more povezati z zaledjem. Preverite stanje zaledja in omrežno povezavo, nato poskusite znova." + [zipWarning] title = "Velika datoteka ZIP" message = "Ta ZIP vsebuje {{count}} datotek. Vseeno razpakiram?" @@ -912,6 +917,9 @@ desc = "Sestavite večkorakovne poteke z veriženjem dejanj PDF. Idealno za pona desc = "Prekriva PDF-je na vrhu drugega PDF-ja" title = "Prekrivanje PDF-jev" +[home.pdfTextEditor] +title = "Urejevalnik besedila PDF" +desc = "Urejajte obstoječe besedilo in slike v PDF-jih" [home.addText] tags = "besedilo,pripomba,oznaka" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Narisan podpis" defaultImageLabel = "Naložen podpis" defaultTextLabel = "Vpisan podpis" saveButton = "Shrani podpis" +savePersonal = "Shrani osebno" +saveShared = "Shrani deljeno" saveUnavailable = "Najprej ustvarite podpis, da ga lahko shranite." noChanges = "Trenutni podpis je že shranjen." +tempStorageTitle = "Začasno shranjevanje v brskalniku" +tempStorageDescription = "Podpisi so shranjeni samo v vašem brskalniku. Izgubite jih, če počistite podatke brskalnika ali zamenjate brskalnik." +personalHeading = "Osebni podpisi" +sharedHeading = "Deljeni podpisi" +personalDescription = "Te podpise vidite samo vi." +sharedDescription = "Vsi uporabniki lahko te podpise vidijo in uporabljajo." [sign.saved.type] canvas = "Risba" @@ -3438,6 +3454,9 @@ signinTitle = "Prosim prijavite se" ssoSignIn = "Prijava prek enotne prijave" oAuth2AutoCreateDisabled = "OAUTH2 Samodejno ustvarjanje uporabnika onemogočeno" oAuth2AdminBlockedUser = "Registracija ali prijava neregistriranih uporabnikov je trenutno blokirana. Prosimo kontaktirajte skrbnika." +oAuth2RequiresLicense = "Prijava prek OAuth/SSO zahteva plačljivo licenco (Server ali Enterprise). Obrnite se na skrbnika, da nadgradi vaš načrt." +saml2RequiresLicense = "Prijava prek SAML zahteva plačljivo licenco (Server ali Enterprise). Obrnite se na skrbnika, da nadgradi vaš načrt." +maxUsersReached = "Doseženo je največje število uporabnikov za vašo trenutno licenco. Obrnite se na skrbnika, da nadgradi vaš načrt ali doda več mest." oauth2RequestNotFound = "Zahteva za avtorizacijo ni bila najdena" oauth2InvalidUserInfoResponse = "Neveljaven odgovor z informacijami o uporabniku" oauth2invalidRequest = "Neveljavna zahteva" @@ -3846,14 +3865,17 @@ fitToWidth = "Prilagodi širini" actualSize = "Dejanska velikost" [viewer] +cannotPreviewFile = "Predogled datoteke ni mogoč" +dualPageView = "Dvo-stranski pogled" firstPage = "Prva stran" lastPage = "Zadnja stran" -previousPage = "Prejšnja stran" nextPage = "Naslednja stran" +onlyPdfSupported = "Pregledovalnik podpira samo PDF datoteke. Ta datoteka je videti v drugačnem formatu." +previousPage = "Prejšnja stran" +singlePageView = "Enostranski pogled" +unknownFile = "Neznana datoteka" zoomIn = "Povečaj" zoomOut = "Pomanjšaj" -singlePageView = "Enostranski pogled" -dualPageView = "Dvo-stranski pogled" [rightRail] closeSelected = "Zapri izbrane datoteke" @@ -3877,6 +3899,7 @@ toggleSidebar = "Preklopi stransko vrstico" exportSelected = "Izvozi izbrane strani" toggleAnnotations = "Preklopi vidnost opomb" annotationMode = "Preklopi način opomb" +print = "Natisni PDF" draw = "Riši" save = "Shrani" saveChanges = "Shrani spremembe" @@ -4494,6 +4517,7 @@ description = "URL ali ime datoteke do impressuma (zahtevano v nekaterih jurisdi title = "Premium in Enterprise" description = "Konfigurirajte svoj ključ licence Premium ali Enterprise." license = "Konfiguracija licence" +noInput = "Navedite licenčni ključ ali datoteko" [admin.settings.premium.licenseKey] toggle = "Imate licenčni ključ ali potrdilno datoteko?" @@ -4511,6 +4535,25 @@ line1 = "Prepis trenutnega licenčnega ključa ni mogoče razveljaviti." line2 = "Prejšnja licenca bo trajno izgubljena, razen če ste jo varnostno kopirali drugje." line3 = "Pomembno: Licenčne ključe hranite zasebno in varno. Nikoli jih ne delite javno." +[admin.settings.premium.inputMethod] +text = "Licenčni ključ" +file = "Datoteka potrdila" + +[admin.settings.premium.file] +label = "Datoteka licenčnega potrdila" +description = "Naložite svojo licenčno datoteko .lic ali .cert iz nakupov brez povezave" +choose = "Izberite licenčno datoteko" +selected = "Izbrano: {{filename}} ({{size}})" +successMessage = "Licenčna datoteka je bila uspešno naložena in aktivirana. Ponovni zagon ni potreben." + +[admin.settings.premium.currentLicense] +title = "Aktivna licenca" +file = "Vir: licenčna datoteka ({{path}})" +key = "Vir: licenčni ključ" +type = "Vrsta: {{type}}" +noInput = "Navedite licenčni ključ ali naložite datoteko potrdila" +success = "Uspešno" + [admin.settings.premium.enabled] label = "Omogoči funkcije Premium" description = "Omogoči preverjanje licenčnega ključa za funkcije pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} izbranih" download = "Prenos" delete = "Izbriši" unsupported = "Nepodprto" +active = "Aktivno" addToUpload = "Dodaj k nalaganju" +closeFile = "Zapri datoteko" deleteAll = "Izbriši vse" loadingFiles = "Nalaganje datotek..." noFiles = "Ni razpoložljivih datotek" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Zahtevan je vsaj en e-poštni naslov" submit = "Pošlji povabila" success = "uporabnik(i) uspešno povabljen(i)" -partialSuccess = "Nekatera povabila niso uspela" +partialFailure = "Nekatera povabila niso uspela" allFailed = "Uporabnikov ni bilo mogoče povabiti" error = "Pošiljanje povabil ni uspelo" @@ -5797,6 +5842,13 @@ submit = "Prijava" signInWith = "Prijavite se z" oauthPending = "Odpiranje brskalnika za overjanje..." orContinueWith = "Ali nadaljujte z e-pošto" +serverRequirement = "Opomba: Strežnik mora imeti omogočeno prijavo." +showInstructions = "Kako omogočiti?" +hideInstructions = "Skrij navodila" +instructions = "Za omogočanje prijave na vašem strežniku Stirling PDF:" +instructionsEnvVar = "Nastavite okoljsko spremenljivko:" +instructionsOrYml = "Ali v settings.yml:" +instructionsRestart = "Nato znova zaženite strežnik, da spremembe začnejo veljati." [setup.login.username] label = "Uporabniško ime" diff --git a/frontend/public/locales/sr-LATN-RS/translation.toml b/frontend/public/locales/sr-LATN-RS/translation.toml index a24113123..fd433c25e 100644 --- a/frontend/public/locales/sr-LATN-RS/translation.toml +++ b/frontend/public/locales/sr-LATN-RS/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Ukloni iz omiljenog" fullscreen = "Prebaci na režim celog ekrana" sidebar = "Prebaci na režim bočne trake" +[backendStartup] +notFoundTitle = "Bekend nije pronađen" +retry = "Pokušaj ponovo" +unreachable = "Aplikacija trenutno ne može da se poveže sa bekendom. Proverite status bekenda i mrežnu povezanost, pa pokušajte ponovo." + [zipWarning] title = "Velika ZIP datoteka" message = "Ovaj ZIP sadrži {{count}} datoteka. Ipak raspakovati?" @@ -912,6 +917,9 @@ desc = "Gradite višekorake tokove rada povezivanjem PDF akcija. Idealno za pona desc = "Preklapa PDF-ove jedan preko drugog" title = "Preklapanje PDF-ova" +[home.pdfTextEditor] +title = "PDF uređivač teksta" +desc = "Uređujte postojeći tekst i slike unutar PDF-ova" [home.addText] tags = "tekst,anotacija,oznaka" @@ -1213,9 +1221,9 @@ pdfaDigitalSignatureWarning = "PDF sadrži digitalni potpis. Biće uklonjen u sl fileFormat = "Format datoteke" wordDoc = "Word dokument" wordDocExt = "Word dokument (.docx)" -odtExt = "OpenDocument Text (.odt)" +odtExt = "OpenDocument tekst (.odt)" pptExt = "PowerPoint (.pptx)" -odpExt = "OpenDocument Presentation (.odp)" +odpExt = "OpenDocument prezentacija (.odp)" txtExt = "Običan tekst (.txt)" rtfExt = "Rich Text Format (.rtf)" selectedFiles = "Izabrane datoteke" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Crtani potpis" defaultImageLabel = "Otpremljeni potpis" defaultTextLabel = "Ukucani potpis" saveButton = "Sačuvaj potpis" +savePersonal = "Sačuvaj lično" +saveShared = "Sačuvaj deljeno" saveUnavailable = "Prvo napravite potpis da biste ga sačuvali." noChanges = "Trenutni potpis je već sačuvan." +tempStorageTitle = "Privremeno skladište pregledača" +tempStorageDescription = "Potpisi se čuvaju samo u vašem pregledaču. Biće izgubljeni ako obrišete podatke pregledača ili promenite pregledač." +personalHeading = "Lični potpisi" +sharedHeading = "Deljeni potpisi" +personalDescription = "Samo vi možete da vidite ove potpise." +sharedDescription = "Svi korisnici mogu da vide i koriste ove potpise." [sign.saved.type] canvas = "Crtanje" @@ -2318,7 +2334,7 @@ title = "Ravnanje" header = "Ravnanje PDF fajlova" flattenOnlyForms = "Izravnaj samo forme" submit = "Ravnanje" -filenamePrefix = "flattened" +filenamePrefix = "spljošteno" [flatten.files] placeholder = "Izaberite PDF datoteku u glavnom prikazu da biste započeli" @@ -3438,6 +3454,9 @@ signinTitle = "Molimo vas da se prijavite" ssoSignIn = "Prijavite se putem jedinstvene prijave" oAuth2AutoCreateDisabled = "OAUTH2 automatsko kreiranje korisnika je onemogućeno" oAuth2AdminBlockedUser = "Registracija ili prijava neregistrovanog korisnika je trenutno onemogućeno. Kontaktirajte administratora." +oAuth2RequiresLicense = "Prijava putem OAuth/SSO zahteva plaćenu licencu (Server ili Enterprise). Kontaktirajte administratora da unapredi vaš plan." +saml2RequiresLicense = "Prijava putem SAML zahteva plaćenu licencu (Server ili Enterprise). Kontaktirajte administratora da unapredi vaš plan." +maxUsersReached = "Dostignut je maksimalni broj korisnika za vašu trenutnu licencu. Kontaktirajte administratora da unapredi vaš plan ili doda više mesta." oauth2RequestNotFound = "Zahtev za autorizaciju nije pronađen" oauth2InvalidUserInfoResponse = "Neispravan odgovor sa korisničkim informacijama" oauth2invalidRequest = "Neispravan zahtev" @@ -3846,14 +3865,17 @@ fitToWidth = "Uklopi po širini" actualSize = "Stvarna veličina" [viewer] +cannotPreviewFile = "Nije moguće pregledati datoteku" +dualPageView = "Prikaz dve stranice" firstPage = "Prva stranica" lastPage = "Poslednja stranica" -previousPage = "Prethodna stranica" nextPage = "Sledeća stranica" +onlyPdfSupported = "Prikazivač podržava samo PDF datoteke. Izgleda da je ova datoteka drugačijeg formata." +previousPage = "Prethodna stranica" +singlePageView = "Prikaz jedne stranice" +unknownFile = "Nepoznata datoteka" zoomIn = "Uvećaj" zoomOut = "Umanji" -singlePageView = "Prikaz jedne stranice" -dualPageView = "Prikaz dve stranice" [rightRail] closeSelected = "Zatvori izabrane fajlove" @@ -3877,6 +3899,7 @@ toggleSidebar = "Uključi/isključi bočnu traku" exportSelected = "Izvezi izabrane stranice" toggleAnnotations = "Uključi/isključi vidljivost anotacija" annotationMode = "Uključi/isključi režim anotacija" +print = "Štampaj PDF" draw = "Crtaj" save = "Sačuvaj" saveChanges = "Sačuvaj izmene" @@ -4494,6 +4517,7 @@ description = "URL ili naziv datoteke do impresuma (obavezno u nekim jurisdikcij title = "Premium i Enterprise" description = "Podesite svoj premium ili enterprise licencni ključ." license = "Konfiguracija licence" +noInput = "Navedite licencni ključ ili fajl" [admin.settings.premium.licenseKey] toggle = "Imate licencni ključ ili datoteku sertifikata?" @@ -4511,6 +4535,25 @@ line1 = "Prepisivanje vašeg trenutnog licencnog ključa ne može se opozvati." line2 = "Prethodna licenca će biti trajno izgubljena osim ako je niste sačuvali na drugom mestu." line3 = "Važno: Čuvajte licencne ključeve privatnim i bezbednim. Nikada ih javno ne delite." +[admin.settings.premium.inputMethod] +text = "Licencni ključ" +file = "Fajl sertifikata" + +[admin.settings.premium.file] +label = "Fajl licencnog sertifikata" +description = "Otpremite svoj .lic ili .cert licencni fajl iz offline kupovina" +choose = "Izaberite licencni fajl" +selected = "Izabrano: {{filename}} ({{size}})" +successMessage = "Licencni fajl je uspešno otpremljen i aktiviran. Restart nije potreban." + +[admin.settings.premium.currentLicense] +title = "Aktivna licenca" +file = "Izvor: licencni fajl ({{path}})" +key = "Izvor: licencni ključ" +type = "Tip: {{type}}" +noInput = "Navedite licencni ključ ili otpremite fajl sertifikata" +success = "Uspeh" + [admin.settings.premium.enabled] label = "Omogući premium funkcije" description = "Omogući provere licencnog ključa za pro/enterprise funkcije" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} izabrano" download = "Preuzmi" delete = "Obriši" unsupported = "Nepodržano" +active = "Aktivno" addToUpload = "Dodaj za otpremanje" +closeFile = "Zatvori datoteku" deleteAll = "Obriši sve" loadingFiles = "Učitavanje datoteka..." noFiles = "Nema dostupnih datoteka" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Potrebna je bar jedna email adresa" submit = "Pošalji pozive" success = "Korisnik(ci) uspešno pozvan(i)" -partialSuccess = "Neki pozivi nisu uspeli" +partialFailure = "Neki pozivi nisu uspeli" allFailed = "Pozivanje korisnika nije uspelo" error = "Slanje poziva nije uspelo" @@ -5797,6 +5842,13 @@ submit = "Prijavi se" signInWith = "Prijavite se sa" oauthPending = "Otvaranje pregledača za autentikaciju..." orContinueWith = "Ili nastavite uz email" +serverRequirement = "Napomena: Server mora imati omogućenu prijavu." +showInstructions = "Kako omogućiti?" +hideInstructions = "Sakrij uputstva" +instructions = "Da biste omogućili prijavu na svom Stirling PDF serveru:" +instructionsEnvVar = "Podesite promenljivu okruženja:" +instructionsOrYml = "Ili u settings.yml:" +instructionsRestart = "Zatim restartujte server da bi izmene stupile na snagu." [setup.login.username] label = "Korisničko ime" diff --git a/frontend/public/locales/sv-SE/translation.toml b/frontend/public/locales/sv-SE/translation.toml index 3cf3913ca..5c100fe78 100644 --- a/frontend/public/locales/sv-SE/translation.toml +++ b/frontend/public/locales/sv-SE/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Ta bort från favoriter" fullscreen = "Byt till helskärmsläge" sidebar = "Byt till sidopanelläge" +[backendStartup] +notFoundTitle = "Backend hittades inte" +retry = "Försök igen" +unreachable = "Applikationen kan för närvarande inte ansluta till backend. Kontrollera backendens status och nätverksanslutningen och försök sedan igen." + [zipWarning] title = "Stor ZIP-fil" message = "Denna ZIP innehåller {{count}} filer. Extrahera ändå?" @@ -912,6 +917,9 @@ desc = "Skapa flerstegade arbetsflöden genom att kedja ihop PDF‑åtgärder. P desc = "Överlagrar PDF:er ovanpå en annan PDF" title = "Överlagra PDF:er" +[home.pdfTextEditor] +title = "PDF-textredigerare" +desc = "Redigera befintlig text och bilder i PDF-filer" [home.addText] tags = "text,kommentar,etikett" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Ritad signatur" defaultImageLabel = "Uppladdad signatur" defaultTextLabel = "Skriven signatur" saveButton = "Spara signatur" +savePersonal = "Spara som personlig" +saveShared = "Spara som delad" saveUnavailable = "Skapa en signatur först för att kunna spara." noChanges = "Aktuell signatur är redan sparad." +tempStorageTitle = "Tillfällig lagring i webbläsaren" +tempStorageDescription = "Signaturer lagras endast i din webbläsare. De går förlorade om du rensar webbläsardata eller byter webbläsare." +personalHeading = "Personliga signaturer" +sharedHeading = "Delade signaturer" +personalDescription = "Endast du kan se dessa signaturer." +sharedDescription = "Alla användare kan se och använda dessa signaturer." [sign.saved.type] canvas = "Ritning" @@ -2281,7 +2297,7 @@ placeDesc = "Placera signaturen på din PDF" [sign.type] title = "Signaturtyp" draw = "Rita" -canvas = "Canvas" +canvas = "Rityta" image = "Bild" text = "Text" saved = "Sparad" @@ -3438,6 +3454,9 @@ signinTitle = "Vänligen logga in" ssoSignIn = "Logga in via enkel inloggning" oAuth2AutoCreateDisabled = "OAUTH2 Auto-skapa användare inaktiverad" oAuth2AdminBlockedUser = "Registrering eller inloggning av icke-registrerade användare är för närvarande blockerad. Kontakta administratören." +oAuth2RequiresLicense = "OAuth/SSO-inloggning kräver en betald licens (Server eller Enterprise). Kontakta administratören för att uppgradera din plan." +saml2RequiresLicense = "SAML-inloggning kräver en betald licens (Server eller Enterprise). Kontakta administratören för att uppgradera din plan." +maxUsersReached = "Maximalt antal användare har uppnåtts för din nuvarande licens. Kontakta administratören för att uppgradera din plan eller lägga till fler användarplatser." oauth2RequestNotFound = "Auktoriseringsbegäran hittades inte" oauth2InvalidUserInfoResponse = "Ogiltigt svar på användarinformation" oauth2invalidRequest = "Ogiltig begäran" @@ -3846,14 +3865,17 @@ fitToWidth = "Anpassa till bredd" actualSize = "Faktisk storlek" [viewer] +cannotPreviewFile = "Kan inte förhandsgranska filen" +dualPageView = "Dubbelsidig vy" firstPage = "Första sidan" lastPage = "Sista sidan" -previousPage = "Föregående sida" nextPage = "Nästa sida" +onlyPdfSupported = "Visaren stöder endast PDF-filer. Den här filen verkar vara i ett annat format." +previousPage = "Föregående sida" +singlePageView = "Ensidig vy" +unknownFile = "Okänd fil" zoomIn = "Zooma in" zoomOut = "Zooma ut" -singlePageView = "Ensidig vy" -dualPageView = "Dubbelsidig vy" [rightRail] closeSelected = "Stäng markerade filer" @@ -3877,6 +3899,7 @@ toggleSidebar = "Växla sidofält" exportSelected = "Exportera markerade sidor" toggleAnnotations = "Växla synlighet för anteckningar" annotationMode = "Växla anteckningsläge" +print = "Skriv ut PDF" draw = "Rita" save = "Spara" saveChanges = "Spara ändringar" @@ -4494,6 +4517,7 @@ description = "URL eller filnamn till impressum (krävs i vissa jurisdiktioner)" title = "Premium och Enterprise" description = "Konfigurera din premium- eller enterprise-licensnyckel." license = "Licenskonfiguration" +noInput = "Ange en licensnyckel eller fil" [admin.settings.premium.licenseKey] toggle = "Har du en licensnyckel eller certifikatfil?" @@ -4511,6 +4535,25 @@ line1 = "Att skriva över din nuvarande licensnyckel kan inte ångras." line2 = "Din tidigare licens går förlorad permanent om du inte har säkerhetskopierat den någon annanstans." line3 = "Viktigt: Håll licensnycklar privata och säkra. Dela dem aldrig offentligt." +[admin.settings.premium.inputMethod] +text = "Licensnyckel" +file = "Certifikatfil" + +[admin.settings.premium.file] +label = "Licenscertifikatfil" +description = "Ladda upp din .lic- eller .cert-licensfil från offlineköp" +choose = "Välj licensfil" +selected = "Vald: {{filename}} ({{size}})" +successMessage = "Licensfilen har laddats upp och aktiverats. Ingen omstart krävs." + +[admin.settings.premium.currentLicense] +title = "Aktiv licens" +file = "Källa: Licensfil ({{path}})" +key = "Källa: Licensnyckel" +type = "Typ: {{type}}" +noInput = "Ange en licensnyckel eller ladda upp en certifikatfil" +success = "Lyckat" + [admin.settings.premium.enabled] label = "Aktivera premiumfunktioner" description = "Aktivera licensnyckelkontroller för pro-/enterprise-funktioner" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} markerade" download = "Ladda ner" delete = "Radera" unsupported = "Stöds inte" +active = "Aktiv" addToUpload = "Lägg till i uppladdning" +closeFile = "Stäng fil" deleteAll = "Ta bort alla" loadingFiles = "Läser in filer..." noFiles = "Inga filer tillgängliga" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Minst en e-postadress krävs" submit = "Skicka inbjudningar" success = "Användare inbjudna" -partialSuccess = "Vissa inbjudningar misslyckades" +partialFailure = "Vissa inbjudningar misslyckades" allFailed = "Misslyckades med att bjuda in användare" error = "Misslyckades med att skicka inbjudningar" @@ -5797,6 +5842,13 @@ submit = "Logga in" signInWith = "Logga in med" oauthPending = "Öppnar webbläsaren för autentisering..." orContinueWith = "Eller fortsätt med e-post" +serverRequirement = "Observera: Servern måste ha inloggning aktiverad." +showInstructions = "Hur aktiverar man?" +hideInstructions = "Dölj instruktioner" +instructions = "För att aktivera inloggning på din Stirling PDF-server:" +instructionsEnvVar = "Ställ in miljövariabeln:" +instructionsOrYml = "Eller i settings.yml:" +instructionsRestart = "Starta sedan om servern för att ändringarna ska börja gälla." [setup.login.username] label = "Användarnamn" diff --git a/frontend/public/locales/th-TH/translation.toml b/frontend/public/locales/th-TH/translation.toml index bfd0077b2..386b699f8 100644 --- a/frontend/public/locales/th-TH/translation.toml +++ b/frontend/public/locales/th-TH/translation.toml @@ -163,6 +163,11 @@ unfavorite = "นำออกจากรายการโปรด" fullscreen = "สลับเป็นโหมดเต็มหน้าจอ" sidebar = "สลับเป็นโหมดแถบด้านข้าง" +[backendStartup] +notFoundTitle = "ไม่พบ Backend" +retry = "ลองอีกครั้ง" +unreachable = "ขณะนี้แอปพลิเคชันไม่สามารถเชื่อมต่อกับ Backend ได้ โปรดตรวจสอบสถานะของ Backend และการเชื่อมต่อเครือข่าย จากนั้นลองอีกครั้ง" + [zipWarning] title = "ไฟล์ ZIP ขนาดใหญ่" message = "ZIP นี้มี {{count}} ไฟล์ ต้องการแตกไฟล์ต่อหรือไม่?" @@ -347,7 +352,7 @@ teams = "ทีม" title = "การกำหนดค่า" systemSettings = "การตั้งค่าระบบ" features = "ฟีเจอร์" -endpoints = "Endpoints" +endpoints = "ปลายทาง" database = "ฐานข้อมูล" advanced = "ขั้นสูง" @@ -369,7 +374,7 @@ privacy = "ความเป็นส่วนตัว" [settings.developer] title = "นักพัฒนา" -apiKeys = "API Keys" +apiKeys = "คีย์ API" [settings.tooltips] enableLoginFirst = "เปิดใช้งานโหมดเข้าสู่ระบบก่อน" @@ -556,7 +561,7 @@ totalEndpoints = "จำนวน Endpoint ทั้งหมด" totalVisits = "จำนวนการเข้าชมทั้งหมด" showing = "กำลังแสดง" selectedVisits = "การเข้าชมที่เลือก" -endpoint = "Endpoint" +endpoint = "ปลายทาง" visits = "การเข้าชม" percentage = "เปอร์เซ็นต์" loading = "กำลังโหลด..." @@ -794,7 +799,7 @@ title = "รวมเป็น หน้าเดียว" desc = "รวมหน้าทั้งหมดของ PDF เป็นหน้าเดียวขนาดใหญ่" [home.showJS] -tags = "javascript,code,script" +tags = "javascript,โค้ด,สคริปต์" title = "แสดง Javascript" desc = "ค้นหาและแสดง Javascript ที่ฝังใน PDF" @@ -829,7 +834,7 @@ title = "ตรวจสอบลายเซ็น PDF" desc = "ตรวจสอบลายเซ็นดิจิทัลและใบรับรองในเอกสาร PDF" [home.swagger] -tags = "API,documentation,test" +tags = "API,เอกสารประกอบ,ทดสอบ" title = "เอกสาร API" desc = "ดูเอกสาร API และทดสอบเอ็นด์พอยต์" @@ -878,7 +883,7 @@ title = "แทนที่และกลับสี" desc = "แทนที่หรือกลับสีในเอกสาร PDF" [home.devApi] -tags = "API,development,documentation" +tags = "API,การพัฒนา,เอกสารประกอบ" title = "API" desc = "ลิงก์ไปยังเอกสาร API" @@ -912,9 +917,12 @@ desc = "สร้างเวิร์กโฟลว์หลายขั้น desc = "ซ้อนทับ PDF บน PDF อีกไฟล์หนึ่ง" title = "ซ้อนทับ PDF" +[home.pdfTextEditor] +title = "ตัวแก้ไขข้อความ PDF" +desc = "แก้ไขข้อความและรูปภาพที่มีอยู่ภายในไฟล์ PDF" [home.addText] -tags = "text,annotation,label" +tags = "ข้อความ,คำอธิบายประกอบ,ป้ายกำกับ" title = "เพิ่มข้อความ" desc = "เพิ่มข้อความที่กำหนดเองที่ใดก็ได้ใน PDF ของคุณ" @@ -1832,7 +1840,7 @@ title = "ขั้นสูง" tags = "ย่อ, เล็ก, จิ๋ว" [unlockPDFForms] -tags = "remove,delete,form,field,readonly" +tags = "เอาออก,ลบ,ฟอร์ม,ฟิลด์,อ่านอย่างเดียว" title = "ลบสถานะอ่านอย่างเดียวออกจากช่องฟอร์ม" header = "ปลดล็อกฟอร์ม PDF" submit = "Remove" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "ลายเซ็นแบบวาด" defaultImageLabel = "ลายเซ็นที่อัปโหลด" defaultTextLabel = "ลายเซ็นแบบพิมพ์" saveButton = "บันทึกลายเซ็น" +savePersonal = "บันทึกส่วนตัว" +saveShared = "บันทึกแบบใช้ร่วมกัน" saveUnavailable = "สร้างลายเซ็นก่อนเพื่อบันทึก" noChanges = "ลายเซ็นปัจจุบันถูกบันทึกไว้แล้ว" +tempStorageTitle = "พื้นที่จัดเก็บชั่วคราวบนเบราว์เซอร์" +tempStorageDescription = "ลายเซ็นจะถูกจัดเก็บไว้ในเบราว์เซอร์ของคุณเท่านั้น และจะหายไปหากคุณล้างข้อมูลเบราว์เซอร์หรือสลับไปใช้เบราว์เซอร์อื่น" +personalHeading = "ลายเซ็นส่วนตัว" +sharedHeading = "ลายเซ็นที่ใช้ร่วมกัน" +personalDescription = "มีเพียงคุณเท่านั้นที่มองเห็นลายเซ็นเหล่านี้" +sharedDescription = "ผู้ใช้ทุกคนสามารถเห็นและใช้ลายเซ็นเหล่านี้ได้" [sign.saved.type] canvas = "การวาด" @@ -2731,7 +2747,7 @@ submit = "ส่ง" failed = "เกิดข้อผิดพลาดขณะสร้างเลย์เอาต์หลายหน้า" [bookletImposition] -tags = "booklet,imposition,printing,binding,folding,signature" +tags = "หนังสือเย็บเล่ม,การจัดหน้า,การพิมพ์,การเข้าเล่ม,การพับ,ชุดพิมพ์" title = "การจัดหน้าสมุด" header = "การจัดหน้าสมุด" submit = "สร้างสมุด" @@ -2830,7 +2846,7 @@ scaleFactor = "ระดับการซูม (ครอบตัด) ขอ submit = "ส่ง" [adjustPageScale] -tags = "resize,modify,dimension,adapt" +tags = "ปรับขนาด,แก้ไข,ขนาด,ปรับให้เหมาะสม" title = "ปรับสเกลหน้า" header = "ปรับสเกลหน้า" submit = "ปรับสเกลหน้า" @@ -3438,6 +3454,9 @@ signinTitle = "กรุณาลงชื่อเข้าใช้" ssoSignIn = "เข้าสู่ระบบด้วย Single Sign-on" oAuth2AutoCreateDisabled = "การสร้างผู้ใช้ OAuth2 อัตโนมัติถูกปิดใช้งาน" oAuth2AdminBlockedUser = "ขณะนี้มีการบล็อกการลงทะเบียนหรือการเข้าสู่ระบบของผู้ใช้ที่ไม่ได้ลงทะเบียน โปรดติดต่อผู้ดูแลระบบ" +oAuth2RequiresLicense = "การเข้าสู่ระบบด้วย OAuth/SSO ต้องมีไลเซนส์แบบชำระเงิน (Server หรือ Enterprise) โปรดติดต่อผู้ดูแลระบบเพื่ออัปเกรดแผนของคุณ" +saml2RequiresLicense = "การเข้าสู่ระบบด้วย SAML ต้องมีไลเซนส์แบบชำระเงิน (Server หรือ Enterprise) โปรดติดต่อผู้ดูแลระบบเพื่ออัปเกรดแผนของคุณ" +maxUsersReached = "จำนวนผู้ใช้ถึงขีดสูงสุดสำหรับไลเซนส์ปัจจุบันของคุณ โปรดติดต่อผู้ดูแลระบบเพื่ออัปเกรดแผนหรือเพิ่มจำนวนที่นั่ง" oauth2RequestNotFound = "ไม่พบคำขอการอนุญาต" oauth2InvalidUserInfoResponse = "การตอบกลับข้อมูลผู้ใช้ไม่ถูกต้อง" oauth2invalidRequest = "คำขอไม่ถูกต้อง" @@ -3771,7 +3790,7 @@ version = "รุ่นปัจจุบัน" title = "เอกสาร API" header = "เอกสาร API" desc = "ดูและทดสอบจุดปลายทาง API ของ Stirling PDF" -tags = "api,documentation,swagger,endpoints,development" +tags = "api,เอกสารประกอบ,swagger,ปลายทาง,การพัฒนา" [cookieBanner.popUp] title = "เราใช้คุกกี้อย่างไร" @@ -3846,14 +3865,17 @@ fitToWidth = "พอดีกับความกว้าง" actualSize = "ขนาดจริง" [viewer] +cannotPreviewFile = "ไม่สามารถแสดงตัวอย่างไฟล์ได้" +dualPageView = "มุมมองสองหน้า" firstPage = "หน้าแรก" lastPage = "หน้าสุดท้าย" -previousPage = "หน้าก่อนหน้า" nextPage = "หน้าถัดไป" +onlyPdfSupported = "ตัวแสดงผลรองรับเฉพาะไฟล์ PDF ไฟล์นี้ดูเหมือนจะเป็นรูปแบบอื่น" +previousPage = "หน้าก่อนหน้า" +singlePageView = "มุมมองหน้าเดียว" +unknownFile = "ไฟล์ไม่รู้จัก" zoomIn = "ซูมเข้า" zoomOut = "ซูมออก" -singlePageView = "มุมมองหน้าเดียว" -dualPageView = "มุมมองสองหน้า" [rightRail] closeSelected = "ปิดไฟล์ที่เลือก" @@ -3877,6 +3899,7 @@ toggleSidebar = "สลับแถบข้าง" exportSelected = "ส่งออกหน้าที่เลือก" toggleAnnotations = "สลับการแสดงคำอธิบายประกอบ" annotationMode = "สลับโหมดคำอธิบายประกอบ" +print = "พิมพ์ PDF" draw = "วาด" save = "บันทึก" saveChanges = "บันทึกการเปลี่ยนแปลง" @@ -4343,7 +4366,7 @@ features = "แฟลกฟีเจอร์" processing = "การประมวลผล" [admin.settings.advanced.endpoints] -label = "Endpoints" +label = "ปลายทาง" manage = "จัดการ API Endpoints" description = "การจัดการ Endpoint กำหนดค่าผ่าน YAML ดูเอกสารประกอบสำหรับรายละเอียดการเปิด/ปิดใช้งาน Endpoint เฉพาะ" @@ -4407,7 +4430,7 @@ description = "จะทำความสะอาดไดเรกทอร label = "ข้อจำกัดของตัวประมวลผลกระบวนการ" description = "กำหนดขีดจำกัดเซสชันและระยะหมดเวลาสำหรับตัวประมวลผลแต่ละตัว" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDF เป็น HTML" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4494,6 +4517,7 @@ description = "URL หรือชื่อไฟล์ไปยัง Impressum title = "พรีเมียมและเอนเตอร์ไพรส์" description = "กำหนดค่าคีย์ไลเซนส์พรีเมียมหรือเอนเตอร์ไพรส์ของคุณ" license = "การกำหนดค่าไลเซนส์" +noInput = "โปรดระบุคีย์หรือไฟล์ไลเซนส์" [admin.settings.premium.licenseKey] toggle = "มี license key หรือไฟล์ certificate ไหม?" @@ -4511,6 +4535,25 @@ line1 = "การเขียนทับ license key ปัจจุบัน line2 = "ไลเซนส์ก่อนหน้าของคุณจะสูญหายถาวร เว้นแต่คุณได้สำรองไว้ที่อื่น" line3 = "สำคัญ: เก็บ license keys ให้เป็นส่วนตัวและปลอดภัย ห้ามแชร์สาธารณะ" +[admin.settings.premium.inputMethod] +text = "คีย์ไลเซนส์" +file = "ไฟล์ใบรับรอง" + +[admin.settings.premium.file] +label = "ไฟล์ใบรับรองไลเซนส์" +description = "อัปโหลดไฟล์ไลเซนส์ .lic หรือ .cert จากการสั่งซื้อแบบออฟไลน์ของคุณ" +choose = "เลือกไฟล์ไลเซนส์" +selected = "ที่เลือก: {{filename}} ({{size}})" +successMessage = "อัปโหลดและเปิดใช้งานไฟล์ไลเซนส์สำเร็จ ไม่จำเป็นต้องเริ่มระบบใหม่" + +[admin.settings.premium.currentLicense] +title = "ไลเซนส์ที่ใช้งานอยู่" +file = "แหล่งที่มา: ไฟล์ไลเซนส์ ({{path}})" +key = "แหล่งที่มา: คีย์ไลเซนส์" +type = "ประเภท: {{type}}" +noInput = "โปรดระบุคีย์ไลเซนส์หรืออัปโหลดไฟล์ใบรับรอง" +success = "สำเร็จ" + [admin.settings.premium.enabled] label = "เปิดใช้งานฟีเจอร์พรีเมียม" description = "เปิดการตรวจสอบคีย์ไลเซนส์สำหรับฟีเจอร์แบบ Pro/Enterprise" @@ -4544,7 +4587,7 @@ label = "สร้างใหม่เมื่อเริ่มต้น" description = "สร้างใบรับรองใหม่ทุกครั้งที่แอปพลิเคชันเริ่มต้น" [admin.settings.endpoints] -title = "API Endpoints" +title = "ปลายทาง API" description = "ควบคุมว่า API Endpoints และกลุ่ม Endpoint ใดที่ใช้งานได้" management = "การจัดการ Endpoint" note = "หมายเหตุ: การปิดการใช้งาน endpoints จะจำกัดการเข้าถึง API แต่จะไม่ลบส่วนติดต่อผู้ใช้ ต้องรีสตาร์ทจึงจะมีผล" @@ -4644,7 +4687,9 @@ selectedCount = "เลือกแล้ว {{count}} รายการ" download = "ดาวน์โหลด" delete = "ลบ" unsupported = "ไม่รองรับ" +active = "ใช้งานอยู่" addToUpload = "เพิ่มไปยังอัปโหลด" +closeFile = "ปิดไฟล์" deleteAll = "ลบทั้งหมด" loadingFiles = "กำลังโหลดไฟล์..." noFiles = "ไม่มีไฟล์" @@ -4989,7 +5034,7 @@ chartAriaLabel = "การใช้เครดิต: ใช้แบบรว nextReset = "รีเซ็ตครั้งถัดไป" lastApiUse = "การใช้งาน API ล่าสุด" overlayMessage = "สร้างคีย์เพื่อดูเครดิตและเครดิตที่มีอยู่" -label = "API Key" +label = "คีย์ API" guestInfo = "ผู้ใช้แบบแขกจะไม่ได้รับ API key สร้างบัญชีเพื่อรับ API key สำหรับใช้งานในแอปพลิเคชันของคุณ" goToAccount = "ไปที่บัญชี" generateError = "ไม่สามารถสร้าง API key ของคุณได้" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "ต้องมีอย่างน้อยหนึ่งที่อยู่อีเมล" submit = "ส่งคำเชิญ" success = "เชิญผู้ใช้สำเร็จ" -partialSuccess = "บางคำเชิญล้มเหลว" +partialFailure = "คำเชิญบางรายการไม่สำเร็จ" allFailed = "เชิญผู้ใช้ไม่สำเร็จ" error = "ส่งคำเชิญไม่สำเร็จ" @@ -5709,7 +5754,7 @@ title = "แผนภูมิการใช้งาน Endpoint" [usage.table] title = "สถิติแบบละเอียด" -endpoint = "Endpoint" +endpoint = "ปลายทาง" visits = "การเข้าชม" percentage = "เปอร์เซ็นต์" noData = "ไม่มีข้อมูล" @@ -5797,6 +5842,13 @@ submit = "เข้าสู่ระบบ" signInWith = "ลงชื่อเข้าใช้ด้วย" oauthPending = "กำลังเปิดเบราว์เซอร์เพื่อยืนยันตัวตน..." orContinueWith = "หรือดำเนินการต่อด้วยอีเมล" +serverRequirement = "หมายเหตุ: เซิร์ฟเวอร์ต้องเปิดใช้งานการเข้าสู่ระบบ" +showInstructions = "เปิดใช้งานอย่างไร?" +hideInstructions = "ซ่อนคำแนะนำ" +instructions = "วิธีเปิดใช้งานการเข้าสู่ระบบบนเซิร์ฟเวอร์ Stirling PDF ของคุณ:" +instructionsEnvVar = "ตั้งค่าตัวแปรสภาพแวดล้อม:" +instructionsOrYml = "หรือใน settings.yml:" +instructionsRestart = "จากนั้นรีสตาร์ทเซิร์ฟเวอร์ของคุณเพื่อให้การเปลี่ยนแปลงมีผล" [setup.login.username] label = "ชื่อผู้ใช้" @@ -5932,13 +5984,13 @@ warnings = "คำเตือน" suggestions = "หมายเหตุ" currentPageFonts = "ฟอนต์บนหน้านี้" allFonts = "ฟอนต์ทั้งหมด" -fallback = "fallback" +fallback = "สำรอง" missing = "หายไป" perfectMessage = "สามารถทำซ้ำฟอนต์ทั้งหมดได้อย่างสมบูรณ์แบบ" warningMessage = "บางฟอนต์อาจแสดงผลไม่ถูกต้อง" infoMessage = "มีข้อมูลการทำซ้ำฟอนต์" perfect = "สมบูรณ์แบบ" -subset = "subset" +subset = "ซับเซ็ต" [pdfTextEditor.errors] invalidJson = "ไม่สามารถอ่านไฟล์ JSON โปรดตรวจสอบว่าไฟล์ถูกสร้างโดยเครื่องมือ PDF to JSON" @@ -5953,7 +6005,7 @@ insufficientPermissions = "คุณไม่มีสิทธิ์ในก [addText] title = "เพิ่มข้อความ" header = "เพิ่มข้อความลงใน PDF" -tags = "text,annotation,label" +tags = "ข้อความ,คำอธิบายประกอบ,ป้ายกำกับ" applySignatures = "ใช้ข้อความ" [addText.text] diff --git a/frontend/public/locales/tr-TR/translation.toml b/frontend/public/locales/tr-TR/translation.toml index a5bee2af7..52d46d7fe 100644 --- a/frontend/public/locales/tr-TR/translation.toml +++ b/frontend/public/locales/tr-TR/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Favorilerden kaldır" fullscreen = "Tam ekran moduna geç" sidebar = "Kenar çubuğu moduna geç" +[backendStartup] +notFoundTitle = "Arka uç bulunamadı" +retry = "Yeniden dene" +unreachable = "Uygulama şu anda arka uca bağlanamıyor. Lütfen arka uç durumunu ve ağ bağlantısını doğrulayın, ardından tekrar deneyin." + [zipWarning] title = "Büyük ZIP Dosyası" message = "Bu ZIP {{count}} dosya içeriyor. Yine de çıkartılsın mı?" @@ -912,6 +917,9 @@ desc = "PDF eylemlerini birbirine bağlayarak çok adımlı iş akışları olu desc = "PDF'leri başka bir PDF'nin üzerine bindirir" title = "PDF'leri Bindirme" +[home.pdfTextEditor] +title = "PDF Metin Düzenleyici" +desc = "PDF'lerin içindeki mevcut metinleri ve görselleri düzenleyin" [home.addText] tags = "metin,ek açıklama,etiket" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Çizim imzası" defaultImageLabel = "Yüklenen imza" defaultTextLabel = "Yazılmış imza" saveButton = "İmzayı kaydet" +savePersonal = "Kişisel Olarak Kaydet" +saveShared = "Paylaşılan Olarak Kaydet" saveUnavailable = "Kaydetmek için önce bir imza oluşturun." noChanges = "Geçerli imza zaten kaydedildi." +tempStorageTitle = "Geçici tarayıcı depolaması" +tempStorageDescription = "İmzalar yalnızca tarayıcınızda saklanır. Tarayıcı verilerini temizlerseniz veya tarayıcı değiştirirseniz kaybolurlar." +personalHeading = "Kişisel İmzalar" +sharedHeading = "Paylaşılan İmzalar" +personalDescription = "Bu imzaları yalnızca siz görebilirsiniz." +sharedDescription = "Tüm kullanıcılar bu imzaları görebilir ve kullanabilir." [sign.saved.type] canvas = "Çizim" @@ -3438,6 +3454,9 @@ signinTitle = "Lütfen giriş yapınız." ssoSignIn = "Tek Oturum Açma ile Giriş Yap" oAuth2AutoCreateDisabled = "OAUTH2 Otomatik Oluşturma Kullanıcı Devre Dışı Bırakıldı" oAuth2AdminBlockedUser = "Kayıtlı olmayan kullanıcıların kayıt veya giriş yapması şu anda engellenmiştir. Lütfen yöneticiyle iletişime geçin." +oAuth2RequiresLicense = "OAuth/SSO ile oturum açma ücretli bir lisans (Server veya Enterprise) gerektirir. Planınızı yükseltmek için lütfen yöneticiyle iletişime geçin." +saml2RequiresLicense = "SAML ile oturum açma ücretli bir lisans (Server veya Enterprise) gerektirir. Planınızı yükseltmek için lütfen yöneticiyle iletişime geçin." +maxUsersReached = "Mevcut lisansınız için azami kullanıcı sayısına ulaşıldı. Planınızı yükseltmek veya daha fazla koltuk eklemek için lütfen yöneticiyle iletişime geçin." oauth2RequestNotFound = "Yetkilendirme isteği bulunamadı" oauth2InvalidUserInfoResponse = "Geçersiz Kullanıcı Bilgisi Yanıtı" oauth2invalidRequest = "Geçersiz İstek" @@ -3846,14 +3865,17 @@ fitToWidth = "Genişliğe Sığdır" actualSize = "Gerçek Boyut" [viewer] +cannotPreviewFile = "Dosya önizlenemiyor" +dualPageView = "Çift Sayfa Görünümü" firstPage = "İlk Sayfa" lastPage = "Son Sayfa" -previousPage = "Önceki Sayfa" nextPage = "Sonraki Sayfa" +onlyPdfSupported = "Görüntüleyici yalnızca PDF dosyalarını destekler. Bu dosya farklı bir biçimde görünüyor." +previousPage = "Önceki Sayfa" +singlePageView = "Tek Sayfa Görünümü" +unknownFile = "Bilinmeyen dosya" zoomIn = "Yakınlaştır" zoomOut = "Uzaklaştır" -singlePageView = "Tek Sayfa Görünümü" -dualPageView = "Çift Sayfa Görünümü" [rightRail] closeSelected = "Seçilen Dosyaları Kapat" @@ -3877,6 +3899,7 @@ toggleSidebar = "Kenar Çubuğunu Aç/Kapat" exportSelected = "Seçilen Sayfaları Dışa Aktar" toggleAnnotations = "Açıklamaların Görünürlüğünü Değiştir" annotationMode = "Açıklama Modunu Değiştir" +print = "PDF'yi Yazdır" draw = "Çiz" save = "Kaydet" saveChanges = "Değişiklikleri Kaydet" @@ -4494,6 +4517,7 @@ description = "Impressum için URL veya dosya adı (bazı yargı bölgelerinde g title = "Premium ve Kurumsal" description = "Premium veya kurumsal lisans anahtarınızı yapılandırın." license = "Lisans Yapılandırması" +noInput = "Lütfen bir lisans anahtarı veya dosyası sağlayın" [admin.settings.premium.licenseKey] toggle = "Lisans anahtarınız veya sertifika dosyanız mı var?" @@ -4511,6 +4535,25 @@ line1 = "Mevcut lisans anahtarınızın üzerine yazma işlemi geri alınamaz." line2 = "Başka yerde yedeğiniz yoksa önceki lisansınız kalıcı olarak kaybolacaktır." line3 = "Önemli: Lisans anahtarlarını gizli ve güvenli tutun. Asla herkese açık şekilde paylaşmayın." +[admin.settings.premium.inputMethod] +text = "Lisans Anahtarı" +file = "Sertifika Dosyası" + +[admin.settings.premium.file] +label = "Lisans Sertifika Dosyası" +description = "Çevrimdışı satın alımlardan aldığınız .lic veya .cert lisans dosyanızı yükleyin" +choose = "Lisans Dosyası Seç" +selected = "Seçildi: {{filename}} ({{size}})" +successMessage = "Lisans dosyası başarıyla yüklendi ve etkinleştirildi. Yeniden başlatma gerekmez." + +[admin.settings.premium.currentLicense] +title = "Etkin Lisans" +file = "Kaynak: Lisans dosyası ({{path}})" +key = "Kaynak: Lisans anahtarı" +type = "Tür: {{type}}" +noInput = "Lütfen bir lisans anahtarı girin veya bir sertifika dosyası yükleyin" +success = "Başarılı" + [admin.settings.premium.enabled] label = "Premium Özellikleri Etkinleştir" description = "Pro/kurumsal özellikler için lisans anahtarı kontrollerini etkinleştir" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} seçildi" download = "İndir" delete = "Sil" unsupported = "Desteklenmiyor" +active = "Aktif" addToUpload = "Yüklemeye Ekle" +closeFile = "Dosyayı Kapat" deleteAll = "Tümünü Sil" loadingFiles = "Dosyalar yükleniyor..." noFiles = "Kullanılabilir dosya yok" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "En az bir e-posta adresi gereklidir" submit = "Davetleri Gönder" success = "kullanıcı(lar) başarıyla davet edildi" -partialSuccess = "Bazı davetler başarısız oldu" +partialFailure = "Bazı davetler başarısız oldu" allFailed = "Kullanıcılar davet edilemedi" error = "Davetler gönderilemedi" @@ -5797,6 +5842,13 @@ submit = "Oturum Aç" signInWith = "Şununla oturum aç" oauthPending = "Kimlik doğrulama için tarayıcı açılıyor..." orContinueWith = "Veya e-postayla devam edin" +serverRequirement = "Not: Sunucuda oturum açma etkin olmalıdır." +showInstructions = "Nasıl etkinleştirilir?" +hideInstructions = "Yönergeleri gizle" +instructions = "Stirling PDF sunucunuzda oturum açmayı etkinleştirmek için:" +instructionsEnvVar = "Ortam değişkenini ayarlayın:" +instructionsOrYml = "Veya settings.yml içinde:" +instructionsRestart = "Ardından değişikliklerin etkili olması için sunucunuzu yeniden başlatın." [setup.login.username] label = "Kullanıcı adı" diff --git a/frontend/public/locales/uk-UA/translation.toml b/frontend/public/locales/uk-UA/translation.toml index dbb957a6a..b261dc02a 100644 --- a/frontend/public/locales/uk-UA/translation.toml +++ b/frontend/public/locales/uk-UA/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Видалити з вибраного" fullscreen = "Переключитися на повноекранний режим" sidebar = "Переключитися на режим бічної панелі" +[backendStartup] +notFoundTitle = "Серверну частину не знайдено" +retry = "Повторити" +unreachable = "Застосунок наразі не може під’єднатися до серверної частини. Перевірте стан серверної частини та мережеве з’єднання, потім спробуйте ще раз." + [zipWarning] title = "Великий ZIP-файл" message = "Цей ZIP містить {{count}} файлів. Розпакувати попри це?" @@ -912,6 +917,9 @@ desc = "Створюйте багатокрокові робочі процес desc = "Накладення одного PDF поверх іншого PDF" title = "Накладення PDF" +[home.pdfTextEditor] +title = "Редактор тексту PDF" +desc = "Редагуйте наявний текст і зображення у PDF" [home.addText] tags = "текст,анотація,мітка" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Намальований підпис" defaultImageLabel = "Завантажений підпис" defaultTextLabel = "Набраний підпис" saveButton = "Зберегти підпис" +savePersonal = "Зберегти як особистий" +saveShared = "Зберегти як спільний" saveUnavailable = "Спочатку створіть підпис, щоб зберегти його." noChanges = "Поточний підпис вже збережено." +tempStorageTitle = "Тимчасове сховище браузера" +tempStorageDescription = "Підписи зберігаються лише у вашому браузері. Вони будуть втрачені, якщо ви очистите дані браузера або зміните браузер." +personalHeading = "Особисті підписи" +sharedHeading = "Спільні підписи" +personalDescription = "Лише ви можете бачити ці підписи." +sharedDescription = "Усі користувачі можуть бачити та використовувати ці підписи." [sign.saved.type] canvas = "Малювання" @@ -3438,6 +3454,9 @@ signinTitle = "Будь ласка, увійдіть" ssoSignIn = "Увійти через єдиний вхід" oAuth2AutoCreateDisabled = "Автоматичне створення користувача OAUTH2 ВИМКНЕНО" oAuth2AdminBlockedUser = "Реєстрація або вхід незареєстрованих користувачів наразі заборонено. Будь ласка, зв'яжіться з адміністратором." +oAuth2RequiresLicense = "Вхід через OAuth/SSO потребує платної ліцензії (Server або Enterprise). Зверніться до адміністратора, щоб оновити ваш план." +saml2RequiresLicense = "Вхід через SAML потребує платної ліцензії (Server або Enterprise). Зверніться до адміністратора, щоб оновити ваш план." +maxUsersReached = "Досягнуто максимальної кількості користувачів для вашої поточної ліцензії. Зверніться до адміністратора, щоб оновити план або додати місця." oauth2RequestNotFound = "Запит на авторизація не знайдено" oauth2InvalidUserInfoResponse = "Недійсна відповідь з інформацією користувача" oauth2invalidRequest = "Недійсний запит" @@ -3846,14 +3865,17 @@ fitToWidth = "Підігнати за шириною" actualSize = "Фактичний розмір" [viewer] +cannotPreviewFile = "Не вдається переглянути файл" +dualPageView = "Парний перегляд" firstPage = "Перша сторінка" lastPage = "Остання сторінка" -previousPage = "Попередня сторінка" nextPage = "Наступна сторінка" +onlyPdfSupported = "Переглядач підтримує лише файли PDF. Схоже, цей файл має інший формат." +previousPage = "Попередня сторінка" +singlePageView = "Одинарний перегляд" +unknownFile = "Невідомий файл" zoomIn = "Збільшити" zoomOut = "Зменшити" -singlePageView = "Одинарний перегляд" -dualPageView = "Парний перегляд" [rightRail] closeSelected = "Закрити вибрані файли" @@ -3877,6 +3899,7 @@ toggleSidebar = "Перемкнути бічну панель" exportSelected = "Експорт вибраних сторінок" toggleAnnotations = "Перемкнути видимість анотацій" annotationMode = "Перемкнути режим анотацій" +print = "Надрукувати PDF" draw = "Малювати" save = "Зберегти" saveChanges = "Зберегти зміни" @@ -4153,7 +4176,7 @@ description = "Відстежувати дії користувачів і си [admin.settings.security.audit.level] label = "Рівень аудиту" -description = "0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE" +description = "0=ВИМКНЕНО, 1=БАЗОВИЙ, 2=СТАНДАРТ, 3=ДОКЛАДНИЙ" [admin.settings.security.audit.retentionDays] label = "Зберігання аудиту (дні)" @@ -4407,7 +4430,7 @@ description = "Чи очищати ширший системний тимчас label = "Обмеження виконавця процесів" description = "Налаштуйте ліміти сеансів і тайм-аути для кожного виконавця процесів" libreOffice = "LibreOffice" -pdfToHtml = "PDF to HTML" +pdfToHtml = "PDF у HTML" qpdf = "QPDF" tesseract = "Tesseract OCR" pythonOpenCv = "Python OpenCV" @@ -4494,6 +4517,7 @@ description = "URL або назва файлу до імпресуму (пот title = "Преміум і Enterprise" description = "Налаштуйте свій преміум або корпоративний ліцензійний ключ." license = "Конфігурація ліцензії" +noInput = "Надайте ліцензійний ключ або файл" [admin.settings.premium.licenseKey] toggle = "Є ліцензійний ключ або файл сертифіката?" @@ -4511,6 +4535,25 @@ line1 = "Перезапис поточного ліцензійного ключ line2 = "Попередня ліцензія буде втрачена назавжди, якщо ви не маєте її резервної копії." line3 = "Важливо: зберігайте ліцензійні ключі приватними та безпечними. Ніколи не публікуйте їх." +[admin.settings.premium.inputMethod] +text = "Ліцензійний ключ" +file = "Файл сертифіката" + +[admin.settings.premium.file] +label = "Файл ліцензійного сертифіката" +description = "Завантажте свій ліцензійний файл .lic або .cert з офлайн-покупок" +choose = "Виберіть ліцензійний файл" +selected = "Вибрано: {{filename}} ({{size}})" +successMessage = "Ліцензійний файл успішно завантажено й активовано. Перезапуск не потрібен." + +[admin.settings.premium.currentLicense] +title = "Активна ліцензія" +file = "Джерело: ліцензійний файл ({{path}})" +key = "Джерело: ліцензійний ключ" +type = "Тип: {{type}}" +noInput = "Надайте ліцензійний ключ або завантажте файл сертифіката" +success = "Успішно" + [admin.settings.premium.enabled] label = "Увімкнути преміум-функції" description = "Увімкнути перевірку ліцензійного ключа для pro/enterprise функцій" @@ -4644,7 +4687,9 @@ selectedCount = "Вибрано {{count}}" download = "Завантажити" delete = "Видалити" unsupported = "Непідтримуваний" +active = "Активний" addToUpload = "Додати до завантаження" +closeFile = "Закрити файл" deleteAll = "Видалити все" loadingFiles = "Завантаження файлів..." noFiles = "Немає доступних файлів" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Потрібна щонайменше одна електронна адреса" submit = "Надіслати запрошення" success = "Користувача(ів) успішно запрошено" -partialSuccess = "Деякі запрошення не вдалося надіслати" +partialFailure = "Деякі запрошення не вдалося надіслати" allFailed = "Не вдалося запросити користувачів" error = "Не вдалося надіслати запрошення" @@ -5281,7 +5326,7 @@ submit = "Згенерувати посилання-запрошення" [workspace.people.inviteMode] username = "Ім’я користувача" -email = "Email" +email = "Електронна пошта" link = "Посилання" emailDisabled = "Запрошення електронною поштою потребують налаштування SMTP і mail.enableInvites=true в налаштуваннях" @@ -5797,13 +5842,20 @@ submit = "Увійти" signInWith = "Увійти через" oauthPending = "Відкриваємо браузер для автентифікації..." orContinueWith = "Або продовжити через email" +serverRequirement = "Примітка: на сервері має бути увімкнено вхід." +showInstructions = "Як увімкнути?" +hideInstructions = "Приховати інструкції" +instructions = "Щоб увімкнути вхід на вашому сервері Stirling PDF:" +instructionsEnvVar = "Задайте змінну середовища:" +instructionsOrYml = "Або у settings.yml:" +instructionsRestart = "Потім перезапустіть сервер, щоб зміни набрали чинності." [setup.login.username] label = "Ім’я користувача" placeholder = "Введіть ім’я користувача" [setup.login.email] -label = "Email" +label = "Електронна пошта" placeholder = "Введіть свій email" [setup.login.password] diff --git a/frontend/public/locales/vi-VN/translation.toml b/frontend/public/locales/vi-VN/translation.toml index 464407a2a..7e9860bb9 100644 --- a/frontend/public/locales/vi-VN/translation.toml +++ b/frontend/public/locales/vi-VN/translation.toml @@ -163,6 +163,11 @@ unfavorite = "Xóa khỏi Mục yêu thích" fullscreen = "Chuyển sang chế độ toàn màn hình" sidebar = "Chuyển sang chế độ thanh bên" +[backendStartup] +notFoundTitle = "Không tìm thấy Backend" +retry = "Thử lại" +unreachable = "Ứng dụng hiện không thể kết nối tới Backend. Hãy kiểm tra trạng thái Backend và kết nối mạng, sau đó thử lại." + [zipWarning] title = "Tệp ZIP lớn" message = "ZIP này chứa {{count}} tệp. Vẫn giải nén?" @@ -347,7 +352,7 @@ teams = "Nhóm" title = "Cấu hình" systemSettings = "Cài đặt hệ thống" features = "Tính năng" -endpoints = "Endpoints" +endpoints = "Điểm cuối" database = "Cơ sở dữ liệu" advanced = "Nâng cao" @@ -359,7 +364,7 @@ connections = "Kết nối" [settings.licensingAnalytics] title = "Giấy phép & Phân tích" plan = "Gói" -audit = "Audit" +audit = "Kiểm toán" usageAnalytics = "Phân tích sử dụng" [settings.policiesPrivacy] @@ -369,7 +374,7 @@ privacy = "Quyền riêng tư" [settings.developer] title = "Nhà phát triển" -apiKeys = "API Keys" +apiKeys = "Khóa API" [settings.tooltips] enableLoginFirst = "Bật chế độ đăng nhập trước" @@ -912,6 +917,9 @@ desc = "Xây dựng quy trình nhiều bước bằng cách xâu chuỗi các th desc = "Chồng lớp PDF lên trên PDF khác" title = "Chồng lớp PDF" +[home.pdfTextEditor] +title = "Trình chỉnh sửa văn bản PDF" +desc = "Chỉnh sửa văn bản và hình ảnh hiện có bên trong PDF" [home.addText] tags = "văn bản,chú thích,nhãn" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "Chọn tệp trong khung chính để bắt đầu" settings = "Cài đặt" conversionCompleted = "Hoàn tất chuyển đổi" results = "Kết quả" -defaultFilename = "converted_file" +defaultFilename = "tep_da_chuyen_doi" conversionResults = "Kết quả chuyển đổi" convertFrom = "Chuyển từ" convertTo = "Sang" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "Chữ ký vẽ" defaultImageLabel = "Chữ ký đã tải lên" defaultTextLabel = "Chữ ký nhập" saveButton = "Lưu chữ ký" +savePersonal = "Lưu cá nhân" +saveShared = "Lưu dùng chung" saveUnavailable = "Hãy tạo chữ ký trước để lưu." noChanges = "Chữ ký hiện tại đã được lưu." +tempStorageTitle = "Bộ nhớ tạm của trình duyệt" +tempStorageDescription = "Chữ ký chỉ được lưu trong trình duyệt của bạn. Chúng sẽ bị mất nếu bạn xóa dữ liệu trình duyệt hoặc đổi sang trình duyệt khác." +personalHeading = "Chữ ký cá nhân" +sharedHeading = "Chữ ký dùng chung" +personalDescription = "Chỉ mình bạn có thể xem các chữ ký này." +sharedDescription = "Tất cả người dùng đều có thể xem và sử dụng các chữ ký này." [sign.saved.type] canvas = "Vẽ" @@ -2567,7 +2583,7 @@ stopButton = "Dừng so sánh" [certSign] tags = "xác thực,PEM,P12,chính thức,mã hóa" title = "Ký bằng chứng chỉ" -filenamePrefix = "signed" +filenamePrefix = "da_ky" chooseCertificate = "Chọn tệp chứng chỉ" chooseJksFile = "Chọn tệp JKS" chooseP12File = "Chọn tệp PKCS12" @@ -2701,7 +2717,7 @@ header = "Xóa chứng chỉ số khỏi PDF" selectPDF = "Chọn một tệp PDF:" submit = "Xóa chữ ký" description = "Công cụ này sẽ xóa chữ ký chứng chỉ số khỏi tài liệu PDF của bạn." -filenamePrefix = "unsigned" +filenamePrefix = "chua_ky" [removeCertSign.files] placeholder = "Chọn một tệp PDF trong màn hình chính để bắt đầu" @@ -3438,6 +3454,9 @@ signinTitle = "Vui lòng đăng nhập" ssoSignIn = "Đăng nhập qua Single Sign-on" oAuth2AutoCreateDisabled = "Tự động tạo người dùng OAUTH2 bị vô hiệu hóa" oAuth2AdminBlockedUser = "Hiện đang chặn đăng ký hoặc đăng nhập người dùng chưa đăng ký. Vui lòng liên hệ quản trị viên." +oAuth2RequiresLicense = "Đăng nhập OAuth/SSO cần giấy phép trả phí (Server hoặc Enterprise). Vui lòng liên hệ quản trị viên để nâng cấp gói của bạn." +saml2RequiresLicense = "Đăng nhập SAML cần giấy phép trả phí (Server hoặc Enterprise). Vui lòng liên hệ quản trị viên để nâng cấp gói của bạn." +maxUsersReached = "Đã đạt số lượng người dùng tối đa cho giấy phép hiện tại của bạn. Vui lòng liên hệ quản trị viên để nâng cấp gói hoặc thêm suất." oauth2RequestNotFound = "Không tìm thấy yêu cầu ủy quyền" oauth2InvalidUserInfoResponse = "Phản hồi thông tin người dùng không hợp lệ" oauth2invalidRequest = "Yêu cầu không hợp lệ" @@ -3533,7 +3552,7 @@ title = "PDF thành một trang" header = "PDF thành một trang" submit = "Chuyển đổi thành một trang" description = "Công cụ này sẽ gộp tất cả các trang của PDF của bạn thành một trang đơn lớn. Chiều rộng giữ nguyên như các trang gốc, còn chiều cao sẽ bằng tổng chiều cao của tất cả các trang." -filenamePrefix = "single_page" +filenamePrefix = "mot_trang" [pdfToSinglePage.files] placeholder = "Chọn một tệp PDF ở màn hình chính để bắt đầu" @@ -3846,14 +3865,17 @@ fitToWidth = "Vừa chiều rộng" actualSize = "Kích thước thật" [viewer] +cannotPreviewFile = "Không thể xem trước tệp" +dualPageView = "Chế độ xem hai trang" firstPage = "Trang đầu" lastPage = "Trang cuối" -previousPage = "Trang trước" nextPage = "Trang tiếp" +onlyPdfSupported = "Trình xem chỉ hỗ trợ tệp PDF. Tệp này có vẻ là định dạng khác." +previousPage = "Trang trước" +singlePageView = "Chế độ xem trang đơn" +unknownFile = "Tệp không xác định" zoomIn = "Phóng to" zoomOut = "Thu nhỏ" -singlePageView = "Chế độ xem trang đơn" -dualPageView = "Chế độ xem hai trang" [rightRail] closeSelected = "Đóng các tệp đã chọn" @@ -3877,6 +3899,7 @@ toggleSidebar = "Chuyển đổi thanh bên" exportSelected = "Xuất các trang đã chọn" toggleAnnotations = "Chuyển đổi hiển thị chú thích" annotationMode = "Chuyển đổi chế độ chú thích" +print = "In PDF" draw = "Vẽ" save = "Lưu" saveChanges = "Lưu thay đổi" @@ -4494,6 +4517,7 @@ description = "URL hoặc tên tệp cho impressum (bắt buộc ở một số title = "Premium & Enterprise" description = "Cấu hình khóa giấy phép premium hoặc enterprise của bạn." license = "Cấu hình giấy phép" +noInput = "Vui lòng cung cấp khóa giấy phép hoặc tệp" [admin.settings.premium.licenseKey] toggle = "Có license key hoặc tệp chứng chỉ?" @@ -4511,6 +4535,25 @@ line1 = "Ghi đè license key hiện tại không thể hoàn tác." line2 = "License trước đó sẽ bị mất vĩnh viễn trừ khi bạn đã sao lưu ở nơi khác." line3 = "Quan trọng: Giữ license key riêng tư và an toàn. Không bao giờ chia sẻ công khai." +[admin.settings.premium.inputMethod] +text = "Khóa giấy phép" +file = "Tệp chứng chỉ" + +[admin.settings.premium.file] +label = "Tệp chứng chỉ giấy phép" +description = "Tải lên tệp giấy phép .lic hoặc .cert từ các lần mua ngoại tuyến của bạn" +choose = "Chọn tệp giấy phép" +selected = "Đã chọn: {{filename}} ({{size}})" +successMessage = "Tệp giấy phép đã được tải lên và kích hoạt thành công. Không cần khởi động lại." + +[admin.settings.premium.currentLicense] +title = "Giấy phép đang hoạt động" +file = "Nguồn: Tệp giấy phép ({{path}})" +key = "Nguồn: Khóa giấy phép" +type = "Loại: {{type}}" +noInput = "Vui lòng cung cấp khóa giấy phép hoặc tải lên tệp chứng chỉ" +success = "Thành công" + [admin.settings.premium.enabled] label = "Bật tính năng Premium" description = "Bật kiểm tra khóa giấy phép cho các tính năng pro/enterprise" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} đã chọn" download = "Tải xuống" delete = "Xóa" unsupported = "Không được hỗ trợ" +active = "Hoạt động" addToUpload = "Thêm vào tải lên" +closeFile = "Đóng tệp" deleteAll = "Xóa tất cả" loadingFiles = "Đang tải tệp..." noFiles = "Không có tệp nào" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "Yêu cầu ít nhất một địa chỉ email" submit = "Gửi lời mời" success = "Mời người dùng thành công" -partialSuccess = "Một số lời mời thất bại" +partialFailure = "Một số lời mời không thành công" allFailed = "Mời người dùng thất bại" error = "Gửi lời mời thất bại" @@ -5797,6 +5842,13 @@ submit = "Đăng nhập" signInWith = "Đăng nhập với" oauthPending = "Đang mở trình duyệt để xác thực..." orContinueWith = "Hoặc tiếp tục bằng email" +serverRequirement = "Lưu ý: Máy chủ phải bật đăng nhập." +showInstructions = "Cách bật?" +hideInstructions = "Ẩn hướng dẫn" +instructions = "Để bật đăng nhập trên máy chủ Stirling PDF của bạn:" +instructionsEnvVar = "Đặt biến môi trường:" +instructionsOrYml = "Hoặc trong settings.yml:" +instructionsRestart = "Sau đó khởi động lại máy chủ để các thay đổi có hiệu lực." [setup.login.username] label = "Tên người dùng" diff --git a/frontend/public/locales/zh-BO/translation.toml b/frontend/public/locales/zh-BO/translation.toml index efbc9cb91..847e423d0 100644 --- a/frontend/public/locales/zh-BO/translation.toml +++ b/frontend/public/locales/zh-BO/translation.toml @@ -163,6 +163,11 @@ unfavorite = "从收藏中移除" fullscreen = "切换到全屏模式" sidebar = "切换到侧边栏模式" +[backendStartup] +notFoundTitle = "未找到后端" +retry = "重试" +unreachable = "应用目前无法连接到后端。请检查后端状态和网络连接,然后重试。" + [zipWarning] title = "大型 ZIP 文件" message = "此 ZIP 包含 {{count}} 个文件。仍要解压吗?" @@ -912,6 +917,9 @@ desc = "通过串联 PDF 动作构建多步工作流。适合重复性任务。" desc = "PDF གཞན་ཞིག་གི་སྟེང་དུ་ PDF བརྩེགས་པ།" title = "PDF སྟེང་བརྩེགས།" +[home.pdfTextEditor] +title = "PDF 文本编辑器" +desc = "编辑 PDF 中的现有文本和图像" [home.addText] tags = "文本,注释,标签" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "手写签名" defaultImageLabel = "已上传的签名" defaultTextLabel = "键入的签名" saveButton = "保存签名" +savePersonal = "保存为个人" +saveShared = "保存为共享" saveUnavailable = "请先创建签名再保存。" noChanges = "当前签名已保存。" +tempStorageTitle = "浏览器临时存储" +tempStorageDescription = "签名仅存储在您的浏览器中。若清除浏览器数据或更换浏览器,这些签名将会丢失。" +personalHeading = "个人签名" +sharedHeading = "共享签名" +personalDescription = "只有您可以看到这些签名。" +sharedDescription = "所有用户都可以查看并使用这些签名。" [sign.saved.type] canvas = "绘制" @@ -3438,6 +3454,9 @@ signinTitle = "ནང་འཛུལ་གནང་རོགས།" ssoSignIn = "གཅིག་གྱུར་ནང་འཛུལ་བརྒྱུད་ནས་ནང་འཛུལ།" oAuth2AutoCreateDisabled = "OAUTH2 རང་འགུལ་སྤྱོད་མཁན་གསར་བཟོ་བཀག་སྡོམ་བྱས་ཟིན།" oAuth2AdminBlockedUser = "ད་ལྟ་ཐོ་འགོད་མ་བྱས་པའི་སྤྱོད་མཁན་གྱི་ཐོ་འགོད་དང་ནང་འཛུལ་བཀག་སྡོམ་བྱས་ཡོད། དོ་དམ་པར་འབྲེལ་བ་གནང་རོགས།" +oAuth2RequiresLicense = "使用 OAuth/SSO 登录需要付费许可(Server 或 Enterprise)。请联系管理员升级您的方案。" +saml2RequiresLicense = "使用 SAML 登录需要付费许可(Server 或 Enterprise)。请联系管理员升级您的方案。" +maxUsersReached = "您当前的许可已达到最大用户数。请联系管理员升级您的方案或增加席位。" oauth2RequestNotFound = "དབང་སྤྲོད་རེ་ཞུ་རྙེད་མ་བྱུང་།" oauth2InvalidUserInfoResponse = "སྤྱོད་མཁན་གྱི་གནས་ཚུལ་ལན་འདེབས་ནོར་འཁྲུལ།" oauth2invalidRequest = "རེ་ཞུ་ནོར་འཁྲུལ།" @@ -3846,14 +3865,17 @@ fitToWidth = "适应宽度" actualSize = "实际大小" [viewer] +cannotPreviewFile = "无法预览文件" +dualPageView = "双页视图" firstPage = "第一页" lastPage = "最后一页" -previousPage = "上一页" nextPage = "下一页" +onlyPdfSupported = "此查看器仅支持 PDF 文件。该文件似乎为其他格式。" +previousPage = "上一页" +singlePageView = "单页视图" +unknownFile = "未知文件" zoomIn = "放大" zoomOut = "缩小" -singlePageView = "单页视图" -dualPageView = "双页视图" [rightRail] closeSelected = "关闭所选文件" @@ -3877,6 +3899,7 @@ toggleSidebar = "切换侧边栏" exportSelected = "导出所选页面" toggleAnnotations = "切换注释可见性" annotationMode = "切换注释模式" +print = "打印 PDF" draw = "绘制" save = "保存" saveChanges = "保存更改" @@ -4494,6 +4517,7 @@ description = "Impressum 的 URL 或文件名(某些司法管辖区要求)" title = "高级与企业版" description = "配置你的高级或企业许可证密钥。" license = "许可证配置" +noInput = "请提供许可证密钥或文件" [admin.settings.premium.licenseKey] toggle = "有许可证密钥或证书文件?" @@ -4511,6 +4535,25 @@ line1 = "覆盖当前许可证密钥后将无法撤销。" line2 = "除非另有备份,否则之前的许可证将被永久丢失。" line3 = "重要:请妥善保管许可证密钥,切勿公开分享。" +[admin.settings.premium.inputMethod] +text = "许可证密钥" +file = "证书文件" + +[admin.settings.premium.file] +label = "许可证证书文件" +description = "上传您线下购买的 .lic 或 .cert 许可证文件" +choose = "选择许可证文件" +selected = "已选择:{{filename}}({{size}})" +successMessage = "许可证文件上传并激活成功。无需重启。" + +[admin.settings.premium.currentLicense] +title = "已激活的许可证" +file = "来源:许可证文件({{path}})" +key = "来源:许可证密钥" +type = "类型:{{type}}" +noInput = "请提供许可证密钥或上传证书文件" +success = "成功" + [admin.settings.premium.enabled] label = "启用高级功能" description = "为专业/企业功能启用许可证密钥检查" @@ -4644,7 +4687,9 @@ selectedCount = "已选 {{count}} 个" download = "下载" delete = "删除" unsupported = "不支持" +active = "已启用" addToUpload = "添加到上传" +closeFile = "关闭文件" deleteAll = "全部删除" loadingFiles = "正在加载文件..." noFiles = "暂无文件" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "至少需要一个邮箱地址" submit = "发送邀请" success = "已成功邀请用户" -partialSuccess = "部分邀请失败" +partialFailure = "部分邀请发送失败" allFailed = "邀请用户失败" error = "发送邀请失败" @@ -5797,6 +5842,13 @@ submit = "登录" signInWith = "登录方式" oauthPending = "正在打开浏览器进行认证..." orContinueWith = "或使用邮箱继续" +serverRequirement = "注意:服务器必须启用登录功能。" +showInstructions = "如何启用?" +hideInstructions = "隐藏说明" +instructions = "在您的 Stirling PDF 服务器上启用登录功能:" +instructionsEnvVar = "设置环境变量:" +instructionsOrYml = "或在 settings.yml 中:" +instructionsRestart = "然后重启服务器以使更改生效。" [setup.login.username] label = "用户名" diff --git a/frontend/public/locales/zh-CN/translation.toml b/frontend/public/locales/zh-CN/translation.toml index 2d166272c..fed6c1d60 100644 --- a/frontend/public/locales/zh-CN/translation.toml +++ b/frontend/public/locales/zh-CN/translation.toml @@ -163,6 +163,11 @@ unfavorite = "从收藏中移除" fullscreen = "切换到全屏模式" sidebar = "切换到侧边栏模式" +[backendStartup] +notFoundTitle = "未找到后端" +retry = "重试" +unreachable = "应用程序当前无法连接到后端。请检查后端状态和网络连接,然后重试。" + [zipWarning] title = "大型 ZIP 文件" message = "此 ZIP 包含 {{count}} 个文件。仍要解压?" @@ -912,6 +917,9 @@ desc = "通过串联 PDF 操作构建多步工作流。适合重复性任务。" desc = "将一个 PDF 叠加在另一个之上" title = "叠加 PDF" +[home.pdfTextEditor] +title = "PDF 文本编辑器" +desc = "编辑 PDF 中的现有文本和图像" [home.addText] tags = "文本,注释,标签" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "手写签名" defaultImageLabel = "已上传签名" defaultTextLabel = "键入签名" saveButton = "保存签名" +savePersonal = "保存到个人" +saveShared = "保存到共享" saveUnavailable = "请先创建签名再保存。" noChanges = "当前签名已保存。" +tempStorageTitle = "临时浏览器存储" +tempStorageDescription = "签名仅存储在您的浏览器中。清除浏览器数据或更换浏览器后将会丢失。" +personalHeading = "个人签名" +sharedHeading = "共享签名" +personalDescription = "只有您可以看到这些签名。" +sharedDescription = "所有用户都可以查看并使用这些签名。" [sign.saved.type] canvas = "手写" @@ -2574,7 +2590,7 @@ chooseP12File = "选择 PKCS12 文件" choosePfxFile = "选择 PFX 文件" choosePrivateKey = "选择私钥文件" location = "位置" -logoTitle = "Logo" +logoTitle = "徽标" name = "名称" noLogo = "无 Logo" pageNumber = "页码" @@ -3438,6 +3454,9 @@ signinTitle = "请登录" ssoSignIn = "通过单点登录登录" oAuth2AutoCreateDisabled = "OAuth2 自动创建用户已禁用" oAuth2AdminBlockedUser = "目前已阻止未注册用户的注册或登录。请联系管理员。" +oAuth2RequiresLicense = "OAuth/SSO 登录需要付费许可(Server 或 Enterprise)。请联系管理员以升级您的计划。" +saml2RequiresLicense = "SAML 登录需要付费许可(Server 或 Enterprise)。请联系管理员以升级您的计划。" +maxUsersReached = "您当前的许可已达到用户数量上限。请联系管理员以升级您的计划或增加席位。" oauth2RequestNotFound = "找不到验证请求" oauth2InvalidUserInfoResponse = "无效的用户信息响应" oauth2invalidRequest = "无效请求" @@ -3846,14 +3865,17 @@ fitToWidth = "适配宽度" actualSize = "实际大小" [viewer] +cannotPreviewFile = "无法预览文件" +dualPageView = "双页视图" firstPage = "第一页" lastPage = "最后一页" -previousPage = "上一页" nextPage = "下一页" +onlyPdfSupported = "该查看器仅支持 PDF 文件。此文件似乎是其他格式。" +previousPage = "上一页" +singlePageView = "单页视图" +unknownFile = "未知文件" zoomIn = "放大" zoomOut = "缩小" -singlePageView = "单页视图" -dualPageView = "双页视图" [rightRail] closeSelected = "关闭所选文件" @@ -3877,6 +3899,7 @@ toggleSidebar = "切换侧边栏" exportSelected = "导出所选页面" toggleAnnotations = "切换注释可见性" annotationMode = "切换注释模式" +print = "打印 PDF" draw = "绘制" save = "保存" saveChanges = "保存更改" @@ -4494,6 +4517,7 @@ description = "Impressum 的 URL 或文件名(某些司法辖区要求)" title = "高级版与企业版" description = "配置您的高级版或企业版许可证密钥。" license = "许可证配置" +noInput = "请提供许可证密钥或文件" [admin.settings.premium.licenseKey] toggle = "有许可证密钥或证书文件吗?" @@ -4511,6 +4535,25 @@ line1 = "覆盖当前许可证密钥后将无法撤销。" line2 = "除非已在其他位置备份,否则您之前的许可证将被永久丢失。" line3 = "重要:请妥善保管许可证密钥,切勿公开分享。" +[admin.settings.premium.inputMethod] +text = "许可证密钥" +file = "证书文件" + +[admin.settings.premium.file] +label = "许可证证书文件" +description = "上传您线下购买的 .lic 或 .cert 许可证文件" +choose = "选择许可证文件" +selected = "已选择:{{filename}}({{size}})" +successMessage = "许可证文件已成功上传并激活。无需重启。" + +[admin.settings.premium.currentLicense] +title = "已激活的许可证" +file = "来源:许可证文件({{path}})" +key = "来源:许可证密钥" +type = "类型:{{type}}" +noInput = "请提供许可证密钥或上传证书文件" +success = "成功" + [admin.settings.premium.enabled] label = "启用高级功能" description = "启用对专业/企业功能的许可证密钥检查" @@ -4622,7 +4665,7 @@ searchFiles = "搜索文件…" recent = "最近" localFiles = "本地文件" googleDrive = "Google 云端硬盘" -googleDriveShort = "Drive" +googleDriveShort = "云端硬盘" myFiles = "我的文件" noRecentFiles = "未找到最近文件" googleDriveNotAvailable = "不可使用 Google 云端硬盘集成" @@ -4644,7 +4687,9 @@ selectedCount = "已选 {{count}}" download = "下载" delete = "删除" unsupported = "不支持" +active = "活跃" addToUpload = "添加至上传" +closeFile = "关闭文件" deleteAll = "删除全部" loadingFiles = "正在加载文件..." noFiles = "没有可用的文件" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "至少需要一个电子邮件地址" submit = "发送邀请" success = "已成功邀请用户" -partialSuccess = "部分邀请失败" +partialFailure = "部分邀请失败" allFailed = "邀请用户失败" error = "发送邀请失败" @@ -5797,6 +5842,13 @@ submit = "登录" signInWith = "使用以下方式登录" oauthPending = "正在打开浏览器进行认证..." orContinueWith = "或使用 Email 继续" +serverRequirement = "注意:服务器必须启用登录功能。" +showInstructions = "如何启用?" +hideInstructions = "隐藏说明" +instructions = "要在您的 Stirling PDF 服务器上启用登录:" +instructionsEnvVar = "设置环境变量:" +instructionsOrYml = "或在 settings.yml 中:" +instructionsRestart = "然后重启服务器以使更改生效。" [setup.login.username] label = "用户名" diff --git a/frontend/public/locales/zh-TW/translation.toml b/frontend/public/locales/zh-TW/translation.toml index 55b4e6b52..8b2f97b5d 100644 --- a/frontend/public/locales/zh-TW/translation.toml +++ b/frontend/public/locales/zh-TW/translation.toml @@ -163,6 +163,11 @@ unfavorite = "從我的最愛移除" fullscreen = "切換至全螢幕模式" sidebar = "切換至側邊欄模式" +[backendStartup] +notFoundTitle = "找不到後端" +retry = "重試" +unreachable = "應用程式目前無法連線至後端。請確認後端狀態與網路連線,然後再試一次。" + [zipWarning] title = "大型 ZIP 檔案" message = "此 ZIP 包含 {{count}} 個檔案。仍要解壓縮嗎?" @@ -912,6 +917,9 @@ desc = "將多個 PDF 動作串接,建立多步驟工作流程。適合重複 desc = "將 PDF 覆蓋在另一個 PDF 上" title = "覆蓋 PDF" +[home.pdfTextEditor] +title = "PDF 文字編輯器" +desc = "編輯 PDF 中既有的文字與圖片" [home.addText] tags = "文字,註解,標籤" @@ -1173,7 +1181,7 @@ selectFilesPlaceholder = "在主視圖選取檔案以開始" settings = "設定" conversionCompleted = "轉換完成" results = "結果" -defaultFilename = "converted_file" +defaultFilename = "已轉換_檔案" conversionResults = "轉換結果" convertFrom = "來源格式" convertTo = "目標格式" @@ -1360,7 +1368,7 @@ title = "新增浮水印" desc = "將文字或影像浮水印加入 PDF 檔案" completed = "已加入浮水印" submit = "新增浮水印" -filenamePrefix = "watermarked" +filenamePrefix = "已加_浮水印" [watermark.error] failed = "為 PDF 新增浮水印時發生錯誤。" @@ -2259,8 +2267,16 @@ defaultCanvasLabel = "手繪簽名" defaultImageLabel = "上傳的簽名" defaultTextLabel = "輸入的簽名" saveButton = "儲存簽名" +savePersonal = "儲存為個人" +saveShared = "儲存為共用" saveUnavailable = "請先建立簽名才能儲存。" noChanges = "目前簽名已儲存。" +tempStorageTitle = "瀏覽器暫存" +tempStorageDescription = "簽名僅儲存在您的瀏覽器中。若清除瀏覽資料或更換瀏覽器,將會遺失。" +personalHeading = "個人簽名" +sharedHeading = "共用簽名" +personalDescription = "只有您能看到這些簽名。" +sharedDescription = "所有使用者都可以查看並使用這些簽名。" [sign.saved.type] canvas = "手繪" @@ -3438,6 +3454,9 @@ signinTitle = "請登入" ssoSignIn = "透過 SSO 單一登入" oAuth2AutoCreateDisabled = "OAuth 2.0 自動建立使用者功能已停用" oAuth2AdminBlockedUser = "目前不允許未註冊的使用者註冊或登入。請聯絡系統管理員。" +oAuth2RequiresLicense = "OAuth/SSO 登入需要付費授權(Server 或 Enterprise)。請聯絡管理員升級您的方案。" +saml2RequiresLicense = "SAML 登入需要付費授權(Server 或 Enterprise)。請聯絡管理員升級您的方案。" +maxUsersReached = "您目前的授權已達使用者上限。請聯絡管理員以升級方案或新增席次。" oauth2RequestNotFound = "找不到驗證請求" oauth2InvalidUserInfoResponse = "使用者資訊回應無效" oauth2invalidRequest = "請求無效" @@ -3533,7 +3552,7 @@ title = "PDF 轉為單一頁面" header = "PDF 轉為單一頁面" submit = "轉換為單一頁面" description = "此工具會將 PDF 的所有頁面合併成一個大型單頁。寬度將與原頁相同,但高度會是所有頁面高度之總和。" -filenamePrefix = "single_page" +filenamePrefix = "單一_頁面" [pdfToSinglePage.files] placeholder = "在主畫面選擇一個 PDF 檔開始使用" @@ -3846,14 +3865,17 @@ fitToWidth = "適合寬度" actualSize = "實際大小" [viewer] +cannotPreviewFile = "無法預覽檔案" +dualPageView = "雙頁檢視" firstPage = "第一頁" lastPage = "最後一頁" -previousPage = "上一頁" nextPage = "下一頁" +onlyPdfSupported = "此檢視器僅支援 PDF 檔案。此檔案似乎是其他格式。" +previousPage = "上一頁" +singlePageView = "單頁檢視" +unknownFile = "未知檔案" zoomIn = "放大" zoomOut = "縮小" -singlePageView = "單頁檢視" -dualPageView = "雙頁檢視" [rightRail] closeSelected = "關閉已選檔案" @@ -3877,6 +3899,7 @@ toggleSidebar = "切換側邊欄" exportSelected = "匯出選取的頁面" toggleAnnotations = "切換註解可見度" annotationMode = "切換註解模式" +print = "列印 PDF" draw = "繪圖" save = "儲存" saveChanges = "儲存變更" @@ -4494,6 +4517,7 @@ description = "Impressum 的 URL 或檔名(某些司法管轄區要求提供 title = "Premium 與 Enterprise" description = "設定您的 Premium 或 Enterprise 授權金鑰。" license = "擴充授權設定" +noInput = "請提供授權金鑰或檔案" [admin.settings.premium.licenseKey] toggle = "有授權金鑰或憑證檔嗎?" @@ -4511,6 +4535,25 @@ line1 = "覆寫目前的授權金鑰後將無法復原。" line2 = "除非你另有備份,否則先前的授權將永久遺失。" line3 = "重要:請妥善保管授權金鑰並保持私密,切勿公開分享。" +[admin.settings.premium.inputMethod] +text = "授權金鑰" +file = "憑證檔案" + +[admin.settings.premium.file] +label = "授權憑證檔案" +description = "上傳您離線購買的 .lic 或 .cert 授權檔案" +choose = "選擇授權檔案" +selected = "已選取:{{filename}}({{size}})" +successMessage = "授權檔案已成功上傳並啟用,無需重新啟動。" + +[admin.settings.premium.currentLicense] +title = "使用中的授權" +file = "來源:授權檔案({{path}})" +key = "來源:授權金鑰" +type = "類型:{{type}}" +noInput = "請提供授權金鑰或上傳憑證檔案" +success = "成功" + [admin.settings.premium.enabled] label = "啟用 Premium 功能" description = "啟用對進階/企業功能的授權金鑰檢查" @@ -4644,7 +4687,9 @@ selectedCount = "{{count}} 個已選" download = "下載" delete = "刪除" unsupported = "不支援" +active = "啟用" addToUpload = "加入上傳" +closeFile = "關閉檔案" deleteAll = "全部刪除" loadingFiles = "正在載入檔案..." noFiles = "沒有可用的檔案" @@ -5245,7 +5290,7 @@ emailsPlaceholder = "user1@example.com, user2@example.com" emailsRequired = "至少需要一個電子郵件地址" submit = "發送邀請" success = "已成功邀請使用者" -partialSuccess = "部分邀請失敗" +partialFailure = "部分邀請失敗" allFailed = "邀請使用者失敗" error = "發送邀請失敗" @@ -5797,13 +5842,20 @@ submit = "登入" signInWith = "以此登入" oauthPending = "正在開啟瀏覽器進行驗證..." orContinueWith = "或改用 Email 繼續" +serverRequirement = "注意:伺服器必須啟用登入功能。" +showInstructions = "如何啟用?" +hideInstructions = "隱藏說明" +instructions = "在您的 Stirling PDF 伺服器上啟用登入功能:" +instructionsEnvVar = "設定環境變數:" +instructionsOrYml = "或在 settings.yml 中:" +instructionsRestart = "然後重新啟動伺服器以套用變更。" [setup.login.username] label = "使用者名稱" placeholder = "輸入你的使用者名稱" [setup.login.email] -label = "Email" +label = "電子郵件" placeholder = "輸入你的 Email" [setup.login.password] diff --git a/scripts/convert_properties_to_json.py b/scripts/convert_properties_to_json.py deleted file mode 100644 index 991550fb6..000000000 --- a/scripts/convert_properties_to_json.py +++ /dev/null @@ -1,113 +0,0 @@ -#!/usr/bin/env python3 -""" -Convert Java .properties files to JSON for react-i18next -Preserves hierarchical structure and handles special cases -""" - -import os -import json -import re -from pathlib import Path - -def properties_to_dict(file_path): - """Convert .properties file to nested dictionary""" - result = {} - - with open(file_path, 'r', encoding='utf-8') as f: - for line_num, line in enumerate(f, 1): - line = line.strip() - - # Skip empty lines and comments - if not line or line.startswith('#'): - continue - - # Handle key=value pairs - if '=' in line: - key, value = line.split('=', 1) - key = key.strip() - value = value.strip() - - # Handle multiline values (ending with \) - while value.endswith('\\'): - next_line = next(f, '').strip() - value = value[:-1] + next_line - - # Create nested structure from dot notation - set_nested_value(result, key, value) - - return result - -def set_nested_value(dictionary, key_path, value): - """Set value in nested dictionary using dot notation""" - keys = key_path.split('.') - current = dictionary - - for key in keys[:-1]: - if key not in current: - current[key] = {} - elif not isinstance(current[key], dict): - # Convert existing string value to nested object - old_value = current[key] - current[key] = {"_value": old_value} - current = current[key] - - final_key = keys[-1] - if final_key in current and isinstance(current[final_key], dict): - # If the final key already exists as an object, store the value under "_value" - current[final_key]["_value"] = value - else: - current[final_key] = value - -def convert_all_properties(): - """Convert all messages_*.properties files to JSON""" - - # Get project root - script_dir = Path(__file__).parent - project_root = script_dir.parent - resources_dir = project_root / 'src' / 'main' / 'resources' - output_dir = project_root / 'frontend' / 'public' / 'locales' - - # Create output directory - output_dir.mkdir(parents=True, exist_ok=True) - - # Find all .properties files - properties_files = list(resources_dir.glob('messages*.properties')) - - converted_count = 0 - - for props_file in properties_files: - # Extract locale from filename - filename = props_file.name - if filename == 'messages.properties': - locale = 'en' # Default locale - else: - # Extract locale from messages_en_US.properties format - locale_match = re.match(r'messages_(.+)\.properties', filename) - if locale_match: - locale = locale_match.group(1) - # Convert Java locale format to standard (en_US -> en-US) - locale = locale.replace('_', '-') - else: - continue - - print(f"Converting {filename} -> {locale}.json") - - # Convert to dictionary - data = properties_to_dict(props_file) - - # Create locale directory - locale_dir = output_dir / locale - locale_dir.mkdir(exist_ok=True) - - # Write translation.json (react-i18next default namespace) - output_file = locale_dir / 'translation.json' - with open(output_file, 'w', encoding='utf-8') as f: - json.dump(data, f, indent=2, ensure_ascii=False) - - converted_count += 1 - - print(f"\nConverted {converted_count} language files to {output_dir}") - print("Languages available:", [d.name for d in output_dir.iterdir() if d.is_dir()]) - -if __name__ == '__main__': - convert_all_properties() \ No newline at end of file diff --git a/scripts/counter_translation.py b/scripts/counter_translation.py deleted file mode 100644 index 3d0d8f3b9..000000000 --- a/scripts/counter_translation.py +++ /dev/null @@ -1,219 +0,0 @@ -"""A script to update language progress status in README.md based on -properties file comparison. - -This script compares default properties file with others in a directory to -determine language progress. -It then updates README.md based on provided progress list. - -Author: Ludy87 - -Example: - To use this script, simply run it from command line: - $ python counter_translation.py -""" # noqa: D205 - -import glob -import os -import re - -import tomlkit -import tomlkit.toml_file - - -def convert_to_multiline(data: tomlkit.TOMLDocument) -> tomlkit.TOMLDocument: - """Converts 'ignore' and 'missing' arrays to multiline arrays and sorts the first-level keys of the TOML document. - Enhances readability and consistency in the TOML file by ensuring arrays contain unique and sorted entries. - - Parameters: - data (tomlkit.TOMLDocument): The original TOML document containing the data. - - Returns: - tomlkit.TOMLDocument: A new TOML document with sorted keys and properly formatted arrays. - """ # noqa: D205 - sorted_data = tomlkit.document() - for key in sorted(data.keys()): - value = data[key] - if isinstance(value, dict): - new_table = tomlkit.table() - for subkey in ("ignore", "missing"): - if subkey in value: - # Convert the list to a set to remove duplicates, sort it, and convert to multiline for readability - unique_sorted_array = sorted(set(value[subkey])) - array = tomlkit.array() - array.multiline(True) - for item in unique_sorted_array: - array.append(item) - new_table[subkey] = array - sorted_data[key] = new_table - else: - # Add other types of data unchanged - sorted_data[key] = value - return sorted_data - - -def write_readme(progress_list: list[tuple[str, int]]) -> None: - """Updates the progress status in the README.md file based - on the provided progress list. - - Parameters: - progress_list (list[tuple[str, int]]): A list of tuples containing - language and progress percentage. - - Returns: - None - """ # noqa: D205 - with open("README.md", encoding="utf-8") as file: - content = file.readlines() - - for i, line in enumerate(content[2:], start=2): - for progress in progress_list: - language, value = progress - if language in line: - if match := re.search(r"\!\[(\d+(\.\d+)?)%\]\(.*\)", line): - content[i] = line.replace( - match.group(0), - f"![{value}%](https://geps.dev/progress/{value})", - ) - - with open("README.md", "w", encoding="utf-8", newline="\n") as file: - file.writelines(content) - - -def compare_files( - default_file_path, file_paths, ignore_translation_file -) -> list[tuple[str, int]]: - """Compares the default properties file with other - properties files in the directory. - - Parameters: - default_file_path (str): The path to the default properties file. - files_directory (str): The directory containing other properties files. - - Returns: - list[tuple[str, int]]: A list of tuples containing - language and progress percentage. - """ # noqa: D205 - num_lines = sum( - 1 - for line in open(default_file_path, encoding="utf-8") - if line.strip() and not line.strip().startswith("#") - ) - - result_list = [] - sort_ignore_translation: tomlkit.TOMLDocument - - # read toml - with open(ignore_translation_file, encoding="utf-8") as f: - sort_ignore_translation = tomlkit.parse(f.read()) - - for file_path in file_paths: - language = ( - os.path.basename(file_path) - .split("messages_", 1)[1] - .split(".properties", 1)[0] - ) - - fails = 0 - if "en_GB" in language or "en_US" in language: - result_list.append(("en_GB", 100)) - result_list.append(("en_US", 100)) - continue - - if language not in sort_ignore_translation: - sort_ignore_translation[language] = tomlkit.table() - - if ( - "ignore" not in sort_ignore_translation[language] - or len(sort_ignore_translation[language].get("ignore", [])) < 1 - ): - sort_ignore_translation[language]["ignore"] = tomlkit.array( - ["language.direction"] - ) - - # if "missing" not in sort_ignore_translation[language]: - # sort_ignore_translation[language]["missing"] = tomlkit.array() - # elif "language.direction" in sort_ignore_translation[language]["missing"]: - # sort_ignore_translation[language]["missing"].remove("language.direction") - - with ( - open(default_file_path, encoding="utf-8") as default_file, - open(file_path, encoding="utf-8") as file, - ): - for _ in range(5): - next(default_file) - try: - next(file) - except StopIteration: - fails = num_lines - - for line_num, (line_default, line_file) in enumerate( - zip(default_file, file), start=6 - ): - try: - # Ignoring empty lines and lines start with # - if line_default.strip() == "" or line_default.startswith("#"): - continue - default_key, default_value = line_default.split("=", 1) - file_key, file_value = line_file.split("=", 1) - if ( - default_value.strip() == file_value.strip() - and default_key.strip() - not in sort_ignore_translation[language]["ignore"] - ): - print( - f"{language}: Line {line_num} is missing the translation." - ) - # if default_key.strip() not in sort_ignore_translation[language]["missing"]: - # missing_array = tomlkit.array() - # missing_array.append(default_key.strip()) - # missing_array.multiline(True) - # sort_ignore_translation[language]["missing"].extend(missing_array) - fails += 1 - # elif default_key.strip() in sort_ignore_translation[language]["ignore"]: - # if default_key.strip() in sort_ignore_translation[language]["missing"]: - # sort_ignore_translation[language]["missing"].remove(default_key.strip()) - if default_value.strip() != file_value.strip(): - # if default_key.strip() in sort_ignore_translation[language]["missing"]: - # sort_ignore_translation[language]["missing"].remove(default_key.strip()) - if ( - default_key.strip() - in sort_ignore_translation[language]["ignore"] - ): - sort_ignore_translation[language]["ignore"].remove( - default_key.strip() - ) - except ValueError as e: - print(f"Error processing line {line_num} in {file_path}: {e}") - print(f"{line_default}|{line_file}") - exit(1) - except IndexError: - pass - - print(f"{language}: {fails} out of {num_lines} lines are not translated.") - result_list.append( - ( - language, - int((num_lines - fails) * 100 / num_lines), - ) - ) - ignore_translation = convert_to_multiline(sort_ignore_translation) - with open(ignore_translation_file, "w", encoding="utf-8", newline="\n") as file: - file.write(tomlkit.dumps(ignore_translation)) - - unique_data = list(set(result_list)) - unique_data.sort(key=lambda x: x[1], reverse=True) - - return unique_data - - -if __name__ == "__main__": - directory = os.path.join(os.getcwd(), "app", "core", "src", "main", "resources") - messages_file_paths = glob.glob(os.path.join(directory, "messages_*.properties")) - reference_file = os.path.join(directory, "messages_en_GB.properties") - - scripts_directory = os.path.join(os.getcwd(), "scripts") - translation_state_file = os.path.join(scripts_directory, "ignore_translation.toml") - - write_readme( - compare_files(reference_file, messages_file_paths, translation_state_file) - ) diff --git a/scripts/counter_translation_v2.py b/scripts/counter_translation_v3.py similarity index 91% rename from scripts/counter_translation_v2.py rename to scripts/counter_translation_v3.py index 32b3075ad..d77ec285d 100644 --- a/scripts/counter_translation_v2.py +++ b/scripts/counter_translation_v3.py @@ -1,21 +1,21 @@ """A script to update language progress status in README.md based on -JSON translation file comparison. +TOML translation file comparison. -This script compares the default translation JSON file with others in the locales directory to +This script compares the default translation TOML file with others in the locales directory to determine language progress. It then updates README.md based on provided progress list. Author: Ludy87 +Updated for TOML format Example: To use this script, simply run it from command line: - $ python counter_translation_v2.py + $ python counter_translation_v3.py """ # noqa: D205 import glob import os import re -import json import tomlkit import tomlkit.toml_file @@ -80,14 +80,14 @@ def write_readme(progress_list: list[tuple[str, int]]) -> None: file.writelines(content) -def parse_json_file(file_path): +def parse_toml_file(file_path): """ - Parses a JSON translation file and returns a flat dictionary of all keys. - :param file_path: Path to the JSON file. + Parses a TOML translation file and returns a flat dictionary of all keys. + :param file_path: Path to the TOML file. :return: Dictionary with flattened keys and values. """ with open(file_path, "r", encoding="utf-8") as file: - data = json.load(file) + data = tomlkit.parse(file.read()) def flatten_dict(d, parent_key="", sep="."): items = {} @@ -105,19 +105,19 @@ def parse_json_file(file_path): def compare_files( default_file_path, file_paths, ignore_translation_file ) -> list[tuple[str, int]]: - """Compares the default JSON translation file with other + """Compares the default TOML translation file with other translation files in the locales directory. Parameters: - default_file_path (str): The path to the default translation JSON file. - file_paths (list): List of paths to translation JSON files. + default_file_path (str): The path to the default translation TOML file. + file_paths (list): List of paths to translation TOML files. ignore_translation_file (str): Path to the TOML file with ignore rules. Returns: list[tuple[str, int]]: A list of tuples containing language and progress percentage. """ # noqa: D205 - default_keys = parse_json_file(default_file_path) + default_keys = parse_toml_file(default_file_path) num_keys = len(default_keys) result_list = [] @@ -152,7 +152,7 @@ def compare_files( ["language.direction"] ) - current_keys = parse_json_file(file_path) + current_keys = parse_toml_file(file_path) # Compare keys for default_key, default_value in default_keys.items(): @@ -193,12 +193,12 @@ def compare_files( if __name__ == "__main__": directory = os.path.join(os.getcwd(), "frontend", "public", "locales") - translation_file_paths = glob.glob(os.path.join(directory, "*", "translation.json")) - reference_file = os.path.join(directory, "en-GB", "translation.json") + translation_file_paths = glob.glob(os.path.join(directory, "*", "translation.toml")) + reference_file = os.path.join(directory, "en-GB", "translation.toml") scripts_directory = os.path.join(os.getcwd(), "scripts") translation_state_file = os.path.join(scripts_directory, "ignore_translation.toml") write_readme( compare_files(reference_file, translation_file_paths, translation_state_file) - ) \ No newline at end of file + ) diff --git a/scripts/translations/README.md b/scripts/translations/README.md index a4f9f53d3..0a228ef4b 100644 --- a/scripts/translations/README.md +++ b/scripts/translations/README.md @@ -2,6 +2,12 @@ This directory contains Python scripts for managing frontend translations in Stirling PDF. These tools help analyze, merge, validate, and manage translations against the en-GB golden truth file. +## Current Format: TOML + +**Stirling PDF uses TOML format for translations** in `frontend/public/locales/{lang}/translation.toml`. + +**All scripts now support TOML format!** + ## Quick Start - Automated Translation (RECOMMENDED) The **fastest and easiest way** to translate a language is using the automated pipeline: @@ -451,18 +457,15 @@ python scripts/translations/translation_merger.py fr-FR apply-translations --tra ## Translation File Structure -Translation files are located in `frontend/public/locales/{language}/translation.json` with nested JSON structure: +Translation files are located in `frontend/public/locales/{language}/translation.toml` with TOML structure: -```json -{ - "addPageNumbers": { - "title": "Add Page Numbers", - "selectText": { - "1": "Select PDF file:", - "2": "Margin Size" - } - } -} +```toml +[addPageNumbers] +title = "Add Page Numbers" + +[addPageNumbers.selectText] +"1" = "Select PDF file:" +"2" = "Margin Size" ``` Keys use dot notation internally (e.g., `addPageNumbers.selectText.1`). @@ -478,7 +481,7 @@ All scripts preserve placeholders like `{n}`, `{total}`, `{filename}` in transla ### Automatic Backups Scripts create timestamped backups before modifying files: ``` -translation.backup.20241201_143022.json +translation.backup.20241201_143022.toml ``` ### Context-Aware Translation diff --git a/scripts/translations/ai_translation_helper.py b/scripts/translations/ai_translation_helper.py index c879c229b..bb6fff5e9 100644 --- a/scripts/translations/ai_translation_helper.py +++ b/scripts/translations/ai_translation_helper.py @@ -3,6 +3,7 @@ AI Translation Helper for Stirling PDF Frontend Provides utilities for AI-assisted translation workflows including batch processing, quality checks, and integration helpers. +TOML format only. """ import json @@ -14,31 +15,33 @@ import argparse import re from datetime import datetime import csv +import tomllib +import tomli_w class AITranslationHelper: def __init__(self, locales_dir: str = "frontend/public/locales"): self.locales_dir = Path(locales_dir) - self.golden_truth_file = self.locales_dir / "en-GB" / "translation.json" + self.golden_truth_file = self.locales_dir / "en-GB" / "translation.toml" - def _load_json(self, file_path: Path) -> Dict: - """Load JSON file with error handling.""" + def _load_translation_file(self, file_path: Path) -> Dict: + """Load TOML translation file.""" try: - with open(file_path, 'r', encoding='utf-8') as f: - return json.load(f) - except (FileNotFoundError, json.JSONDecodeError) as e: + with open(file_path, 'rb') as f: + return tomllib.load(f) + except (FileNotFoundError, Exception) as e: print(f"Error loading {file_path}: {e}") return {} - def _save_json(self, data: Dict, file_path: Path) -> None: - """Save JSON file.""" - with open(file_path, 'w', encoding='utf-8') as f: - json.dump(data, f, indent=2, ensure_ascii=False) + def _save_translation_file(self, data: Dict, file_path: Path) -> None: + """Save TOML translation file.""" + with open(file_path, 'wb') as f: + tomli_w.dump(data, f) def create_ai_batch_file(self, languages: List[str], output_file: Path, max_entries_per_language: int = 50) -> None: """Create a batch file for AI translation with multiple languages.""" - golden_truth = self._load_json(self.golden_truth_file) + golden_truth = self._load_translation_file(self.golden_truth_file) batch_data = { 'metadata': { 'created_at': datetime.now().isoformat(), @@ -56,12 +59,14 @@ class AITranslationHelper: } for lang in languages: - lang_file = self.locales_dir / lang / "translation.json" - if not lang_file.exists(): - # Create empty translation structure - lang_data = {} + lang_dir = self.locales_dir / lang + toml_file = lang_dir / "translation.toml" + + if toml_file.exists(): + lang_data = self._load_translation_file(toml_file) else: - lang_data = self._load_json(lang_file) + # No translation file found, create empty structure + lang_data = {} # Find untranslated entries untranslated = self._find_untranslated_entries(golden_truth, lang_data) @@ -79,7 +84,9 @@ class AITranslationHelper: 'context': self._get_key_context(key) } - self._save_json(batch_data, output_file) + # Always save batch files as JSON for compatibility + with open(output_file, 'w', encoding='utf-8') as f: + json.dump(batch_data, f, indent=2, ensure_ascii=False) total_entries = sum(len(lang_data) for lang_data in batch_data['translations'].values()) print(f"Created AI batch file: {output_file}") print(f"Total entries to translate: {total_entries}") @@ -173,7 +180,9 @@ class AITranslationHelper: def validate_ai_translations(self, batch_file: Path) -> Dict[str, List[str]]: """Validate AI translations for common issues.""" - batch_data = self._load_json(batch_file) + # Batch files are always JSON + with open(batch_file, 'r', encoding='utf-8') as f: + batch_data = json.load(f) issues = {'errors': [], 'warnings': []} for lang, translations in batch_data.get('translations', {}).items(): @@ -209,7 +218,9 @@ class AITranslationHelper: def apply_ai_batch_translations(self, batch_file: Path, validate: bool = True) -> Dict[str, Any]: """Apply translations from AI batch file to individual language files.""" - batch_data = self._load_json(batch_file) + # Batch files are always JSON + with open(batch_file, 'r', encoding='utf-8') as f: + batch_data = json.load(f) results = {'applied': {}, 'errors': [], 'warnings': []} if validate: @@ -226,14 +237,15 @@ class AITranslationHelper: print(f" WARNING: {warning}") for lang, translations in batch_data.get('translations', {}).items(): - lang_file = self.locales_dir / lang / "translation.json" + lang_dir = self.locales_dir / lang + toml_file = lang_dir / "translation.toml" - # Load existing data or create new - if lang_file.exists(): - lang_data = self._load_json(lang_file) + if toml_file.exists(): + lang_data = self._load_translation_file(toml_file) else: + # No translation file found, create new TOML file lang_data = {} - lang_file.parent.mkdir(parents=True, exist_ok=True) + lang_dir.mkdir(parents=True, exist_ok=True) applied_count = 0 for key, translation_data in translations.items(): @@ -243,7 +255,7 @@ class AITranslationHelper: applied_count += 1 if applied_count > 0: - self._save_json(lang_data, lang_file) + self._save_translation_file(lang_data, toml_file) results['applied'][lang] = applied_count print(f"Applied {applied_count} translations to {lang}") @@ -265,7 +277,7 @@ class AITranslationHelper: def export_for_external_translation(self, languages: List[str], output_format: str = 'csv') -> None: """Export translations for external translation services.""" - golden_truth = self._load_json(self.golden_truth_file) + golden_truth = self._load_translation_file(self.golden_truth_file) golden_flat = self._flatten_dict(golden_truth) if output_format == 'csv': @@ -287,9 +299,11 @@ class AITranslationHelper: } for lang in languages: - lang_file = self.locales_dir / lang / "translation.json" - if lang_file.exists(): - lang_data = self._load_json(lang_file) + lang_dir = self.locales_dir / lang + toml_file = lang_dir / "translation.toml" + + if toml_file.exists(): + lang_data = self._load_translation_file(toml_file) lang_flat = self._flatten_dict(lang_data) value = lang_flat.get(key, '') if value.startswith('[UNTRANSLATED]'): @@ -316,21 +330,28 @@ class AITranslationHelper: } for lang in languages: - lang_file = self.locales_dir / lang / "translation.json" - if lang_file.exists(): - lang_data = self._load_json(lang_file) + lang_dir = self.locales_dir / lang + toml_file = lang_dir / "translation.toml" + + if toml_file.exists(): + lang_data = self._load_translation_file(toml_file) lang_flat = self._flatten_dict(lang_data) value = lang_flat.get(key, '') if value.startswith('[UNTRANSLATED]'): value = '' export_data['translations'][key][lang] = value - self._save_json(export_data, output_file) + # Export files are always JSON + with open(output_file, 'w', encoding='utf-8') as f: + json.dump(export_data, f, indent=2, ensure_ascii=False) print(f"Exported to {output_file}") def main(): - parser = argparse.ArgumentParser(description='AI Translation Helper') + parser = argparse.ArgumentParser( + description='AI Translation Helper', + epilog='Works with TOML translation files.' + ) parser.add_argument('--locales-dir', default='frontend/public/locales', help='Path to locales directory') diff --git a/scripts/translations/auto_translate.py b/scripts/translations/auto_translate.py index 505823f47..9bfbca112 100644 --- a/scripts/translations/auto_translate.py +++ b/scripts/translations/auto_translate.py @@ -2,6 +2,7 @@ """ Automated Translation Pipeline Extracts, translates, merges, and beautifies translations for a language. +TOML format only. """ import json @@ -12,6 +13,8 @@ import subprocess from pathlib import Path import time +import tomllib + def run_command(cmd, description=""): """Run a shell command and return success status.""" @@ -30,26 +33,34 @@ def run_command(cmd, description=""): return result.returncode == 0 +def find_translation_file(lang_dir): + """Find translation file in language directory.""" + toml_file = lang_dir / "translation.toml" + if toml_file.exists(): + return toml_file + return None + +def load_translation_file(file_path): + """Load TOML translation file.""" + with open(file_path, 'rb') as f: + return tomllib.load(f) + def extract_untranslated(language_code, batch_size=500): """Extract untranslated entries and split into batches.""" print(f"\n🔍 Extracting untranslated entries for {language_code}...") # Load files - golden_path = Path(f'frontend/public/locales/en-GB/translation.json') - lang_path = Path(f'frontend/public/locales/{language_code}/translation.json') + golden_path = find_translation_file(Path('frontend/public/locales/en-GB')) + lang_path = find_translation_file(Path(f'frontend/public/locales/{language_code}')) - if not golden_path.exists(): - print(f"Error: Golden truth file not found: {golden_path}") + if not golden_path: + print(f"Error: Golden truth file not found in frontend/public/locales/en-GB") return None - if not lang_path.exists(): - print(f"Error: Language file not found: {lang_path}") + if not lang_path: + print(f"Error: Language file not found in frontend/public/locales/{language_code}") return None - def load_json(path): - with open(path, 'r', encoding='utf-8') as f: - return json.load(f) - def flatten_dict(d, parent_key='', separator='.'): items = [] for k, v in d.items(): @@ -60,8 +71,12 @@ def extract_untranslated(language_code, batch_size=500): items.append((new_key, str(v))) return dict(items) - golden = load_json(golden_path) - lang_data = load_json(lang_path) + golden = load_translation_file(golden_path) + lang_data = load_translation_file(lang_path) + + if not golden or not lang_data: + print(f"Error: Failed to load translation files") + return None golden_flat = flatten_dict(golden) lang_flat = flatten_dict(lang_data) @@ -186,7 +201,7 @@ def beautify_translations(language_code): """Beautify translation file to match en-GB structure.""" print(f"\n✨ Beautifying {language_code} translation file...") - cmd = f'python3 scripts/translations/json_beautifier.py --language {language_code}' + cmd = f'python3 scripts/translations/toml_beautifier.py --language {language_code}' if not run_command(cmd): print(f"✗ Failed to beautify translations") @@ -229,6 +244,8 @@ def main(): description='Automated translation pipeline for Stirling PDF', formatter_class=argparse.RawDescriptionHelpFormatter, epilog=""" +Note: This script works with TOML translation files. + Examples: # Translate Spanish with API key in environment export OPENAI_API_KEY=your_key_here diff --git a/scripts/translations/batch_translator.py b/scripts/translations/batch_translator.py index aeb99a074..0085a51de 100644 --- a/scripts/translations/batch_translator.py +++ b/scripts/translations/batch_translator.py @@ -5,6 +5,8 @@ Automatically translates JSON batch files to target language while preserving: - Placeholders: {n}, {total}, {filename}, {{variable}} - HTML tags: , , etc. - Technical terms: PDF, API, OAuth2, SAML2, JWT, etc. + +Note: Works with JSON batch files. Translation files can be TOML or JSON format. """ import json @@ -206,9 +208,11 @@ def get_language_info(language_code: str) -> tuple: def main(): parser = argparse.ArgumentParser( - description='Translate JSON batch files using OpenAI API', + description='Translate JSON batch files using OpenAI API (output supports TOML and JSON)', formatter_class=argparse.RawDescriptionHelpFormatter, epilog=""" +Note: This script works with JSON batch files. The translation files it updates can be TOML or JSON. + Examples: # Translate single batch file python batch_translator.py zh_CN_batch_1_of_4.json --api-key YOUR_KEY --language zh-CN diff --git a/scripts/translations/bulk_auto_translate.py b/scripts/translations/bulk_auto_translate.py new file mode 100644 index 000000000..9dfaa92f4 --- /dev/null +++ b/scripts/translations/bulk_auto_translate.py @@ -0,0 +1,305 @@ +#!/usr/bin/env python3 +""" +Bulk Auto-Translate All Languages +Automatically translates all languages in parallel using OpenAI API. +Supports concurrent translation with configurable thread pool. +""" + +import argparse +import os +import sys +import time +from pathlib import Path +from concurrent.futures import ThreadPoolExecutor, as_completed +import subprocess +from typing import List, Tuple, Optional +import threading + +import tomllib + + +# Thread-safe print lock +print_lock = threading.Lock() + + +def safe_print(*args, **kwargs): + """Thread-safe print function.""" + with print_lock: + print(*args, **kwargs) + + +def get_all_languages(locales_dir: Path) -> List[str]: + """Get all language codes from locales directory.""" + languages = [] + + if not locales_dir.exists(): + print(f"Error: Locales directory not found: {locales_dir}") + return [] + + for lang_dir in sorted(locales_dir.iterdir()): + if lang_dir.is_dir() and lang_dir.name != "en-GB": + toml_file = lang_dir / "translation.toml" + if toml_file.exists(): + languages.append(lang_dir.name) + + return languages + + +def get_language_completion(locales_dir: Path, language: str) -> Optional[float]: + """Get completion percentage for a language.""" + lang_dir = locales_dir / language + toml_file = lang_dir / "translation.toml" + + if not toml_file.exists(): + return None + + try: + with open(toml_file, 'rb') as f: + target_data = tomllib.load(f) + + # Load en-GB reference + en_gb_file = locales_dir / 'en-GB' / 'translation.toml' + with open(en_gb_file, 'rb') as f: + en_gb_data = tomllib.load(f) + + # Flatten and count + def flatten(d, parent=''): + items = {} + for k, v in d.items(): + key = f"{parent}.{k}" if parent else k + if isinstance(v, dict): + items.update(flatten(v, key)) + else: + items[key] = v + return items + + en_gb_flat = flatten(en_gb_data) + target_flat = flatten(target_data) + + # Count translated (not equal to en-GB) + translated = sum(1 for k in en_gb_flat if k in target_flat and target_flat[k] != en_gb_flat[k]) + total = len(en_gb_flat) + + return (translated / total * 100) if total > 0 else 0.0 + + except Exception as e: + print(f"Warning: Could not calculate completion for {language}: {e}") + return None + + +def translate_language(language: str, api_key: str, batch_size: int, timeout: int, skip_verification: bool) -> Tuple[str, bool, str]: + """ + Translate a single language. + Returns: (language_code, success, message) + """ + safe_print(f"[{language}] Starting translation...") + + cmd = [ + 'python3', 'scripts/translations/auto_translate.py', + language, + '--api-key', api_key, + '--batch-size', str(batch_size), + '--timeout', str(timeout) + ] + + if skip_verification: + cmd.append('--skip-verification') + + try: + result = subprocess.run( + cmd, + capture_output=True, + text=True, + timeout=timeout * 5 # Overall timeout = 5x per-batch timeout + ) + + if result.returncode == 0: + # Check if nothing to translate + if "Nothing to translate!" in result.stdout: + safe_print(f"[{language}] ✓ Already complete") + return (language, True, "Already complete") + safe_print(f"[{language}] ✓ Success") + return (language, True, "Success") + else: + error_msg = result.stderr.strip() or result.stdout.strip() or "Unknown error" + safe_print(f"[{language}] ✗ Failed: {error_msg[:100]}") + return (language, False, error_msg[:200]) # Truncate long errors + + except subprocess.TimeoutExpired: + safe_print(f"[{language}] ✗ Timeout exceeded") + return (language, False, "Timeout exceeded") + except Exception as e: + safe_print(f"[{language}] ✗ Error: {str(e)}") + return (language, False, str(e)) + + +def main(): + parser = argparse.ArgumentParser( + description='Bulk auto-translate all languages using OpenAI API', + formatter_class=argparse.RawDescriptionHelpFormatter, + epilog=""" +Examples: + # Translate all languages with 10 parallel threads + python3 bulk_auto_translate.py --parallel 10 + + # Translate only incomplete languages (< 95%) + python3 bulk_auto_translate.py --parallel 5 --threshold 95 + + # Translate specific languages only + python3 bulk_auto_translate.py --languages de-DE fr-FR es-ES --parallel 3 + + # Dry run to see what would be translated + python3 bulk_auto_translate.py --dry-run + +Note: Requires OPENAI_API_KEY environment variable or --api-key argument. +""" + ) + + parser.add_argument('--api-key', help='OpenAI API key (or set OPENAI_API_KEY env var)') + parser.add_argument('--parallel', type=int, default=1, + help='Number of parallel translation threads (default: 1)') + parser.add_argument('--batch-size', type=int, default=500, + help='Entries per batch for translation (default: 500)') + parser.add_argument('--timeout', type=int, default=600, + help='Timeout per batch in seconds (default: 600)') + parser.add_argument('--threshold', type=float, default=0.0, + help='Only translate languages below this completion %% (default: 0 = all)') + parser.add_argument('--languages', nargs='+', + help='Translate only specific languages (e.g., de-DE fr-FR)') + parser.add_argument('--locales-dir', default='frontend/public/locales', + help='Path to locales directory') + parser.add_argument('--skip-verification', action='store_true', + help='Skip final completion verification for each language') + parser.add_argument('--dry-run', action='store_true', + help='Show what would be translated without actually translating') + + args = parser.parse_args() + + # Verify API key (unless dry run) + api_key = args.api_key or os.environ.get('OPENAI_API_KEY') + if not args.dry_run and not api_key: + print("Error: OpenAI API key required. Provide via --api-key or OPENAI_API_KEY environment variable") + sys.exit(1) + + locales_dir = Path(args.locales_dir) + + # Get languages to translate + if args.languages: + languages = args.languages + print(f"Translating specified languages: {', '.join(languages)}") + else: + languages = get_all_languages(locales_dir) + print(f"Found {len(languages)} languages (excluding en-GB)") + + if not languages: + print("No languages to translate!") + sys.exit(0) + + # Filter by completion threshold + if args.threshold > 0: + print(f"\nFiltering languages below {args.threshold}% completion...") + filtered = [] + for lang in languages: + completion = get_language_completion(locales_dir, lang) + if completion is None: + filtered.append(lang) # Include if can't determine + print(f" {lang}: Unknown completion - will translate") + elif completion < args.threshold: + filtered.append(lang) + print(f" {lang}: {completion:.1f}% - will translate") + else: + print(f" {lang}: {completion:.1f}% - skipping (above threshold)") + + languages = filtered + + if not languages: + print("\nNo languages below threshold!") + sys.exit(0) + + print(f"\n{'='*60}") + print(f"Bulk Translation Configuration") + print(f"{'='*60}") + print(f"Languages to translate: {len(languages)}") + print(f"Parallel threads: {args.parallel}") + print(f"Batch size: {args.batch_size}") + print(f"Timeout per batch: {args.timeout}s") + if args.threshold > 0: + print(f"Completion threshold: {args.threshold}%") + print(f"{'='*60}\n") + + if args.dry_run: + print("DRY RUN - Languages that would be translated:") + for lang in languages: + completion = get_language_completion(locales_dir, lang) + comp_str = f"{completion:.1f}%" if completion is not None else "Unknown" + print(f" - {lang} ({comp_str})") + print(f"\nTotal: {len(languages)} languages") + sys.exit(0) + + start_time = time.time() + + # Translate in parallel + results = { + 'success': [], + 'failed': [], + 'already_complete': [] + } + + with ThreadPoolExecutor(max_workers=args.parallel) as executor: + futures = { + executor.submit( + translate_language, + lang, + api_key, + args.batch_size, + args.timeout, + args.skip_verification + ): lang + for lang in languages + } + + for future in as_completed(futures): + language, success, message = future.result() + + if success: + if message == "Already complete": + results['already_complete'].append(language) + else: + results['success'].append(language) + else: + results['failed'].append((language, message)) + + elapsed = time.time() - start_time + + # Print summary + print("\n" + "="*60) + print("Bulk Translation Summary") + print("="*60) + print(f"Total languages: {len(languages)}") + print(f"Successful: {len(results['success'])}") + print(f"Already complete: {len(results['already_complete'])}") + print(f"Failed: {len(results['failed'])}") + print(f"Time elapsed: {elapsed:.1f} seconds ({elapsed/60:.1f} minutes)") + print("="*60) + + if results['success']: + print(f"\n✅ Successfully translated ({len(results['success'])}):") + for lang in sorted(results['success']): + print(f" - {lang}") + + if results['already_complete']: + print(f"\n✓ Already complete ({len(results['already_complete'])}):") + for lang in sorted(results['already_complete']): + print(f" - {lang}") + + if results['failed']: + print(f"\n❌ Failed ({len(results['failed'])}):") + for lang, msg in sorted(results['failed']): + print(f" - {lang}: {msg}") + sys.exit(1) + + print("\n✅ Bulk translation completed successfully!") + + +if __name__ == '__main__': + main() diff --git a/scripts/translations/compact_translator.py b/scripts/translations/compact_translator.py index 59efcbe9c..efe22f9f8 100644 --- a/scripts/translations/compact_translator.py +++ b/scripts/translations/compact_translator.py @@ -2,41 +2,37 @@ """ Compact Translation Extractor for Character-Limited AI Translation Outputs untranslated entries in minimal JSON format with whitespace stripped. +TOML format only. """ import json import sys from pathlib import Path import argparse -try: - import tomllib # Python 3.11+ -except ImportError: - try: - import toml as tomllib_fallback - tomllib = None - except ImportError: - tomllib = None - tomllib_fallback = None +import tomllib # Python 3.11+ (stdlib) class CompactTranslationExtractor: def __init__(self, locales_dir: str = "frontend/public/locales", ignore_file: str = "scripts/ignore_translation.toml"): self.locales_dir = Path(locales_dir) - self.golden_truth_file = self.locales_dir / "en-GB" / "translation.json" - self.golden_truth = self._load_json(self.golden_truth_file) + self.golden_truth_file = self.locales_dir / "en-GB" / "translation.toml" + if not self.golden_truth_file.exists(): + print(f"Error: en-GB translation file not found at {self.golden_truth_file}", file=sys.stderr) + sys.exit(1) + self.golden_truth = self._load_translation_file(self.golden_truth_file) self.ignore_file = Path(ignore_file) self.ignore_patterns = self._load_ignore_patterns() - def _load_json(self, file_path: Path) -> dict: - """Load JSON file with error handling.""" + def _load_translation_file(self, file_path: Path) -> dict: + """Load TOML translation file.""" try: - with open(file_path, 'r', encoding='utf-8') as f: - return json.load(f) + with open(file_path, 'rb') as f: + return tomllib.load(f) except FileNotFoundError: print(f"Error: File not found: {file_path}", file=sys.stderr) sys.exit(1) - except json.JSONDecodeError as e: - print(f"Error: Invalid JSON in {file_path}: {e}", file=sys.stderr) + except Exception as e: + print(f"Error: Invalid TOML file {file_path}: {e}", file=sys.stderr) sys.exit(1) def _load_ignore_patterns(self) -> dict: @@ -45,40 +41,13 @@ class CompactTranslationExtractor: return {} try: - if tomllib: - with open(self.ignore_file, 'rb') as f: - ignore_data = tomllib.load(f) - elif tomllib_fallback: - ignore_data = tomllib_fallback.load(self.ignore_file) - else: - ignore_data = self._parse_simple_toml() - + with open(self.ignore_file, 'rb') as f: + ignore_data = tomllib.load(f) return {lang: set(data.get('ignore', [])) for lang, data in ignore_data.items()} except Exception as e: print(f"Warning: Could not load ignore file {self.ignore_file}: {e}", file=sys.stderr) return {} - def _parse_simple_toml(self) -> dict: - """Simple TOML parser for ignore patterns (fallback).""" - ignore_data = {} - current_section = None - - with open(self.ignore_file, 'r', encoding='utf-8') as f: - for line in f: - line = line.strip() - if not line or line.startswith('#'): - continue - - if line.startswith('[') and line.endswith(']'): - current_section = line[1:-1] - ignore_data[current_section] = {'ignore': []} - elif line.strip().startswith("'") and current_section: - item = line.strip().strip("',") - if item: - ignore_data[current_section]['ignore'].append(item) - - return ignore_data - def _flatten_dict(self, d: dict, parent_key: str = '', separator: str = '.') -> dict: """Flatten nested dictionary into dot-notation keys.""" items = [] @@ -92,13 +61,14 @@ class CompactTranslationExtractor: def get_untranslated_entries(self, language: str) -> dict: """Get all untranslated entries for a language in compact format.""" - target_file = self.locales_dir / language / "translation.json" + lang_dir = self.locales_dir / language + target_file = lang_dir / "translation.toml" if not target_file.exists(): print(f"Error: Translation file not found for language: {language}", file=sys.stderr) sys.exit(1) - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -145,7 +115,9 @@ class CompactTranslationExtractor: def main(): - parser = argparse.ArgumentParser(description='Extract untranslated entries in compact format for AI translation') + parser = argparse.ArgumentParser( + description='Extract untranslated entries in compact format for AI translation (TOML format only)' + ) parser.add_argument('language', help='Language code (e.g., de-DE, fr-FR)') parser.add_argument('--locales-dir', default='frontend/public/locales', help='Path to locales directory') parser.add_argument('--ignore-file', default='scripts/ignore_translation.toml', help='Path to ignore patterns file') diff --git a/scripts/translations/json_validator.py b/scripts/translations/json_validator.py deleted file mode 100644 index 0ad20fad1..000000000 --- a/scripts/translations/json_validator.py +++ /dev/null @@ -1,259 +0,0 @@ -#!/usr/bin/env python3 -""" -JSON Validator for Translation Files - -Validates JSON syntax in translation files and reports detailed error information. -Useful for validating batch translation files before merging. - -Usage: - python3 json_validator.py - python3 json_validator.py ar_AR_batch_*.json - python3 json_validator.py ar_AR_batch_1_of_3.json - python3 json_validator.py --all-batches ar_AR -""" - -import json -import sys -import argparse -import glob -from pathlib import Path - - -def get_line_context(file_path, line_num, context_lines=3): - """Get lines around the error for context""" - try: - with open(file_path, 'r', encoding='utf-8') as f: - lines = f.readlines() - - start = max(0, line_num - context_lines - 1) - end = min(len(lines), line_num + context_lines) - - context = [] - for i in range(start, end): - marker = ">>> " if i == line_num - 1 else " " - context.append(f"{marker}{i+1:4d}: {lines[i].rstrip()}") - - return "\n".join(context) - except Exception as e: - return f"Could not read context: {e}" - - -def get_character_context(file_path, char_pos, context_chars=100): - """Get characters around the error position""" - try: - with open(file_path, 'r', encoding='utf-8') as f: - content = f.read() - - start = max(0, char_pos - context_chars) - end = min(len(content), char_pos + context_chars) - - before = content[start:char_pos] - error_char = content[char_pos] if char_pos < len(content) else "EOF" - after = content[char_pos+1:end] - - return { - 'before': before, - 'error_char': error_char, - 'after': after, - 'display': f"{before}[{error_char}]{after}" - } - except Exception as e: - return None - - -def validate_json_file(file_path): - """Validate a single JSON file and return detailed error info""" - result = { - 'file': str(file_path), - 'valid': False, - 'error': None, - 'line': None, - 'column': None, - 'position': None, - 'context': None, - 'char_context': None, - 'entry_count': 0 - } - - try: - with open(file_path, 'r', encoding='utf-8') as f: - data = json.load(f) - - result['valid'] = True - result['entry_count'] = len(data) if isinstance(data, dict) else 0 - - except json.JSONDecodeError as e: - result['error'] = e.msg - result['line'] = e.lineno - result['column'] = e.colno - result['position'] = e.pos - result['context'] = get_line_context(file_path, e.lineno) - result['char_context'] = get_character_context(file_path, e.pos) - - except FileNotFoundError: - result['error'] = "File not found" - - except Exception as e: - result['error'] = str(e) - - return result - - -def print_validation_result(result, verbose=True): - """Print validation result in a formatted way""" - file_name = Path(result['file']).name - - if result['valid']: - print(f"✓ {file_name}: Valid JSON ({result['entry_count']} entries)") - else: - print(f"✗ {file_name}: Invalid JSON") - print(f" Error: {result['error']}") - - if result['line']: - print(f" Location: Line {result['line']}, Column {result['column']} (character {result['position']})") - - if verbose and result['context']: - print(f"\n Context:") - for line in result['context'].split('\n'): - print(f" {line}") - - if verbose and result['char_context']: - print(f"\n Character context:") - print(f" ...{result['char_context']['display'][-150:]}...") - print(f" Error character: {repr(result['char_context']['error_char'])}") - - print() - - -def get_common_fixes(error_msg): - """Suggest common fixes based on error message""" - fixes = [] - - if "Expecting ',' delimiter" in error_msg: - fixes.append("Missing comma between JSON entries") - fixes.append("Check for unescaped quotes inside string values") - - if "Invalid \\escape" in error_msg or "Invalid escape" in error_msg: - fixes.append("Unescaped backslash in string (use \\\\ for literal backslash)") - fixes.append("Common in regex patterns: \\d should be \\\\d") - - if "Expecting property name" in error_msg: - fixes.append("Missing or extra comma") - fixes.append("Trailing comma before closing brace") - - if "Expecting value" in error_msg: - fixes.append("Missing value after colon") - fixes.append("Extra comma") - - return fixes - - -def main(): - parser = argparse.ArgumentParser( - description='Validate JSON syntax in translation files', - formatter_class=argparse.RawDescriptionHelpFormatter, - epilog=""" -Examples: - Validate single file: - python3 json_validator.py ar_AR_batch_1_of_3.json - - Validate all batches for a language: - python3 json_validator.py --all-batches ar_AR - - Validate pattern: - python3 json_validator.py "ar_AR_batch_*.json" - - Validate multiple files: - python3 json_validator.py file1.json file2.json file3.json - """ - ) - - parser.add_argument( - 'files', - nargs='*', - help='JSON file(s) to validate (supports wildcards)' - ) - - parser.add_argument( - '--all-batches', - metavar='LANGUAGE', - help='Validate all batch files for a language (e.g., ar_AR)' - ) - - parser.add_argument( - '--quiet', - action='store_true', - help='Only show files with errors' - ) - - parser.add_argument( - '--brief', - action='store_true', - help='Brief output without context' - ) - - args = parser.parse_args() - - # Determine which files to validate - files_to_validate = [] - - if args.all_batches: - pattern = f"{args.all_batches}_batch_*.json" - files_to_validate = glob.glob(pattern) - if not files_to_validate: - print(f"No batch files found matching: {pattern}") - return 1 - elif args.files: - for file_pattern in args.files: - if '*' in file_pattern or '?' in file_pattern: - files_to_validate.extend(glob.glob(file_pattern)) - else: - files_to_validate.append(file_pattern) - else: - parser.print_help() - return 1 - - if not files_to_validate: - print("No files to validate") - return 1 - - # Sort files for consistent output - files_to_validate.sort() - - print(f"Validating {len(files_to_validate)} file(s)...\n") - - # Validate each file - results = [] - for file_path in files_to_validate: - result = validate_json_file(file_path) - results.append(result) - - if not args.quiet or not result['valid']: - print_validation_result(result, verbose=not args.brief) - - # Summary - valid_count = sum(1 for r in results if r['valid']) - invalid_count = len(results) - valid_count - - print("=" * 60) - print(f"Summary: {valid_count} valid, {invalid_count} invalid") - - # Show common fixes for errors - if invalid_count > 0: - all_errors = [r['error'] for r in results if r['error']] - unique_error_types = set(all_errors) - - print("\nCommon fixes:") - fixes_shown = set() - for error in unique_error_types: - fixes = get_common_fixes(error) - for fix in fixes: - if fix not in fixes_shown: - print(f" • {fix}") - fixes_shown.add(fix) - - return 0 if invalid_count == 0 else 1 - - -if __name__ == '__main__': - sys.exit(main()) diff --git a/scripts/translations/json_beautifier.py b/scripts/translations/toml_beautifier.py similarity index 86% rename from scripts/translations/json_beautifier.py rename to scripts/translations/toml_beautifier.py index 41c65afda..a0e1f95cb 100644 --- a/scripts/translations/json_beautifier.py +++ b/scripts/translations/toml_beautifier.py @@ -1,10 +1,9 @@ #!/usr/bin/env python3 """ -JSON Beautifier and Structure Fixer for Stirling PDF Frontend -Restructures translation JSON files to match en-GB structure and key order exactly. +TOML Beautifier and Structure Fixer for Stirling PDF Frontend +Restructures translation TOML files to match en-GB structure and key order exactly. """ -import json import os import sys from pathlib import Path @@ -12,34 +11,38 @@ from typing import Dict, Any, List import argparse from collections import OrderedDict +import tomllib +import tomli_w -class JSONBeautifier: + +class TOMLBeautifier: def __init__(self, locales_dir: str = "frontend/public/locales"): self.locales_dir = Path(locales_dir) - self.golden_truth_file = self.locales_dir / "en-GB" / "translation.json" - self.golden_structure = self._load_json(self.golden_truth_file) + self.golden_truth_file = self.locales_dir / "en-GB" / "translation.toml" + self.golden_structure = self._load_toml(self.golden_truth_file) - def _load_json(self, file_path: Path) -> Dict: - """Load JSON file with error handling.""" + def _load_toml(self, file_path: Path) -> Dict: + """Load TOML file with error handling.""" try: - with open(file_path, 'r', encoding='utf-8') as f: - return json.load(f, object_pairs_hook=OrderedDict) + with open(file_path, 'rb') as f: + return tomllib.load(f) except FileNotFoundError: print(f"Error: File not found: {file_path}") sys.exit(1) - except json.JSONDecodeError as e: - print(f"Error: Invalid JSON in {file_path}: {e}") + except Exception as e: + print(f"Error: Invalid TOML in {file_path}: {e}") sys.exit(1) - def _save_json(self, data: Dict, file_path: Path, backup: bool = True) -> None: - """Save JSON file with proper formatting.""" + def _save_toml(self, data: Dict, file_path: Path, backup: bool = False) -> None: + """Save TOML file with proper formatting.""" if backup and file_path.exists(): - backup_path = file_path.with_suffix(f'.backup.restructured.json') - file_path.rename(backup_path) + backup_path = file_path.with_suffix(f'.backup.restructured.toml') + import shutil + shutil.copy2(file_path, backup_path) print(f"Backup created: {backup_path}") - with open(file_path, 'w', encoding='utf-8') as f: - json.dump(data, f, indent=2, ensure_ascii=False, separators=(',', ': ')) + with open(file_path, 'wb') as f: + tomli_w.dump(data, f) def _flatten_dict(self, d: Dict, parent_key: str = '', separator: str = '.') -> Dict[str, Any]: """Flatten nested dictionary into dot-notation keys.""" @@ -93,7 +96,7 @@ class JSONBeautifier: return {} # Load the target file - target_data = self._load_json(target_file) + target_data = self._load_toml(target_file) # Flatten the target translations flat_target = self._flatten_dict(target_data) @@ -103,7 +106,7 @@ class JSONBeautifier: return restructured - def beautify_and_restructure(self, target_file: Path, backup: bool = True) -> Dict[str, Any]: + def beautify_and_restructure(self, target_file: Path, backup: bool = False) -> Dict[str, Any]: """Main function to beautify and restructure a translation file.""" lang_code = target_file.parent.name print(f"Restructuring {lang_code} translation file...") @@ -112,7 +115,7 @@ class JSONBeautifier: restructured_data = self.restructure_translation_file(target_file) # Save the restructured file - self._save_json(restructured_data, target_file, backup) + self._save_toml(restructured_data, target_file, backup) # Analyze the results flat_golden = self._flatten_dict(self.golden_structure) @@ -163,7 +166,7 @@ class JSONBeautifier: def validate_key_order(self, target_file: Path) -> Dict[str, Any]: """Validate that keys appear in the same order as en-GB.""" - target_data = self._load_json(target_file) + target_data = self._load_toml(target_file) def get_key_order(obj: Dict, path: str = '') -> List[str]: keys = [] @@ -198,23 +201,26 @@ class JSONBeautifier: def main(): - parser = argparse.ArgumentParser(description='Beautify and restructure translation JSON files') + parser = argparse.ArgumentParser( + description='Beautify and restructure translation TOML files', + epilog='Works with TOML format translation files.' + ) parser.add_argument('--locales-dir', default='frontend/public/locales', help='Path to locales directory') parser.add_argument('--language', help='Restructure specific language only') parser.add_argument('--all-languages', action='store_true', help='Restructure all language files') - parser.add_argument('--no-backup', action='store_true', - help='Skip backup creation') + parser.add_argument('--backup', action='store_true', + help='Create backup files before modifying') parser.add_argument('--validate-only', action='store_true', help='Only validate structure, do not modify files') args = parser.parse_args() - beautifier = JSONBeautifier(args.locales_dir) + beautifier = TOMLBeautifier(args.locales_dir) if args.language: - target_file = Path(args.locales_dir) / args.language / "translation.json" + target_file = Path(args.locales_dir) / args.language / "translation.toml" if not target_file.exists(): print(f"Error: Translation file not found for language: {args.language}") sys.exit(1) @@ -225,7 +231,7 @@ def main(): print(f" Order preserved: {order_result['order_preserved']}") print(f" Common keys: {order_result['common_keys_count']}/{order_result['golden_keys_count']}") else: - result = beautifier.beautify_and_restructure(target_file, backup=not args.no_backup) + result = beautifier.beautify_and_restructure(target_file, backup=args.backup) print(f"\nResults for {result['language']}:") print(f" Keys preserved: {result['preserved_keys']}/{result['total_reference_keys']}") if result['structure_match']['total_issues'] > 0: @@ -237,13 +243,13 @@ def main(): results = [] for lang_dir in Path(args.locales_dir).iterdir(): if lang_dir.is_dir() and lang_dir.name != "en-GB": - translation_file = lang_dir / "translation.json" + translation_file = lang_dir / "translation.toml" if translation_file.exists(): if args.validate_only: order_result = beautifier.validate_key_order(translation_file) print(f"{lang_dir.name}: Order preserved = {order_result['order_preserved']}") else: - result = beautifier.beautify_and_restructure(translation_file, backup=not args.no_backup) + result = beautifier.beautify_and_restructure(translation_file, backup=args.backup) results.append(result) if not args.validate_only and results: @@ -259,4 +265,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/scripts/translations/toml_validator.py b/scripts/translations/toml_validator.py new file mode 100644 index 000000000..e7018050e --- /dev/null +++ b/scripts/translations/toml_validator.py @@ -0,0 +1,198 @@ +#!/usr/bin/env python3 +""" +TOML Validator for Translation Files + +Validates TOML syntax in translation files and reports detailed error information. +Useful for validating translation files before merging. + +Usage: + python3 toml_validator.py + python3 toml_validator.py ar_AR_batch_*.toml + python3 toml_validator.py ar_AR_batch_1_of_3.toml + python3 toml_validator.py --all-batches ar_AR +""" + +import sys +import argparse +import glob +from pathlib import Path + +import tomllib + + +def get_line_context(file_path, line_num, context_lines=3): + """Get lines around the error for context""" + try: + with open(file_path, 'r', encoding='utf-8') as f: + lines = f.readlines() + + start = max(0, line_num - context_lines - 1) + end = min(len(lines), line_num + context_lines) + + context = [] + for i in range(start, end): + marker = ">>> " if i == line_num - 1 else " " + context.append(f"{marker}{i+1:4d}: {lines[i].rstrip()}") + + return "\n".join(context) + except Exception as e: + return f"Could not read context: {e}" + + +def get_character_context(file_path, char_pos, context_chars=100): + """Get characters around the error position""" + try: + with open(file_path, 'r', encoding='utf-8') as f: + content = f.read() + + start = max(0, char_pos - context_chars) + end = min(len(content), char_pos + context_chars) + + before = content[start:char_pos] + error_char = content[char_pos] if char_pos < len(content) else "EOF" + after = content[char_pos+1:end] + + return { + 'before': before, + 'error_char': error_char, + 'after': after, + 'display': f"{before}[{error_char}]{after}" + } + except Exception as e: + return None + + +def count_keys(data, prefix=''): + """Recursively count all keys in nested TOML structure""" + count = 0 + if isinstance(data, dict): + for key, value in data.items(): + if isinstance(value, dict): + count += count_keys(value, f"{prefix}.{key}" if prefix else key) + else: + count += 1 + return count + + +def validate_toml_file(file_path): + """Validate a single TOML file and return detailed error info""" + result = { + 'file': str(file_path), + 'valid': False, + 'error': None, + 'line': None, + 'context': None, + 'entry_count': 0 + } + + try: + with open(file_path, 'rb') as f: + data = tomllib.load(f) + + result['valid'] = True + result['entry_count'] = count_keys(data) + + except Exception as e: + error_msg = str(e) + result['error'] = error_msg + + # Try to extract line number from error message + import re + line_match = re.search(r'line (\d+)', error_msg, re.IGNORECASE) + if line_match: + line_num = int(line_match.group(1)) + result['line'] = line_num + result['context'] = get_line_context(file_path, line_num) + + except FileNotFoundError: + result['error'] = "File not found" + + return result + + +def print_validation_result(result, brief=False, quiet=False): + """Print validation result in human-readable format""" + if result['valid']: + if not quiet: + print(f"✓ {result['file']}") + if not brief: + print(f" Valid TOML with {result['entry_count']} entries") + else: + print(f"✗ {result['file']}") + print(f" Error: {result['error']}") + + if result['line']: + print(f" Line: {result['line']}") + + if result['context'] and not brief: + print(f"\n Context:") + print(f" {result['context'].replace(chr(10), chr(10) + ' ')}") + + if not brief: + print(f"\n Common fixes:") + print(f" - Check for missing quotes around keys or values") + print(f" - Ensure proper escaping of special characters") + print(f" - Verify table header syntax: [section.subsection]") + print(f" - Check for duplicate keys in the same table") + + +def main(): + parser = argparse.ArgumentParser(description='Validate TOML translation files') + parser.add_argument('files', nargs='*', help='TOML file(s) or pattern to validate') + parser.add_argument('--all-batches', metavar='LANG', + help='Validate all batch files for a language (e.g., ar_AR)') + parser.add_argument('--brief', action='store_true', + help='Show brief output without context') + parser.add_argument('--quiet', action='store_true', + help='Only show files with errors') + + args = parser.parse_args() + + # Collect files to validate + files_to_validate = [] + + if args.all_batches: + # Find all batch files for the specified language + pattern = f"{args.all_batches}_batch_*.toml" + files_to_validate = glob.glob(pattern) + if not files_to_validate: + print(f"No batch files found matching pattern: {pattern}") + sys.exit(1) + elif args.files: + for file_pattern in args.files: + matched_files = glob.glob(file_pattern) + if matched_files: + files_to_validate.extend(matched_files) + else: + # Try as literal filename + files_to_validate.append(file_pattern) + else: + parser.print_help() + sys.exit(1) + + # Validate all files + results = [] + for file_path in files_to_validate: + result = validate_toml_file(file_path) + results.append(result) + print_validation_result(result, brief=args.brief, quiet=args.quiet) + if not args.brief and not args.quiet: + print() # Empty line between files + + # Summary + total = len(results) + valid = sum(1 for r in results if r['valid']) + invalid = total - valid + + if not args.quiet: + print(f"\n{'='*60}") + print(f"Summary: {valid}/{total} files valid") + if invalid > 0: + print(f" {invalid} file(s) with errors") + + # Exit with error code if any files invalid + sys.exit(0 if invalid == 0 else 1) + + +if __name__ == '__main__': + main() diff --git a/scripts/translations/translation_analyzer.py b/scripts/translations/translation_analyzer.py index 9c8315b53..35b2b3555 100644 --- a/scripts/translations/translation_analyzer.py +++ b/scripts/translations/translation_analyzer.py @@ -10,35 +10,27 @@ import sys from pathlib import Path from typing import Dict, List, Set, Tuple import argparse -try: - import tomllib # Python 3.11+ -except ImportError: - try: - import toml as tomllib_fallback - tomllib = None - except ImportError: - tomllib = None - tomllib_fallback = None +import tomllib class TranslationAnalyzer: def __init__(self, locales_dir: str = "frontend/public/locales", ignore_file: str = "scripts/ignore_translation.toml"): self.locales_dir = Path(locales_dir) - self.golden_truth_file = self.locales_dir / "en-GB" / "translation.json" - self.golden_truth = self._load_json(self.golden_truth_file) + self.golden_truth_file = self.locales_dir / "en-GB" / "translation.toml" + self.golden_truth = self._load_translation_file(self.golden_truth_file) self.ignore_file = Path(ignore_file) self.ignore_patterns = self._load_ignore_patterns() - def _load_json(self, file_path: Path) -> Dict: - """Load JSON file with error handling.""" + def _load_translation_file(self, file_path: Path) -> Dict: + """Load TOML translation file with error handling.""" try: - with open(file_path, 'r', encoding='utf-8') as f: - return json.load(f) + with open(file_path, 'rb') as f: + return tomllib.load(f) except FileNotFoundError: print(f"Error: File not found: {file_path}") sys.exit(1) - except json.JSONDecodeError as e: - print(f"Error: Invalid JSON in {file_path}: {e}") + except Exception as e: + print(f"Error: Invalid file {file_path}: {e}") sys.exit(1) def _load_ignore_patterns(self) -> Dict[str, Set[str]]: @@ -47,16 +39,8 @@ class TranslationAnalyzer: return {} try: - if tomllib: - # Use Python 3.11+ built-in - with open(self.ignore_file, 'rb') as f: - ignore_data = tomllib.load(f) - elif tomllib_fallback: - # Use toml library fallback - ignore_data = tomllib_fallback.load(self.ignore_file) - else: - # Simple parser as fallback - ignore_data = self._parse_simple_toml() + with open(self.ignore_file, 'rb') as f: + ignore_data = tomllib.load(f) # Convert lists to sets for faster lookup return {lang: set(patterns) for lang, data in ignore_data.items() @@ -65,31 +49,6 @@ class TranslationAnalyzer: print(f"Warning: Could not load ignore file {self.ignore_file}: {e}") return {} - def _parse_simple_toml(self) -> Dict: - """Simple TOML parser for ignore patterns (fallback).""" - ignore_data = {} - current_section = None - - with open(self.ignore_file, 'r', encoding='utf-8') as f: - for line in f: - line = line.strip() - if not line or line.startswith('#'): - continue - - if line.startswith('[') and line.endswith(']'): - current_section = line[1:-1] - ignore_data[current_section] = {'ignore': []} - elif line.startswith('ignore = [') and current_section: - # Handle ignore array - continue - elif line.strip().startswith("'") and current_section: - # Extract quoted items - item = line.strip().strip("',") - if item: - ignore_data[current_section]['ignore'].append(item) - - return ignore_data - def _flatten_dict(self, d: Dict, parent_key: str = '', separator: str = '.') -> Dict[str, str]: """Flatten nested dictionary into dot-notation keys.""" items = [] @@ -102,18 +61,18 @@ class TranslationAnalyzer: return dict(items) def get_all_language_files(self) -> List[Path]: - """Get all translation.json files except en-GB.""" + """Get all translation files except en-GB.""" files = [] for lang_dir in self.locales_dir.iterdir(): if lang_dir.is_dir() and lang_dir.name != "en-GB": - translation_file = lang_dir / "translation.json" - if translation_file.exists(): - files.append(translation_file) + toml_file = lang_dir / "translation.toml" + if toml_file.exists(): + files.append(toml_file) return sorted(files) def find_missing_translations(self, target_file: Path) -> Set[str]: """Find keys that exist in en-GB but missing in target file.""" - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -127,7 +86,7 @@ class TranslationAnalyzer: def find_untranslated_entries(self, target_file: Path) -> Set[str]: """Find entries that appear to be untranslated (identical to en-GB).""" - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -170,7 +129,7 @@ class TranslationAnalyzer: def find_extra_translations(self, target_file: Path) -> Set[str]: """Find keys that exist in target file but not in en-GB.""" - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -185,7 +144,7 @@ class TranslationAnalyzer: untranslated = self.find_untranslated_entries(target_file) extra = self.find_extra_translations(target_file) - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -249,8 +208,12 @@ def main(): analyzer = TranslationAnalyzer(args.locales_dir, args.ignore_file) if args.language: - target_file = Path(args.locales_dir) / args.language / "translation.json" - if not target_file.exists(): + lang_dir = Path(args.locales_dir) / args.language + toml_file = lang_dir / "translation.toml" + + if toml_file.exists(): + target_file = toml_file + else: print(f"Error: Translation file not found for language: {args.language}") sys.exit(1) results = [analyzer.analyze_file(target_file)] diff --git a/scripts/translations/translation_merger.py b/scripts/translations/translation_merger.py index 84884d946..4f2d8361a 100644 --- a/scripts/translations/translation_merger.py +++ b/scripts/translations/translation_merger.py @@ -3,6 +3,7 @@ Translation Merger for Stirling PDF Frontend Merges missing translations from en-GB into target language files. Useful for AI-assisted translation workflows. +TOML format only. """ import json @@ -14,46 +15,39 @@ import argparse import shutil from datetime import datetime -try: - import tomllib # Python 3.11+ -except ImportError: - try: - import toml as tomllib_fallback - tomllib = None - except ImportError: - tomllib = None - tomllib_fallback = None +import tomllib +import tomli_w class TranslationMerger: def __init__(self, locales_dir: str = "frontend/public/locales", ignore_file: str = "scripts/ignore_translation.toml"): self.locales_dir = Path(locales_dir) - self.golden_truth_file = self.locales_dir / "en-GB" / "translation.json" - self.golden_truth = self._load_json(self.golden_truth_file) + self.golden_truth_file = self.locales_dir / "en-GB" / "translation.toml" + self.golden_truth = self._load_translation_file(self.golden_truth_file) self.ignore_file = Path(ignore_file) self.ignore_patterns = self._load_ignore_patterns() - def _load_json(self, file_path: Path) -> Dict: - """Load JSON file with error handling.""" + def _load_translation_file(self, file_path: Path) -> Dict: + """Load TOML translation file.""" try: - with open(file_path, 'r', encoding='utf-8') as f: - return json.load(f) + with open(file_path, 'rb') as f: + return tomllib.load(f) except FileNotFoundError: print(f"Error: File not found: {file_path}") sys.exit(1) - except json.JSONDecodeError as e: - print(f"Error: Invalid JSON in {file_path}: {e}") + except Exception as e: + print(f"Error: Invalid file {file_path}: {e}") sys.exit(1) - def _save_json(self, data: Dict, file_path: Path, backup: bool = True) -> None: - """Save JSON file with backup option.""" + def _save_translation_file(self, data: Dict, file_path: Path, backup: bool = False) -> None: + """Save TOML translation file with backup option.""" if backup and file_path.exists(): - backup_path = file_path.with_suffix(f'.backup.{datetime.now().strftime("%Y%m%d_%H%M%S")}.json') + backup_path = file_path.with_suffix(f'.backup.{datetime.now().strftime("%Y%m%d_%H%M%S")}.toml') shutil.copy2(file_path, backup_path) print(f"Backup created: {backup_path}") - with open(file_path, 'w', encoding='utf-8') as f: - json.dump(data, f, indent=2, ensure_ascii=False) + with open(file_path, 'wb') as f: + tomli_w.dump(data, f) def _load_ignore_patterns(self) -> Dict[str, Set[str]]: """Load ignore patterns from TOML file.""" @@ -61,26 +55,11 @@ class TranslationMerger: return {} try: - # Simple parser for ignore patterns - ignore_data = {} - current_section = None + with open(self.ignore_file, 'rb') as f: + ignore_data = tomllib.load(f) - with open(self.ignore_file, 'r', encoding='utf-8') as f: - for line in f: - line = line.strip() - if not line or line.startswith('#'): - continue - - if line.startswith('[') and line.endswith(']'): - current_section = line[1:-1] - ignore_data[current_section] = set() - elif line.strip().startswith("'") and current_section: - # Extract quoted items - item = line.strip().strip("',") - if item: - ignore_data[current_section].add(item) - - return ignore_data + # Convert to sets for faster lookup + return {lang: set(data.get('ignore', [])) for lang, data in ignore_data.items()} except Exception as e: print(f"Warning: Could not load ignore file {self.ignore_file}: {e}") return {} @@ -131,7 +110,7 @@ class TranslationMerger: golden_keys = set(self._flatten_dict(self.golden_truth).keys()) return sorted(golden_keys - ignore_set) - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -144,7 +123,7 @@ class TranslationMerger: if not target_file.exists(): target_data = {} else: - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) missing_keys = keys_to_add or self.get_missing_keys(target_file) @@ -172,7 +151,7 @@ class TranslationMerger: print(f"Error: Target file does not exist: {target_file}") return {} - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) golden_flat = self._flatten_dict(self.golden_truth) target_flat = self._flatten_dict(target_data) @@ -219,13 +198,13 @@ class TranslationMerger: return False def apply_translations(self, target_file: Path, translations: Dict[str, str], - backup: bool = True) -> Dict: + backup: bool = False) -> Dict: """Apply provided translations to target file.""" if not target_file.exists(): print(f"Error: Target file does not exist: {target_file}") return {'success': False, 'error': 'File not found'} - target_data = self._load_json(target_file) + target_data = self._load_translation_file(target_file) applied_count = 0 errors = [] @@ -241,7 +220,7 @@ class TranslationMerger: errors.append(f"Error setting {key}: {e}") if applied_count > 0: - self._save_json(target_data, target_file, backup) + self._save_translation_file(target_data, target_file, backup) return { 'success': True, @@ -288,7 +267,10 @@ class TranslationMerger: def main(): - parser = argparse.ArgumentParser(description='Merge and manage translation files') + parser = argparse.ArgumentParser( + description='Merge and manage translation files', + epilog='Works with TOML translation files.' + ) parser.add_argument('--locales-dir', default='frontend/public/locales', help='Path to locales directory') parser.add_argument('--ignore-file', default='scripts/ignore_translation.toml', @@ -299,7 +281,7 @@ def main(): # Add missing command add_parser = subparsers.add_parser('add-missing', help='Add missing translations from en-GB') - add_parser.add_argument('--no-backup', action='store_true', help='Skip backup creation') + add_parser.add_argument('--backup', action='store_true', help='Create backup before modifying files') add_parser.add_argument('--mark-untranslated', action='store_true', default=True, help='Mark added translations as [UNTRANSLATED]') @@ -314,7 +296,7 @@ def main(): # Apply translations command apply_parser = subparsers.add_parser('apply-translations', help='Apply translations from JSON file') apply_parser.add_argument('--translations-file', required=True, help='JSON file with translations') - apply_parser.add_argument('--no-backup', action='store_true', help='Skip backup creation') + apply_parser.add_argument('--backup', action='store_true', help='Create backup before modifying files') args = parser.parse_args() @@ -323,7 +305,10 @@ def main(): return merger = TranslationMerger(args.locales_dir, args.ignore_file) - target_file = Path(args.locales_dir) / args.language / "translation.json" + + # Find translation file + lang_dir = Path(args.locales_dir) / args.language + target_file = lang_dir / "translation.toml" if args.command == 'add-missing': print(f"Adding missing translations to {args.language}...") @@ -332,7 +317,7 @@ def main(): mark_untranslated=args.mark_untranslated ) - merger._save_json(result['data'], target_file, backup=not args.no_backup) + merger._save_translation_file(result['data'], target_file, backup=args.backup) print(f"Added {result['added_count']} missing translations") elif args.command == 'extract-untranslated': @@ -355,7 +340,7 @@ def main(): else: translations = translations_data - result = merger.apply_translations(target_file, translations, backup=not args.no_backup) + result = merger.apply_translations(target_file, translations, backup=args.backup) if result['success']: print(f"Applied {result['applied_count']} translations") diff --git a/scripts/translations/validate_json_structure.py b/scripts/translations/validate_json_structure.py index 3f071c5be..102bc154c 100644 --- a/scripts/translations/validate_json_structure.py +++ b/scripts/translations/validate_json_structure.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 """ -Validate JSON structure and formatting of translation files. +Validate TOML structure and formatting of translation files. Checks for: -- Valid JSON syntax +- Valid TOML syntax - Consistent key structure with en-GB - Missing keys - Extra keys not in en-GB @@ -18,6 +18,7 @@ import sys from pathlib import Path from typing import Dict, List, Set import argparse +import tomllib # Python 3.11+ (stdlib) def get_all_keys(d: dict, parent_key: str = '', sep: str = '.') -> Set[str]: @@ -31,14 +32,12 @@ def get_all_keys(d: dict, parent_key: str = '', sep: str = '.') -> Set[str]: return keys -def validate_json_file(file_path: Path) -> tuple[bool, str]: - """Validate that a file contains valid JSON.""" +def validate_translation_file(file_path: Path) -> tuple[bool, str]: + """Validate that a file contains valid TOML.""" try: - with open(file_path, 'r', encoding='utf-8') as f: - json.load(f) - return True, "Valid JSON" - except json.JSONDecodeError as e: - return False, f"Invalid JSON at line {e.lineno}, column {e.colno}: {e.msg}" + with open(file_path, 'rb') as f: + tomllib.load(f) + return True, "Valid TOML" except Exception as e: return False, f"Error reading file: {str(e)}" @@ -101,9 +100,15 @@ def print_validation_result(result: Dict, verbose: bool = False): print("-" * 100) +def load_translation_file(file_path: Path) -> dict: + """Load TOML translation file.""" + with open(file_path, 'rb') as f: + return tomllib.load(f) + + def main(): parser = argparse.ArgumentParser( - description='Validate translation JSON structure' + description='Validate translation TOML structure' ) parser.add_argument( '--language', @@ -125,21 +130,21 @@ def main(): # Define paths locales_dir = Path('frontend/public/locales') - en_gb_path = locales_dir / 'en-GB' / 'translation.json' + en_gb_path = locales_dir / 'en-GB' / 'translation.toml' + file_ext = '.toml' if not en_gb_path.exists(): print(f"❌ Error: en-GB translation file not found at {en_gb_path}") sys.exit(1) # Validate en-GB itself - is_valid, message = validate_json_file(en_gb_path) + is_valid, message = validate_translation_file(en_gb_path) if not is_valid: print(f"❌ Error in en-GB file: {message}") sys.exit(1) # Load en-GB structure - with open(en_gb_path, 'r', encoding='utf-8') as f: - en_gb = json.load(f) + en_gb = load_translation_file(en_gb_path) en_gb_keys = get_all_keys(en_gb) @@ -147,24 +152,26 @@ def main(): if args.language: languages = [args.language] else: - languages = [ - d.name for d in locales_dir.iterdir() - if d.is_dir() and d.name != 'en-GB' and (d / 'translation.json').exists() - ] + # Validate all languages except en-GB + languages = [] + for d in locales_dir.iterdir(): + if d.is_dir() and d.name != 'en-GB': + if (d / 'translation.toml').exists(): + languages.append(d.name) results = [] json_errors = [] # Validate each language for lang_code in sorted(languages): - lang_path = locales_dir / lang_code / 'translation.json' + lang_path = locales_dir / lang_code / 'translation.toml' if not lang_path.exists(): - print(f"⚠️ Warning: {lang_code}/translation.json not found, skipping") + print(f"⚠️ Warning: {lang_code}/translation.toml not found, skipping") continue - # First check if JSON is valid - is_valid, message = validate_json_file(lang_path) + # First check if file is valid + is_valid, message = validate_translation_file(lang_path) if not is_valid: json_errors.append({ 'language': lang_code, @@ -174,8 +181,7 @@ def main(): continue # Load and compare structure - with open(lang_path, 'r', encoding='utf-8') as f: - lang_data = json.load(f) + lang_data = load_translation_file(lang_path) lang_keys = get_all_keys(lang_data) result = validate_structure(en_gb_keys, lang_keys, lang_code) @@ -189,9 +195,9 @@ def main(): } print(json.dumps(output, indent=2, ensure_ascii=False)) else: - # Print JSON errors first + # Print syntax errors first if json_errors: - print("\n❌ JSON Syntax Errors:") + print("\n❌ Syntax Errors:") print("=" * 100) for error in json_errors: print(f"\nLanguage: {error['language']}") diff --git a/scripts/translations/validate_placeholders.py b/scripts/translations/validate_placeholders.py index ff73755ce..5ce18d288 100644 --- a/scripts/translations/validate_placeholders.py +++ b/scripts/translations/validate_placeholders.py @@ -15,6 +15,7 @@ import sys from pathlib import Path from typing import Dict, List, Set, Tuple import argparse +import tomllib # Python 3.11+ (stdlib) def find_placeholders(text: str) -> Set[str]: @@ -117,15 +118,16 @@ def main(): # Define paths locales_dir = Path('frontend/public/locales') - en_gb_path = locales_dir / 'en-GB' / 'translation.json' + en_gb_path = locales_dir / 'en-GB' / 'translation.toml' + file_ext = '.toml' if not en_gb_path.exists(): print(f"❌ Error: en-GB translation file not found at {en_gb_path}") sys.exit(1) # Load en-GB (source of truth) - with open(en_gb_path, 'r', encoding='utf-8') as f: - en_gb = json.load(f) + with open(en_gb_path, 'rb') as f: + en_gb = tomllib.load(f) en_gb_flat = flatten_dict(en_gb) @@ -134,23 +136,25 @@ def main(): languages = [args.language] else: # Validate all languages except en-GB - languages = [ - d.name for d in locales_dir.iterdir() - if d.is_dir() and d.name != 'en-GB' and (d / 'translation.json').exists() - ] + languages = [] + for d in locales_dir.iterdir(): + if d.is_dir() and d.name != 'en-GB': + if (d / 'translation.toml').exists(): + languages.append(d.name) all_issues = [] # Validate each language for lang_code in sorted(languages): - lang_path = locales_dir / lang_code / 'translation.json' + lang_path = locales_dir / lang_code / 'translation.toml' if not lang_path.exists(): - print(f"⚠️ Warning: {lang_code}/translation.json not found, skipping") + print(f"⚠️ Warning: {lang_code}/translation.toml not found, skipping") continue - with open(lang_path, 'r', encoding='utf-8') as f: - lang_data = json.load(f) + # Load language file + with open(lang_path, 'rb') as f: + lang_data = tomllib.load(f) lang_flat = flatten_dict(lang_data) issues = validate_language(en_gb_flat, lang_flat, lang_code)