Skip to content

Display numbers are not correct in popup menu (NL) #2364

Closed
@JohnyP36

Description

Prerequisites

  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • using a new, unmodified browser profile.

Description

I am using Firefox version 107.0

In the settings of FF I set the language of my browser to Dutch.
Also I downloaded the Dutch version of uBlock.

As you can see in the screenshot below, the text of the popup is in Dutch.
However, the number counting (blocked since installation) does not follow the Dutch system, but the English/American.
This should not be the case.

Screenshots

afbeelding

afbeelding

afbeelding

A specific URL where the issue occurs.

popup menu

Steps to Reproduce

  1. Install Firefox and set the language in about:preferences to Dutch -- remove alternatives if there are any.
  2. Click on Choosing your preferred languages to display web pages and
    check the box Request English-language versions of web pages for enhanced privacy / Engelstalige versies van webpagina’s opvragen voor verbeterde privacy.
  3. Go to https://addons.mozilla.org/nl/firefox/addon/ublock-origin/ (the Dutch version of FF Add-ons)
    and download uBlock.
  4. Make sure you have more than a million blocked applications. For example, 1,234,000 (1.234 million).
  5. You will notice that uBlock displays this number as 1.234M instead of 1,234 milj.

Expected behavior

I expect the counting and display of numbers in the popup follows the language of the downloaded uBlock version.
So, if I install the uBlock from the Dutch version of Firefox Add-ons / AMO not only the language should be Dutch but also the way numbers are displayed in the popup.

Actual behavior

Language of popup is Dutch, but the way the numbers are displayed is in the English/American style (and not the Dutch system).

Configuration

uBlock Origin: 1.45.2
Firefox: 107
filterset (summary): 
  network: 76573
  cosmetic: 40477
  scriptlet: 16535
  html: 785
listset (total-discarded, last-updated): 
  removed: 
    ublock-badware: null
    ublock-privacy: null
    ublock-abuse: null
    ublock-quick-fixes: null
    urlhaus-1: null
    plowe-0: null
    NLD-0: null
  added: 
    https://fanboy.co.nz/enhancedstats.txt: 2989-10, 4m
    https://raw.githubusercontent.com/JohnyP36/Personal-List/main/Personal List (uBo).txt: 2271-0, 4m
  default: 
    user-filters: 1229-0, never
    ublock-filters: 32020-79, 4m
    ublock-unbreak: 1909-9, 4m
    easylist: 64686-188, 4m
    easyprivacy: 30848-1219, 4m
filterset (user): [array of 1173 redacted]
trustedset: 
  added: [array of 5 redacted]
  removed: 
    about-scheme
hostRuleset: 
  added: [array of 7 redacted]
urlRuleset: 
  added: [array of 9 redacted]
modifiedUserSettings: 
  advancedUserEnabled: true
  contextMenuEnabled: false
  suspendUntilListsAreLoaded: false
modifiedHiddenSettings: 
  autoCommentFilterTemplate: -
  cacheStorageAPI: indexedDB
  filterAuthorMode: true
  popupFontSize: 11px
  popupPanelLockedSections: 35
  popupPanelHeightMode: 1
  uiStyles: --popup-main-min-width: 168px; --popup-gap: 0.5em; --popup-gap-thin: calc(var(--popup-gap)/9); --popup-power-ink: rgb(0,110,254); --popup-ruleset-tool-surface: rgb(240,190,64); --popup-ruleset-tool-surface-hover: rgb(240,190,64); --popup-toolbar-surface: rgb(226,226,229); --popup-toolbar-surface-hover: rgb(32 18 58 / 40%); --popup-icon-x-ink: rgb(226,40,80);
  updateAssetBypassBrowserCache: true
supportStats: 
  allReadyAfter: 4183 ms (selfie)
  maxAssetCacheWait: 1517 ms
  unsuspendAfter: 2000 ms

Metadata

Assignees

No one assigned

    Labels

    externalissue involving an external factorinvalidnot a uBlock issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions