Skip to content

TINY-12090: Added new language code help files #10324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spocke
Copy link
Member

@spocke spocke commented Apr 30, 2025

Related Ticket: TINY-12090

Description of Changes:

  • Added help files with new RFC5646 language codes

Pre-checks:

  • Changelog entry added
  • Tests have been added (if applicable)
  • Branch prefixed with feature/, hotfix/ or spike/

Review:

  • Milestone set
  • Docs ticket created (if applicable)

GitHub issues (if applicable):

  • Merge when 7.9 code freeze is done

Summary by CodeRabbit

  • New Features
    • Added keyboard navigation help documentation in multiple new languages: Bulgarian, French, Hebrew, Hungarian, Korean, Norwegian, Brazilian Portuguese, European Portuguese, Slovenian, Swedish, Thai, Simplified Chinese, and Traditional Chinese. These documents provide detailed, localized instructions for navigating the TinyMCE editor interface using keyboard shortcuts.

@spocke spocke added this to the 8.0 milestone Apr 30, 2025
@spocke spocke requested a review from a team as a code owner April 30, 2025 05:17
@spocke spocke requested review from TheSpyder and ltrouton April 30, 2025 05:17
Copy link

coderabbitai bot commented Apr 30, 2025

Walkthrough

This update introduces new localized HTML help files for keyboard navigation in the TinyMCE editor's help plugin. The additions cover a wide range of languages, including Bulgarian, French, Hebrew, Hungarian, Korean, Norwegian, Brazilian Portuguese, European Portuguese, Slovenian, Swedish, Thai, Simplified Chinese, and Traditional Chinese. Each file provides detailed, language-specific instructions on how to use keyboard shortcuts to navigate the TinyMCE user interface, including focusing on UI sections, moving between and within UI sections, activating menu and toolbar items, and navigating dialogs with or without tabs. No existing files or code were modified.

Changes

File(s) Change Summary
modules/tinymce/src/plugins/help/i18n/keynav/bg-BG.html Added Bulgarian HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/fr-FR.html Added French HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/he-IL.html Added Hebrew HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/hu-HU.html Added Hungarian HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/ko-KR.html Added Korean HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/nb-NO.html Added Norwegian HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/pt-BR.html Added Brazilian Portuguese HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/pt-PT.html Added European Portuguese HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/sl-SI.html Added Slovenian HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/sv-SE.html Added Swedish HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/th-TH.html Added Thai HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/zh-CN.html Added Simplified Chinese HTML help file for keyboard navigation instructions.
modules/tinymce/src/plugins/help/i18n/keynav/zh-TW.html Added Traditional Chinese HTML help file for keyboard navigation instructions.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant TinyMCE Editor
    participant Help Plugin

    User->>TinyMCE Editor: Opens Help dialog
    TinyMCE Editor->>Help Plugin: Requests keyboard navigation help
    Help Plugin->>Help Plugin: Detects user language
    Help Plugin->>Help Plugin: Loads corresponding localized HTML help file
    Help Plugin-->>TinyMCE Editor: Returns localized keyboard navigation instructions
    TinyMCE Editor-->>User: Displays localized help content
Loading

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 13

🔭 Outside diff range comments (1)
modules/tinymce/src/plugins/help/i18n/keynav/pt-BR.html (1)

91-93: ⚠️ Potential issue

Fix HTML tag nesting and translate terminology

There's a stray </strong> and missing closing </p>. Also update “guia” → “aba” in this context.

-<p>Alterne para outra guia da caixa de diálogo colocando o foco no menu da guia e pressionando a <strong>Seta</strong>
-  adequada para percorrer as guias disponíveis.</strong>
+<p>Alterne para outra aba da caixa de diálogo colocando o foco no menu de abas e pressionando a <strong>Seta</strong> adequada para percorrer as abas disponíveis.</p>
🧹 Nitpick comments (17)
modules/tinymce/src/plugins/help/i18n/keynav/zh-TW.html (3)

19-22: Translation clarity for underlined state.
Consider refining the phrasing “則加底線” to “則以底線顯示” for greater clarity in Chinese.


23-39: Consistent “的” particle in list items.
Items 5 (“頁尾中字數切換按鈕”) and 7 (“頁尾中編輯器調整大小控點”) are missing the “的” particle present in other list entries. For consistency, please update them to “頁尾中的字數切換按鈕” and “頁尾中的編輯器調整大小控點”:

