You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2026/06/15 18:36:57 UTC

Re: [PR] fix: rename 'Subtotal' to 'Subvalue' in pivot tables [superset]

github-actions[bot] commented on PR #37458:
URL: https://github.com/apache/superset/pull/37458#issuecomment-4711121534

   <!-- translation-regression-bot -->
   ## ⚠️ Translation Regression Detected
   
   This PR causes existing translations to become fuzzy or be removed in `ar`, `ca`, `cs`, `de`, `fr`, `ja`, `lv`, `mi`, `nl`, `ru`, `sk`, `sl`, `uk`. Please fix the affected `.po` files before merging.
   
   | Language | Before | After | Lost |
   |----------|-------:|------:|-----:|
   | `ar` | 3334 | 3333 | -1 |
   | `ca` | 3821 | 3819 | -2 |
   | `cs` | 4032 | 4030 | -2 |
   | `de` | 3565 | 3564 | -1 |
   | `fr` | 3730 | 3728 | -2 |
   | `ja` | 4501 | 4499 | -2 |
   | `lv` | 4528 | 4526 | -2 |
   | `mi` | 3842 | 3840 | -2 |
   | `nl` | 3355 | 3354 | -1 |
   | `ru` | 4509 | 4507 | -2 |
   | `sk` | 4049 | 4047 | -2 |
   | `sl` | 3611 | 3610 | -1 |
   | `uk` | 4530 | 4528 | -2 |
   
   ### How to fix
   
   **1. Install dependencies** (if not already set up):
   
   ```bash
   pip install -r superset/translations/requirements.txt
   sudo apt-get install gettext   # or: brew install gettext
   ```
   
   **2. Re-extract strings and sync `.po` files:**
   
   ```bash
   ./scripts/translations/babel_update.sh
   ```
   
   This rewrites `superset/translations/messages.pot` from the current source files and merges the changes into every `.po` file. Strings whose `msgid` changed will be marked `#, fuzzy`.
   
   **3. Resolve the fuzzy entries** in the affected language files (`ar`, `ca`, `cs`, `de`, `fr`, `ja`, `lv`, `mi`, `nl`, `ru`, `sk`, `sl`, `uk`):
   
   ```bash
   grep -n '#, fuzzy' superset/translations/<lang>/LC_MESSAGES/messages.po
   ```
   
   For each fuzzy entry, either rewrite the `msgstr` to match the new string and remove the `#, fuzzy` line, or clear the `msgstr` to `""` if you cannot provide a translation.
   
   **4. Commit your changes to the `.po` files.**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org