Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Dockerfile text eol=lf

# Keep Babel's JavaScript source references consistent across platforms.
*.js text eol=lf

# Match the C# line endings required by .editorconfig on every platform.
*.cs text eol=crlf
15 changes: 9 additions & 6 deletions .github/workflows/localize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
PYTHON_VERSION: '3.14'

on:
pull_request:
push:
branches:
- master
Expand Down Expand Up @@ -44,19 +45,21 @@ jobs:
- name: Update Strings
run: uv run --locked --no-build --no-sync python ./scripts/localize.py --extract

- name: git diff
- name: Check locale template
run: |
# disable the pager
git config --global pager.diff false

# print the git diff
git diff locale/themerr.po
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
git --no-pager diff --exit-code -- locale/themerr.po
else
git --no-pager diff -- locale/themerr.po
fi

- name: Get current date
if: ${{ github.event_name != 'pull_request' }}
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"

- name: Create/Update Pull Request
if: ${{ github.event_name != 'pull_request' }}
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
add-paths: |
Expand Down
12 changes: 6 additions & 6 deletions locale/themerr.po
Original file line number Diff line number Diff line change
Expand Up @@ -651,27 +651,27 @@ msgstr ""
msgid "No cookies saved"
msgstr ""

#: web/js/config.js:82 web/js/config.js:124
#: web/js/config.js:81 web/js/config.js:123
msgid "Unsaved changes"
msgstr ""

#: web/js/config.js:90
#: web/js/config.js:89
msgid "Discard unsaved settings changes?"
msgstr ""

#: web/js/config.js:124 web/templates/config.html:40
#: web/js/config.js:123 web/templates/config.html:40
msgid "All changes saved."
msgstr ""

#: web/js/config.js:126
#: web/js/config.js:125
msgid "Settings saved. Network changes take effect after restarting Themerr."
msgstr ""

#: web/js/config.js:130
#: web/js/config.js:129
msgid "Unable to save changes."
msgstr ""

#: web/js/config.js:138
#: web/js/config.js:137
msgid "Save your settings changes before changing your password."
msgstr ""

Expand Down
Loading