<ol>
-  <li>頁尾中字數切換按鈕</li>
+  <li>頁尾中的字數切換按鈕</li>
-  <li>頁尾中編輯器調整大小控點</li>
+  <li>頁尾中的編輯器調整大小控點</li>
</ol>

46-68: Refine “兩個 UI 元素之間” phrasing.
The phrase “在兩個 UI 元素之間移動” may imply exactly two elements. Consider changing it to “在 UI 元素之間移動” to more accurately mirror the source text “move between UI elements.”

-<p>在兩個 UI 元素之間移動,請按適當的<strong>方向</strong>鍵。</p>
+<p>在 UI 元素之間移動,請按適當的<strong>方向</strong>鍵。</p>
modules/tinymce/src/plugins/help/i18n/keynav/pt-PT.html (1)

5-6: Non-breaking Spaces for Key Combos
To prevent awkward line-breaks in narrow viewports, consider using non-breaking spaces around the “+” in key combinations (e.g., Alt&nbsp;+&nbsp;F9).

modules/tinymce/src/plugins/help/i18n/keynav/he-IL.html (2)

1-18: Add lang and dir attributes for accessibility and proper RTL rendering.

Right now the file is a plain HTML fragment. To ensure screen readers and browsers render the Hebrew content correctly, wrap the content in a container (e.g. <div> or the root <html> in the template) with lang="he-IL" and dir="rtl". This will align with accessibility best practices for RTL languages.


5-6: Use a plus sign with the Option key symbol for clarity.

The macOS Option key is currently shown as &#x2325;F9 (and variants). For consistency with the Windows/Linux style (Alt+F9), consider including a “+” after the symbol (e.g. &#x2325;+F9), so it reads unambiguously as “Option + F9.”

Also applies to: 8-9, 11-12, 14-15, 17-18

modules/tinymce/src/plugins/help/i18n/keynav/zh-CN.html (2)

4-18: Use <kbd> elements for keyboard key semantics

To improve accessibility and maintain semantic HTML (and align with web standards for representing keyboard input), replace occurrences of <strong> around key names and plain-text key combos with <kbd> elements. For example:

-  <dd>Windows 或 Linux:Alt+F9</dd>
-  <dd>macOS:&#x2325;F9</dd>
+  <dd>Windows 或 Linux:<kbd>Alt</kbd>+<kbd>F9</kbd></dd>
+  <dd>macOS:<kbd>⌥</kbd>+<kbd>F9</kbd></dd>

Apply the same pattern to all instances of <strong> for Tab, Shift+Tab, 箭头键 (左/右/上/下), Esc, Return/Enter/空格 等.

Also applies to: 24-26, 46-49, 57-63, 66-69, 72-73, 78-79, 82-85


87-87: Ensure trailing newline

Please add a final newline at the end of this file to adhere to POSIX and repository formatting conventions.

modules/tinymce/src/plugins/help/i18n/keynav/nb-NO.html (3)

3-18: Ensure consistent non-breaking spaces around “+”
In the <dl> block, most OS shortcuts use non-breaking spaces around the “+” (e.g., Alt + F9), but line 14 reads Alt+F12. For visual consistency and to prevent awkward line wraps, please update it to:

-<dd>Windows eller Linux: Alt+F12</dd>
+<dd>Windows eller Linux: Alt + F12</dd>

50-57: Add missing colon for left/right arrow keys section
The paragraph preceding the list of left/right arrow key actions is missing a trailing colon. Please update for clarity:

-<p>De <strong>venstre</strong> og <strong>høyre</strong> piltastene</p>
+<p>De <strong>venstre</strong> og <strong>høyre</strong> piltastene:</p>

59-64: Add missing colon for up/down arrow keys section
Similarly, the up/down arrow key introduction needs a colon to match list formatting:

-<p><strong>Ned</strong>- og <strong>opp</strong>-piltastene</p>
+<p><strong>Ned</strong>- og <strong>opp</strong>-piltastene:</p>
modules/tinymce/src/plugins/help/i18n/keynav/sl-SI.html (1)

