diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-09 14:35:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 14:35:46 +0200 |
commit | 0ef2051cfb507f12755ca5c1ca68decfc67332af (patch) | |
tree | fdd7a3da6b7a56494ef216355956d7523f48a785 | |
parent | 25ed9cd4c9c657a58d4cf351256b19cf355da9d3 (diff) | |
download | FlightCore-0ef2051cfb507f12755ca5c1ca68decfc67332af.tar.gz FlightCore-0ef2051cfb507f12755ca5c1ca68decfc67332af.zip |
feat: Add category in changelog for i18n (#324)
-rw-r--r-- | src-tauri/src/constants.rs | 4 | ||||
-rw-r--r-- | 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>) -> String { "build" => "**Build:**", "test" => "**Tests:**", "chore" => "**Chores:**", + "i18n" => "**Translations:**", _ => "**Other:**", }; |