Add Indonesia region
This commit is contained in:
@@ -178,6 +178,7 @@
|
|||||||
"cn": "China (cn)",
|
"cn": "China (cn)",
|
||||||
"ru": "Russia (ru)",
|
"ru": "Russia (ru)",
|
||||||
"af": "Afghanistan (af)",
|
"af": "Afghanistan (af)",
|
||||||
|
"id": "Indonesia (id)",
|
||||||
"other": "Other"
|
"other": "Other"
|
||||||
},
|
},
|
||||||
"themeMode": "Theme Mode",
|
"themeMode": "Theme Mode",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ enum Region {
|
|||||||
cn,
|
cn,
|
||||||
ru,
|
ru,
|
||||||
af,
|
af,
|
||||||
|
id,
|
||||||
other;
|
other;
|
||||||
|
|
||||||
String present(TranslationsEn t) => switch (this) {
|
String present(TranslationsEn t) => switch (this) {
|
||||||
@@ -12,6 +13,7 @@ enum Region {
|
|||||||
cn => t.settings.general.regions.cn,
|
cn => t.settings.general.regions.cn,
|
||||||
ru => t.settings.general.regions.ru,
|
ru => t.settings.general.regions.ru,
|
||||||
af => t.settings.general.regions.af,
|
af => t.settings.general.regions.af,
|
||||||
|
id => t.settings.general.regions.id,
|
||||||
other => t.settings.general.regions.other,
|
other => t.settings.general.regions.other,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -414,6 +414,13 @@ abstract class ConfigOptions {
|
|||||||
// outbound: RuleOutbound.bypass,
|
// outbound: RuleOutbound.bypass,
|
||||||
// ),
|
// ),
|
||||||
// ],
|
// ],
|
||||||
|
// Region.id => [
|
||||||
|
// const SingboxRule(
|
||||||
|
// domains: "domain:.id,geosite:id",
|
||||||
|
// ip: "geoip:id",
|
||||||
|
// outbound: RuleOutbound.bypass,
|
||||||
|
// ),
|
||||||
|
// ],
|
||||||
// _ => <SingboxRule>[],
|
// _ => <SingboxRule>[],
|
||||||
// };
|
// };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user