4-92: Enhance semantics: use <kbd> for key references & normalize key names
Key combinations are currently wrapped in <strong> or plain text (e.g., Alt + F9, shift + tabulatorko). For better accessibility and alignment with other TinyMCE locale files, consider:

  • Wrapping each key in <kbd>, e.g. <kbd>Alt</kbd> + <kbd>F9</kbd>.
  • Consistently capitalizing modifier keys (Shift, Ctrl, Alt, Cmd).

This improves screen-reader support and ensures uniform styling across all help files.

modules/tinymce/src/plugins/help/i18n/keynav/ko-KR.html (1)

4-18: Wrap keyboard shortcuts in <kbd> tags for consistency

To improve styling, accessibility, and alignment with other help files, enclose individual keys or key combinations in <kbd> elements. For example:

-  <dd>Windows 또는 Linux: Alt+F9</dd>
+  <dd>Windows 또는 Linux: <kbd>Alt</kbd>+<kbd>F9</kbd></dd>

Apply the same pattern to macOS (e.g., <kbd>&#x2325;</kbd>+<kbd>F9</kbd>) and the remaining entries.

modules/tinymce/src/plugins/help/i18n/keynav/fr-FR.html (1)

1-93: Enhance semantic markup and accessibility
– Wrap each keyboard shortcut in a semantic <kbd> tag (for example, <kbd>Alt+F9</kbd>) instead of relying solely on plain text or <strong>, which improves screen reader support.
– Revisit the heading hierarchy: multiple <h1> elements can confuse assistive technologies. Consider keeping one main <h1> and switching subsequent section titles to <h2> or <h3>.

modules/tinymce/src/plugins/help/i18n/keynav/bg-BG.html (1)

1-93: Improve semantic markup and heading structure
– Use <kbd> elements around key sequences (e.g., <kbd>Ctrl+F9</kbd>) to convey keyboard inputs semantically.
– Consolidate to a single <h1> and promote subordinate section titles to <h2>/<h3> to maintain a clear document outline for accessibility tools.

modules/tinymce/src/plugins/help/i18n/keynav/pt-BR.html (2)

20-22: Consolidate paragraph line breaks for readability

Splitting the sentence across two lines can make future edits harder. Consider merging into a single <p> tag and normalizing capitalization of “rodapé” (lowercase or uppercase based on style guide).

-<p>A navegação inicia no primeiro item da IU, que será destacado ou sublinhado no caso do primeiro item no
-  caminho do elemento Rodapé.</p>
+<p>A navegação inicia no primeiro item da IU, que será destacado ou sublinhado no caso do primeiro item no caminho do elemento rodapé.</p>

46-66: Refine arrow key section formatting and phrasing

To improve clarity and consistency:

  1. Add colons after the <p> headings.
  2. Use “entre” instead of “dentre” for more natural phrasing.
-<p>As teclas de seta <strong>Esquerda</strong> e <strong>Direita</strong></p>
+<p>As teclas de seta <strong>Esquerda</strong> e <strong>Direita</strong>:</p>

-<p>As teclas de seta <strong>Abaixo</strong> e <strong>Acima</strong></p>
+<p>As teclas de seta <strong>Abaixo</strong> e <strong>Acima</strong>:</p>

-<p>As teclas de <strong>Seta</strong> alternam dentre a seção da IU em foco.</p>
+<p>As teclas de <strong>Seta</strong> alternam entre as seções da IU em foco.</p>
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 497a4f6 and d606e13.

📒 Files selected for processing (13)
  • modules/tinymce/src/plugins/help/i18n/keynav/bg-BG.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/fr-FR.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/he-IL.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/hu-HU.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/ko-KR.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/nb-NO.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/pt-BR.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/pt-PT.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/sl-SI.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/sv-SE.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/th-TH.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/zh-CN.html (1 hunks)
  • modules/tinymce/src/plugins/help/i18n/keynav/zh-TW.html (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: task-list-completed
  • GitHub Check: Analyze (javascript)
  • GitHub Check: task-list-completed
🔇 Additional comments (37)
modules/tinymce/src/plugins/help/i18n/keynav/zh-TW.html (5)

1-18: Approve initial navigation mapping.
The <dl> block correctly lists keyboard shortcuts for focusing UI sections across platforms and follows existing conventions established by other locale files.


41-45: Approve conditional navigation notes.
The paragraphs correctly explain skipping hidden sections and the Shift+Tab behavior when the sidebar isn’t displayed.


70-77: Approve activation instructions.
The section on using Return, Enter, and Space is clear and consistent with other locales.


78-83: Approve non-tabbed dialog navigation.
Clear guidance on tabbing through non-tabbed dialogs; aligns well with the UX documentation.


84-92: Approve tabbed dialog navigation.
The instructions accurately mirror the English version and use proper markup for clarity.

modules/tinymce/src/plugins/help/i18n/keynav/th-TH.html (1)

1-93: Translation and markup look accurate
The Thai help file mirrors the English structure line-for-line, all HTML tags are balanced, and entities like ⌥ are correctly used for the Option key. File naming and path follow existing conventions. No changes needed.

modules/tinymce/src/plugins/help/i18n/keynav/pt-PT.html (6)

1-18: Markup and Translation Validation
The <h1> heading and the <dl> definition list are semantically correct. The translations for initiating keyboard navigation—especially the platform-specific key combos and the use of &#x2325; for the macOS Alt symbol—align with other language files and should render properly.


20-44: UI-Section Navigation Content
The paragraphs and the ordered list detailing “Navegar entre secções de IU” are well structured. The translation of UI section names (e.g., “Barra de menu”, “Caminho do elemento no rodapé”) is clear and consistent with Portuguese (Portugal) terminology.


46-67: Arrow-Key Navigation Details
The <h1> “Navegar nas secções de IU” and the following <ul> elements correctly describe the left/right and up/down arrow behaviors. The cyclical navigation note is also accurately conveyed.


68-72: Escape Key Behavior
The handling of the Esc key to close menus or exit navigation is succinctly captured and the translation is precise.


73-77: Executing Menu/Toolbar Items
The instructions under “Executar um item de menu ou botão da barra de ferramentas” are correct, and the translation of “Backspace” as “Retrocesso” plus “Enter”/“Barra de espaço” is appropriate.


78-92: Dialog Navigation Sections
Both “Navegar em diálogos sem separadores” and “Navegar em diálogos com separadores” sections use proper HTML tags and the translations faithfully mirror the English guidance.

modules/tinymce/src/plugins/help/i18n/keynav/he-IL.html (2)

20-21: Have a native speaker verify the Hebrew phrasing.

The sentence spanning lines 20–21 may read awkwardly or contain mistranslations. Please get a Hebrew-native reviewer to proofread and ensure it accurately conveys the intended meaning.


1-93: Overall structure follows existing patterns.

The file path, naming (he-IL.html), and markup (headings, lists, paragraphs, <dl> for key/value pairs) are consistent with other localized keynav help files. No missing closing tags or obvious HTML errors detected.

modules/tinymce/src/plugins/help/i18n/keynav/zh-CN.html (1)

1-87: Addition of new zh-CN keyboard navigation help file is well-structured and consistent

The new Simplified Chinese localization follows the established patterns for the help plugin’s i18n fragments—using <h1>, <dl>, <ol>, <ul>, and <p> appropriately—and covers all the required keyboard navigation sections. The file naming (zh-CN.html) matches the BCP-47 language code convention. No structural or content issues detected.

modules/tinymce/src/plugins/help/i18n/keynav/nb-NO.html (11)

1-2: The main heading (<h1>Starte tastaturnavigering</h1>) is correct and follows the pattern used in other localization files.


20-22: The introductory paragraph is clear and correctly formatted.


23-28: The “Navigere mellom grensesnittdeler” section and its explanatory paragraphs are well written.


29-39: The ordered list of interface parts is accurate and consistent with other language versions.


41-45: The conditional note about skipping absent interface parts reads correctly.


46-49: The “Navigere innenfor grensesnittdeler” heading and its introductory sentence are appropriate.


66-72: The instructions for closing menus (Esc key behavior) are clear and correctly translated.


73-77: The “Utføre et menyelement…” section is correctly formatted and matches other locales.


78-83: The dialog navigation without tabs section is accurate and well structured.


84-90: The dialog navigation with tabs section mirrors the original content and is correctly localized.


91-92: The closing paragraph is present and correctly terminated.

modules/tinymce/src/plugins/help/i18n/keynav/ko-KR.html (2)

1-93: Well-crafted Korean localization help file

The new help file covers all keyboard navigation scenarios clearly and mirrors the structure of other language versions. The translation is comprehensive and user-friendly.


91-93: Verify file completeness and trailing newline

The snippet ends abruptly around line 93 without a trailing newline or clear closure. Please confirm that this HTML fragment is complete, follows the pattern of other language files, and ends with a newline character.

modules/tinymce/src/plugins/help/i18n/keynav/hu-HU.html (1)

1-2:

✅ Verification successful

Verify header consistency across locales.
Ensure that "Billentyűzetes navigáció indítása" aligns with the English source ("Getting started with keyboard navigation") and other language files in this directory.


🏁 Script executed:

#!/bin/bash
# Compare the first <h1> line in en_US and hu-HU
echo "en_US:" && sed -n '1p' modules/tinymce/src/plugins/help/i18n/keynav/en_US.html
echo "hu-HU:" && sed -n '1p' modules/tinymce/src/plugins/help/i18n/keynav/hu-HU.html

Length of output: 319


🏁 Script executed:

#!/bin/bash
# List all locale files in keynav and print their first <h1> line
echo "Locale files and their <h1> headers in modules/tinymce/src/plugins/help/i18n/keynav:"
for file in modules/tinymce/src/plugins/help/i18n/keynav/*.html; do
  echo "$file"
  sed -n '1p' "$file"
done

Length of output: 15383


Keynav locale headers are consistent
The Hungarian header <h1>Billentyűzetes navigáció indítása</h1> correctly matches the English source (<h1>Begin keyboard navigation</h1>) and aligns with all other locale files in this directory. No changes needed.

modules/tinymce/src/plugins/help/i18n/keynav/fr-FR.html (1)

1-93: Overall LGTM
The French localization for the keyboard navigation help is comprehensive, correctly structured, and matches the patterns used in the other language files.

modules/tinymce/src/plugins/help/i18n/keynav/bg-BG.html (1)

1-93: Overall LGTM
The Bulgarian localization content is accurate, well‐organized, and consistent with the other new keynav files.

modules/tinymce/src/plugins/help/i18n/keynav/sv-SE.html (1)

1-92: Overall: File structure and markup are consistent with existing i18n keynav help files.

  • Proper use of headings (<h1>), definition list (<dl>), ordered list (<ol>), unordered list (<ul>), and paragraphs.
  • Indentation and tag closures are correct.
modules/tinymce/src/plugins/help/i18n/keynav/pt-BR.html (5)

3-18: Focus list markup and translation look correct

The <dl> structure for focusing UI regions is properly formed, and translations appear accurate. The use of &#x2325; for the Mac Option key is consistent with other locales.


23-28: Navigation between UI sections instructions are clear

The headings and <p> elements for moving between sections with Tab and Shift+Tab are accurate and well-translated.


29-39: Tab order list is accurate

The ordered list correctly reflects the Tab sequence. Ensure this matches the English version if any updates were made upstream.


40-45: Skipping absent UI sections is described correctly

The behavior when a section is absent is clear, and the translation flows naturally.


73-77:

❓ Verification inconclusive

Verify key name consistency for executing items

Check that the terminology for keys (Return, Enter, Barra de espaço) aligns with other locales’ naming conventions.


🏁 Script executed:

#!/bin/bash
# Validate consistent key names across keynav help files
fd keynav -t f -e html modules/tinymce/src/plugins/help/i18n | xargs rg -nE "Return|Enter|Barra de espaço"

Length of output: 505


Verify key name consistency across all keynav help files

Ensure that the key labels <strong>Return</strong>, <strong>Enter</strong>, and <strong>Barra de espaço</strong> in pt-BR match the terminology used by other locales. You can run:

#!/bin/bash
# List all keynav HTML files and search for those exact key names
fd -t f -e html modules/tinymce/src/plugins/help/i18n/*/keynav/*.html \
  | xargs -d '\n' rg -HnE '<strong>(Return|Enter|Barra de espaço)</strong>'

Review the output for each language and update any translations that deviate from the standard naming.

@spocke spocke requested review from a team, lorenzo-pomili, hamza0867, HAFRMO and ztomaszyk and removed request for a team April 30, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants