Skip to content

Commit f5c0ae6

Browse files
committed
test release diff
1 parent 8e0f27e commit f5c0ae6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/monitor-localisation-file-changes.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
git fetch origin
2525
# Get the diff from the push
2626
# Get only the changed lines from the diff
27-
DIFF="$(git diff -U0 ${{github.event.before}} ${{github.event.after}} -- source/locale/en/*.dic | grep '^[+-]')"
27+
# DIFF="$(git diff -U0 ${{github.event.before}} ${{github.event.after}} -- source/locale/en/*.dic | grep '^[+-]')"
28+
DIFF="$(git diff -U0 release-2024.1 origin/master -- source/locale/en/*.dic | grep '^[+-]')"
2829
DOUBLE_SPACED_DIFF=$(echo "$DIFF" | sed G)
2930
# Store diff in multi-line environment variable
3031
echo "DIFF<<EOF"$'\n'"$DIFF"$'\n'EOF >> $GITHUB_OUTPUT
@@ -38,7 +39,7 @@ jobs:
3839
username: ${{ secrets.EMAIL_USERNAME }}
3940
password: ${{ secrets.EMAIL_PASSWORD }}
4041
subject: "Changes detected in localisation files"
41-
to: sean@nvaccess.org # nvda-l10n@nvaccess.org
42+
to: nvda-l10n@nvaccess.org
4243
from: '"NVDA localisations" <nvda-l10n@nvaccess.org>'
4344
convert_markdown: true
4445
body: |

source/locale/en/symbols.dic

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
complexSymbols:
66
# identifier regexp
7+
# Sentence endings.
78
. sentence ending (?<=[^\s.])\.(?=[\"'”’)\s]|$)
89
! sentence ending (?<=[^\s!])\!(?=[\"'”’)\s]|$)
910
? sentence ending (?<=[^\s?])\?(?=[\"'”’)\s]|$)
10-
# Sentence endings.
1111
# Phrase endings.
1212
; phrase ending (?<=[^\s;]);(?=\s|$)
1313
: phrase ending (?<=[^\s:]):(?=\s|$)
1414
# Series of dots used for visual presentation, e.g. in table of contents
15-
multiples . \.{4,}
15+
multiple . \.{4,}
1616
# Others
1717
decimal point (?<![^\d -])\.(?=\d)
1818
in-word ' (?<=[^\W_])['’]

0 commit comments

Comments
 (0)