aboutsummaryrefslogtreecommitdiff
path: root/common/src/node.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-01-23 17:41:45 +0100
committermetamuffin <metamuffin@disroot.org>2026-01-23 17:41:45 +0100
commit774f64c0789529884dd7a5232f190e347ad29532 (patch)
tree6eb85388837c993a054fba5ca59fdd329f5b5840 /common/src/node.rs
parent3671a4e07565c86f8071fb2309f463aeaf684ba3 (diff)
downloadjellything-774f64c0789529884dd7a5232f190e347ad29532.tar
jellything-774f64c0789529884dd7a5232f190e347ad29532.tar.bz2
jellything-774f64c0789529884dd7a5232f190e347ad29532.tar.zst
move locale code to own crate
Diffstat (limited to 'common/src/node.rs')
-rw-r--r--common/src/node.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/common/src/node.rs b/common/src/node.rs
index 3163dc5..60544e2 100644
--- a/common/src/node.rs
+++ b/common/src/node.rs
@@ -38,7 +38,7 @@ fields! {
TR_SOURCE: Object = 17 "source";
TR_NAME: &str = 18 "name";
TR_CODEC: &str = 19 "codec";
- TR_LANGUAGE: Tag = 20 "language";
+ TR_LANGUAGE: &str = 20 "language"; // BCP 47
TR_RATE: f64 = 23 "rate";
TR_BIT_DEPTH: u32 = 25 "bit_depth";
TR_CHANNELS: u32 = 28 "channels";
@@ -52,12 +52,6 @@ fields! {
CH_END: f64 = 30 "end";
CH_NAME: &str = 31 "name";
- LANG_UND: &str = 40 "und";
- LANG_NATIVE: &str = 41 "native";
- LANG_ENG: &str = 42 "eng";
- LANG_DEU: &str = 43 "deu";
- LANG_JPN: &str = 44 "jpn";
-
PICT_COVER: &str = 45 "cover";
PICT_BACKDROP: &str = 46 "backdrop";
@@ -95,7 +89,6 @@ fields! {
}
pub type Kind = Tag;
-pub type Language = Tag;
enums! {
VISI_HIDDEN = 76 "hidden";