Skip to content

Commit

Permalink
Merge pull request #132 from garbear/rename-settings
Browse files Browse the repository at this point in the history
Rename single settings category from "Settings" to "General"
  • Loading branch information
garbear authored Sep 1, 2024
2 parents 936731c + 02f41ad commit 43ceac2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ msgid "{{ regex_replace(game.disclaimer_english, '"', '\\"') }}"
msgstr ""
{% endif %}
{% if strings %}

msgctxt "#30000"
msgid "Settings"
msgstr ""
{% for string in strings %}

msgctxt "#{{ string.id }}"
Expand Down
2 changes: 1 addition & 1 deletion templates/addon/{{ game.addon }}/resources/settings.xml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% if settings %}
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="30000">
<category label="128">
{% for setting in settings %}
<setting label="{{ setting.label }}" type="select" id="{{ setting.id | e }}" values="{{ setting['values']|join('|') | e }}" default="{{ setting.default | e }}"/>
{% endfor %}
Expand Down

0 comments on commit 43ceac2

Please sign in to comment.