Skip to content

Error: Invalid language tag: c #854

@SwirlyStone5877

Description

@SwirlyStone5877

Describe the bug

Happens when I have no language set (Linux defaults to C, often that being an alias en_GB)

Reproduction

  1. have no language
  2. open sable
  3. go to a space

Expected behavior

It shouldn't die.

Platform and versions

  • OS: Linux x86_64
  • Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Sable/0.0.1 Chrome/144.0.7559.177 Electron/40.6.0 Safari/537.36 Electron release from 1.0.0 unpacked from its AppImage using --appimage-extract on an Alpine Linux system.
  • Sable: v1.16.1 (1f6b87b)

Additional context

Automated Bug Report

Error occurred in the application.

Error Message

Invalid language tag: c

Stacktrace

RangeError: Invalid language tag: c
    at new NumberFormat (<anonymous>)
    at qW (https://app.sable.moe/assets/index-BoRItzIQ.js:167217:12)
    at vkt (https://app.sable.moe/assets/index-BoRItzIQ.js:167247:28)
    at fA (https://app.sable.moe/assets/index-BoRItzIQ.js:23433:155)
    at OG (https://app.sable.moe/assets/index-BoRItzIQ.js:25933:25)
    at AG (https://app.sable.moe/assets/index-BoRItzIQ.js:25695:15)
    at qSe (https://app.sable.moe/assets/index-BoRItzIQ.js:25689:29)
    at bD (https://app.sable.moe/assets/index-BoRItzIQ.js:25679:11)
    at NA (https://app.sable.moe/assets/index-BoRItzIQ.js:25467:83)
    at TG (https://app.sable.moe/assets/index-BoRItzIQ.js:25420:59)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions