Skip to content

Commit 8910f55

Browse files
committed
feat(i18n): add Galician translation
1 parent 9ca7ef0 commit 8910f55

4 files changed

Lines changed: 1068 additions & 0 deletions

File tree

‎.config/crowdin.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export_languages:
1111
- de
1212
- es-ES
1313
- fr
14+
- gl
1415
- it
1516
- nl
1617
- "no"
@@ -42,6 +43,7 @@ files:
4243
de: "de"
4344
es-ES: "es"
4445
fr: "fr"
46+
gl: "gl"
4547
it: "it"
4648
nl: "nl"
4749
"no": "nb"

‎crates/openlogi-core/src/locale.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ pub const SUPPORTED: &[(&str, &str)] = &[
3535
("en", "English"),
3636
("es", "Español"),
3737
("fr", "Français"),
38+
("gl", "Galego"),
3839
("it", "Italiano"),
3940
("nl", "Nederlands"),
4041
("nb", "Norsk"),
@@ -173,6 +174,8 @@ mod tests {
173174
assert_eq!(match_supported("it"), Some("it"));
174175
assert_eq!(match_supported("it-IT"), Some("it"));
175176
assert_eq!(match_supported("fr-FR"), Some("fr"));
177+
assert_eq!(match_supported("gl"), Some("gl"));
178+
assert_eq!(match_supported("gl-ES"), Some("gl"));
176179
assert_eq!(match_supported("de"), Some("de"));
177180
assert_eq!(match_supported("ko-KR"), Some("ko"));
178181
assert_eq!(match_supported("pt"), Some("pt-PT"));

0 commit comments

Comments
 (0)