aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/constants.rs4
-rw-r--r--src-tauri/src/github/mod.rs1
2 files changed, 3 insertions, 2 deletions
diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs
index 6e294e55..43df0eeb 100644
--- a/src-tauri/src/constants.rs
+++ b/src-tauri/src/constants.rs
@@ -33,8 +33,8 @@ pub const TITANFALL2_ORIGIN_IDS: [&str; 2] = ["Origin.OFR.50.0001452", "Origin.O
pub const TITANFALL2_STEAM_ID: &str = "1237970";
// Order in which the sections for release notes should be displayed
-pub const SECTION_ORDER: [&str; 9] = [
- "feat", "fix", "docs", "style", "refactor", "build", "test", "chore", "other",
+pub const SECTION_ORDER: [&str; 10] = [
+ "feat", "fix", "docs", "style", "refactor", "build", "test", "i18n", "chore", "other",
];
// GitHub API endpoints for launcher/mods PRs
diff --git a/src-tauri/src/github/mod.rs b/src-tauri/src/github/mod.rs
index 12729de2..0493ada5 100644
--- a/src-tauri/src/github/mod.rs
+++ b/src-tauri/src/github/mod.rs
@@ -165,6 +165,7 @@ fn generate_flightcore_release_notes(commits: Vec<String>) -> String {
"build" => "**Build:**",
"test" => "**Tests:**",
"chore" => "**Chores:**",
+ "i18n" => "**Translations:**",
_ => "**Other:**",
};