Skip to content

Commit

Permalink
Fix code of Norwegian Bokmål
Browse files Browse the repository at this point in the history
Changed from "bk" to "nb"

Relates: #25
  • Loading branch information
garfieldius committed Sep 21, 2023
1 parent a53b47f commit ce27598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/js/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var
"ms": "Malay",
"nl": "Dutch",
"no": "Norwegian",
"bk": "Norwegian (Bokmål)",
"nb": "Norwegian (Bokmål)",
"pl": "Polish",
"pt": "Portuguese",
"pt_BR": "Brazilian Portuguese",
Expand Down
2 changes: 1 addition & 1 deletion labels/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
XMLLegacy XMLType = "xml"
)

var xliffLangPrefix = regexp.MustCompile(`^(af|ar|bs|bg|ca|ch|cs|cy|da|de|el|eo|es|et|eu|fa|fi|fo|fr|fr_CA|gl|he|hi|hr|hu|is|it|ja|ka|kl|km|ko|lb|lt|lv|mi|mk|ms|nl|no|bk|pl|pt|pt_BR|ro|ru|rw|sk|sl|sn|sq|sr|sv|th|tr|uk|vi|zh|zh_CN|zh_HK|zh_Hans_CN)\.`)
var xliffLangPrefix = regexp.MustCompile(`^(af|ar|bs|bg|ca|ch|cs|cy|da|de|el|eo|es|et|eu|fa|fi|fo|fr|fr_CA|gl|he|hi|hr|hu|is|it|ja|ka|kl|km|ko|lb|lt|lv|mi|mk|ms|nl|no|nb|pl|pt|pt_BR|ro|ru|rw|sk|sl|sn|sq|sr|sv|th|tr|uk|vi|zh|zh_CN|zh_HK|zh_Hans_CN)\.`)

// New create a new Labels object for the given file
// That file should not exist yet, because its content will
Expand Down

0 comments on commit ce27598

Please sign in to comment.