public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Shannon Sterz" <s.sterz@proxmox.com>, <pve-devel@lists.proxmox.com>
Subject: Re: [PATCH manager 1/2] ui: add translation notes for prefix lists
Date: Mon, 18 May 2026 15:13:53 +0200	[thread overview]
Message-ID: <DILTVEB3219R.307USG5U7640C@proxmox.com> (raw)
In-Reply-To: <20260518121625.247708-2-s.sterz@proxmox.com>

On Mon May 18, 2026 at 2:16 PM CEST, Shannon Sterz wrote:
> Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
> ---
>  www/manager6/dc/Config.js           |  3 +++
>  www/manager6/sdn/PrefixListPanel.js | 24 +++++++++++++++++++++++-
>  2 files changed, 26 insertions(+), 1 deletion(-)
>
> diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
> index 954e0791a..6611061d0 100644
> --- a/www/manager6/dc/Config.js
> +++ b/www/manager6/dc/Config.js
> @@ -320,6 +320,9 @@ Ext.define('PVE.dc.Config', {
>                  {
>                      xtype: 'pveSDNPrefixLists',
>                      groups: ['sdn'],
> +                    // TRANSLATORS: Refers to an FRR prefix list, some
> +                    // languages may prefer to keep "prefix list" as-is:
> +                    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>                      title: gettext('Prefix Lists'),
>                      hidden: true,
>                      iconCls: 'fa fa-list-ol',
> diff --git a/www/manager6/sdn/PrefixListPanel.js b/www/manager6/sdn/PrefixListPanel.js
> index 451ff9646..af40dc950 100644
> --- a/www/manager6/sdn/PrefixListPanel.js
> +++ b/www/manager6/sdn/PrefixListPanel.js
> @@ -11,7 +11,11 @@ Ext.define('PVE.sdn.PrefixListEntry', {
>  Ext.define('PVE.sdn.EditPrefixListWindow', {
>      extend: 'Proxmox.window.Edit',
>
> -    subject: gettext('Prefix List'),
> +
> +    // TRANSLATORS: Refers to an FRR prefix list, some languages may prefer to
> +    // keep "prefix list" as-is:
> +    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list subject:
> +    gettext('Prefix List'),

just noticed the formatting got mangeled here, i'll update this in a v2
and include the capitalization alignment as an extra patch there.

>
>      url: '/cluster/sdn/prefix-lists',
>
> @@ -42,6 +46,9 @@ Ext.define('PVE.sdn.EditPrefixListEntryWindow', {
>      extend: 'Proxmox.window.Edit',
>      mixins: ['Proxmox.Mixin.CBind'],
>
> +    // TRANSLATORS: Refers to an FRR prefix list, some languages may prefer to
> +    // keep "prefix list" as-is:
> +    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>      subject: gettext('Prefix List Entry'),
>
>      baseUrl: '/cluster/sdn/prefix-lists',
> @@ -126,6 +133,9 @@ Ext.define('PVE.sdn.PrefixListView', {
>      extend: 'Ext.grid.GridPanel',
>      alias: ['widget.pveSDNPrefixListView'],
>
> +    // TRANSLATORS: Refers to an FRR prefix list, some languages may prefer to
> +    // keep "prefix list" as-is:
> +    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>      emptyText: gettext('No prefix list configured'),
>
>      tbar: [
> @@ -188,6 +198,9 @@ Ext.define('PVE.sdn.PrefixListEntriesView', {
>      extend: 'Ext.grid.GridPanel',
>      alias: ['widget.pveSDNPrefixListEntriesView'],
>
> +    // TRANSLATORS: Refers to an FRR prefix list, some languages may prefer to
> +    // keep "prefix list" as-is:
> +    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>      emptyText: gettext('Prefix List has no entries configured.'),
>
>      config: {
> @@ -279,6 +292,9 @@ Ext.define('PVE.sdn.PrefixListPanel', {
>      extend: 'Ext.panel.Panel',
>      alias: ['widget.pveSDNPrefixLists'],
>
> +    // TRANSLATORS: Refers to an FRR prefix list, some languages may prefer to
> +    // keep "prefix list" as-is:
> +    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>      emptyText: gettext('No prefix list configured'),
>
>      viewModel: {
> @@ -287,7 +303,13 @@ Ext.define('PVE.sdn.PrefixListPanel', {
>                  let selection = get('prefixListGrid.selection');
>
>                  return selection
> +                    // TRANSLATORS: Refers to an FRR prefix list, some
> +                    // languages may prefer to keep "prefix list" as-is:
> +                    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>                      ? gettext('Prefix List has no entries configured.')
> +                    // TRANSLATORS: Refers to an FRR prefix list, some
> +                    // languages may prefer to keep "prefix list" as-is:
> +                    // https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list
>                      : gettext('no Prefix List selected');
>              },
>          },





  reply	other threads:[~2026-05-18 13:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18 12:16 [PATCH manager 0/2] add translation notes for prefix lists and route maps Shannon Sterz
2026-05-18 12:16 ` [PATCH manager 1/2] ui: add translation notes for prefix lists Shannon Sterz
2026-05-18 13:13   ` Shannon Sterz [this message]
2026-05-18 12:16 ` [PATCH manager 2/2] ui: add translation notes for route maps Shannon Sterz
2026-05-18 12:37 ` [PATCH manager 0/2] add translation notes for prefix lists and " Gabriel Goller
2026-05-18 12:51   ` Shannon Sterz
2026-05-18 12:56     ` Gabriel Goller
2026-05-18 13:32 ` Superseded: " Shannon Sterz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DILTVEB3219R.307USG5U7640C@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal