Skip to content

i18n: drop ? from checkbox labels across all locales#6707

Open
vlsi wants to merge 1 commit into
apache:masterfrom
vlsi:i18n-drop-checkbox-question-marks
Open

i18n: drop ? from checkbox labels across all locales#6707
vlsi wants to merge 1 commit into
apache:masterfrom
vlsi:i18n-drop-checkbox-question-marks

Conversation

@vlsi
Copy link
Copy Markdown
Collaborator

@vlsi vlsi commented May 28, 2026

What

Drop the trailing question mark from checkbox labels (and two boolean table-column headers) in every locale: en, de, es, fr, ja, ko, pl, pt_BR, tr, zh_CN, zh_TW. This covers the same 27 resourceids that lost their ? in the Russian translation in 9aa4e54.

  • Spanish also loses the opening ¿ so no unmatched mark is left behind.
  • The CJK files use a full-width (U+FF1F); that is removed too.
  • Three CJK strings were phrased as full questions rather than a statement plus a mark, so they are reworded to declarative form: ja clear_cookies_per_iter, ko if_controller_evaluate_all, ko ldap_trust_all.
  • The encode? key name is untouched; only its value changes.

Why

A checkbox label is a statement, not a question. The trailing ? was an inconsistent carry-over from the original English strings (some even had a stray space before the mark). 9aa4e54 fixed this for Russian; this change applies the same convention to the remaining locales.

How to verify

  • ./gradlew :src:dist-check:test passes (resource-bundle consistency check): 2103 tests, 0 failures.
  • The widget for each resourceid is a checkbox or a boolean table-column cell, so the labels render as plain options.

🤖 Generated with Claude Code

@vlsi vlsi force-pushed the i18n-drop-checkbox-question-marks branch 2 times, most recently from e66ca98 to 6c4b4d8 Compare May 28, 2026 08:53
Follow-up to 9aa4e54 (ru). The same 27 resourceids render as
checkboxes (and two boolean table-column headers, encode? and
include_equals) in every locale, so the trailing `?` is dropped
in en, de, es, fr, ja, ko, pl, pt_BR, tr, zh_CN, zh_TW. Spanish
also loses the opening `¿`; the CJK files lose the full-width `?`.

Two more messages checkboxes carried a `?` only in the French
value while English was already clean: clear_cache_each_iteration
(DNSCachePanel) and proxy_regex (ProxyControlGui).

TestBean components were missed by the messages-only walk. The
boolean properties below render as checkboxes, so their
`.displayName` labels and `.shortDescription` tooltips drop the
`?` too (es `¿…?`, CJK `?` handled as well):

* CSVDataSet: recycle, stopThread, quotedData
* RandomVariableConfig: perThread
* DebugSampler / DebugPostProcessor: displayJMeterProperties,
  displayJMeterVariables, displaySamplerProperties,
  displaySystemProperties

Strings phrased as full questions rather than a statement plus
`?` are reworded to declarative form: the CJK messages keys
(clear_cookies_per_iter ja, if_controller_evaluate_all ko,
ldap_trust_all ko), the German Debug tooltips, the CSVDataSet
recycle/stopThread/quotedData tooltips in en/de/es/fr/ko/pl/tr/zh_CN,
and two non-dialog labels where one locale had added a question:
include_path (de, FilePanel) and sampler_on_error_action (pl,
TitledBorder).

Question marks are kept where they belong: dialog confirms and
titles (save?, revert_project?, template_load?, cancel_*,
remove_confirm_*, should_save, web_parameters_lost_message,
ask_existing_file, schematic_view_outputfile), the help_node menu
item and property_returnvalue_param description, and the literal
`?` in the Bolt URI example.

The user manual (component_reference.xml and two build-*.xml
tutorials) is synced to the new labels; changes_history is left
untouched. The encode? key name is untouched; only its value
changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vlsi vlsi force-pushed the i18n-drop-checkbox-question-marks branch from 6c4b4d8 to b047959 Compare May 28, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant