From 0ef2051cfb507f12755ca5c1ca68decfc67332af Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Tue, 9 May 2023 14:35:46 +0200 Subject: feat: Add category in changelog for i18n (#324) --- src-tauri/src/constants.rs | 4 ++-- src-tauri/src/github/mod.rs | 1 + 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 { "build" => "**Build:**", "test" => "**Tests:**", "chore" => "**Chores:**", + "i18n" => "**Translations:**", _ => "**Other:**", }; -- cgit v1.2.3