GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Updated Italian translation for v9.15 by sbraaa · Pull Request #9906 · pgadmin-org/pgadmin4

Conversation

@sbraaa

@sbraaa sbraaa commented May 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sbraaa
Updated Italian translation for v9.15
febceb0
@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown

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:

  • 🔍 Trigger review
✨ 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@asheshv

asheshv commented May 5, 2026

Copy link
Copy Markdown
Contributor

Code review

Translation file is syntactically valid (msgfmt --check passes; no fuzzy or untranslated entries; .mo semantically matches .po). Found 1 functional issue:

  1. 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']).

    pgadmin4/web/pgadmin/translations/it/LC_MESSAGES/messages.po

    Lines 9241 to 9277 in febceb0

    "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):

    pgadmin4/web/pgadmin/browser/server_groups/servers/roles/__init__.py

    Lines 294 to 302 in febceb0

    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 (

    pgadmin4/web/pgadmin/browser/static/js/browser.js

    Lines 317 to 321 in febceb0

    }).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 👎.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@asheshv asheshv assigned sbraaa May 5, 2026
@asheshv

asheshv commented May 5, 2026

Copy link
Copy Markdown
Contributor

I am merging this PR.
Please send an updated PR with these fixes.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@asheshv
asheshv merged commit 4eb899c into pgadmin-org:master May 5, 2026
32 checks passed

Uh oh!

There was an error while loading. Please reload this page.

asheshv added a commit that referenced this pull request May 6, 2026
@asheshv
docs: round out v9.15 release notes with stragglers
d17616e
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@sbraaa sbraaa

Labels

None yet

Projects

None yet

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.

2 participants

@sbraaa @asheshv
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.