GeezerVison is showing github.com — Updated Italian translation for v9.15 by sbraaa · Pull Request #9906 · pgadmin-org/pgadmin4
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Review was skipped as selected files did not have any reviewable changes.
💤 Files selected but had no reviewable changes (2)
- web/pgadmin/translations/it/LC_MESSAGES/messages.mo
- web/pgadmin/translations/it/LC_MESSAGES/messages.po
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: a7098ba1-5596-4344-a601-f49504c7474c
📥 Commits
Reviewing files that changed from the base of the PR and between 2f211dc and febceb0.
📒 Files selected for processing (2)
web/pgadmin/translations/it/LC_MESSAGES/messages.mo
web/pgadmin/translations/it/LC_MESSAGES/messages.po
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.
Comment @coderabbitai help to get the list of available commands and usage tips.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Code review
Translation file is syntactically valid (msgfmt --check passes; no fuzzy or untranslated entries; .mo semantically matches .po). Found 1 functional issue:
-
Literal JSON keys/values translated in API validation error messages. The strings extracted from roles/__init__.py:280, 306, 385 are returned to API clients as validation error messages telling them the expected request format. The Italian translation has translated the literal JSON keys and boolean values (e.g., role → ruolo, admin → amministratore, inherit → eredita, set → imposta, True/False → Vero/Falso, 'added'/'deleted'/'updated' → 'aggiunto'/'eliminato'/'aggiornato'). An Italian-speaking user following this error message will construct a payload that the API rejects, since the underlying validators in _validate_input_dict_for_new still match on the English keys (['role', 'admin', 'inherit', 'set']).
|
"che rappresenta un array di\n" |
|
"oggetti JSON nel seguente formato:\n" |
|
"rolmembership:{\n" |
|
"'aggiunto': [{\n" |
|
"ruolo: [nomeruolo],\n" |
|
"amministratore: Vero/Falso,\n" |
|
"eredita: Vero/Falso,\n" |
|
"imposta: Vero/Falso,\n" |
|
"},\n" |
|
"...\n" |
|
"],\n" |
|
"'eliminato': [{\n" |
|
"ruolo: [nomeruolo],\n" |
|
"amministratore: Vero/Falso,\n" |
|
"eredita: Vero/Falso,\n" |
|
"imposta: Vero/Falso,\n" |
|
"},\n" |
|
"...\n" |
|
"],\n" |
|
"'aggiornato': [{\n" |
|
"ruolo: [nomeruolo],\n" |
|
"amministratore: Vero/Falso,\n" |
|
"eredita: Vero/Falso,\n" |
|
"imposta: Vero/Falso,\n" |
|
"},\n" |
|
"...\n" |
|
"]\n" |
|
|
|
#: pgadmin/browser/server_groups/servers/roles/__init__.py:438 |
|
#, python-brace-format |
|
msgid "" |
|
"\n" |
|
"Security Label must be passed as an array of JSON objects in the following\n" |
|
"format:\n" |
|
"seclabels:[{\n" |
|
" provider: <provider>,\n" |
|
" label: <label>\n" |
Source for context (server-side validation, English keys):
|
not self._validate_input_dict_for_new( |
|
data['rolmembers'], ['role', 'admin'])): |
|
return msg |
|
elif (self.manager.version >= 160000 and |
|
not self._validate_input_dict_for_new( |
|
data['rolmembers'], |
|
['role', 'admin', 'inherit', 'set'])): |
|
return msg |
|
|
Suggestion: keep the JSON keys, the True/False literals, and the 'added'/'deleted'/'updated' keys verbatim (only translate the surrounding prose). Compare with the existing seclabels block right below, where provider/label were correctly left in English.
Minor (not blocking):
- Original indentation inside the JSON examples was dropped, slightly hurting readability of the rendered error.
msgstr "${error.response?.data?.errormsg || errore?.message}" (line 10493) translates the JS identifier error to errore. In practice this entry is never matched at runtime because the source uses a backtick template literal that is evaluated before gettext() is called (
|
}).catch((error)=>{ |
|
console.error('Error during version check', error); |
|
pgAdmin.Browser.notifier.error(gettext(`${error.response?.data?.errormsg || error?.message}`)); |
|
}); |
|
}, |
), so it's harmless dead code, but the entry should remain identical to the msgid.
🤖 Generated with Claude Code
- If this code review was useful, please react with 👍. Otherwise, react with 👎.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I am merging this PR.
Please send an updated PR with these fixes.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
asheshv
added a commit
that referenced
this pull request
May 6, 2026
Adds entries for items that landed after the release notes were first
written:
- Housekeeping: #9906 (Italian translation update, merged from
origin/master).
- Test-suite stability: 208541c (ImportExportServersTestCase
sys.executable + subprocess error surfacing).
- Documentation (new subsection): 9923eef (clarification that
MAX_LOGIN_ATTEMPTS applies only to INTERNAL auth; LDAP / OAuth2 /
Kerberos / Webserver brute-force protection is the upstream IdP's
and reverse-proxy's responsibility).
- Dependencies (new subsection): the cumulative non-breaking
dependabot updates aggregated for v9.15, organized by Python /
JavaScript (web/) / JavaScript (runtime/), listing the
package-level diffs without commit-keyed framing. Covers both
aggregating commits (d55ffe4 and 4330a68) so a reader looking
for "what versions did 9.15 ship with" finds it in one place.
Sphinx build remains clean for release_notes_9_15.rst.
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|