Project

General

Profile

Feature #17003

tails-security-check doesn't support language codes with 3 characters

Added by sajolida 6 months ago. Updated 6 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Internationalization
Target version:
-
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

Line 60 of tails-security-check seems to assume that the language part of a locale code is 3 characters long:

    my ($code) = ($ENV{LANG} =~ m/([a-z]{2}).*/);

Some language codes are 3 characters long. For example, in /usr/share/locale/:

  • ace
  • ach
  • ang
  • anp
  • ast
  • bal
  • bar
  • brx
  • byn
  • chr
  • etc.

Related issues

Related to Tails - Feature #17002: Do stats on the languages in which people start Tails Resolved
Duplicates Tails - Feature #6001: Fix locales format based on wrong assumption Confirmed

History

#1 Updated by sajolida 6 months ago

  • Related to Feature #17002: Do stats on the languages in which people start Tails added

#2 Updated by intrigeri 6 months ago

  • Duplicates Feature #6001: Fix locales format based on wrong assumption added

#3 Updated by intrigeri 6 months ago

  • Status changed from New to Duplicate

Also available in: Atom PDF