Skip to content

Commit

Permalink
Fixed generating translations from XML files (bsc#1083015)
Browse files Browse the repository at this point in the history
- 4.0.4
  • Loading branch information
lslezak committed Mar 1, 2018
1 parent 73f4a59 commit 39c48c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-tools/scripts/gettextdomains
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function get_domains_and_err()
# - false matches of comments inside strings
# - uncaught _( at line beginning
MATCH=`perl -n -e 'print "$ARGV: $_" if not /(^\s*\/\/|^\s*#[^\{])/' $F | \
perl -n -e 'print "$_" if /[^[:alnum:]_"<](_|__|gettext)\(/../\)/'`
perl -n -e 'print "$_" if /<label>|[^[:alnum:]_"<](_|__|gettext)\(/../\)/'`
if [ -n "$MATCH" ]; then
TR_FILES="$F $TR_FILES" ;
fi
Expand Down
7 changes: 7 additions & 0 deletions package/yast2-devtools.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 1 07:41:49 UTC 2018 - lslezak@suse.cz

- Fixed generating translations from XML (*.glade) files
(related to bsc#1083015)
- 4.0.4

-------------------------------------------------------------------
Tue Feb 27 14:52:17 UTC 2018 - jreidinger@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-devtools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-devtools
Version: 4.0.3
Version: 4.0.4
Release: 0
Url: http://github.com/yast/yast-devtools

Expand Down

0 comments on commit 39c48c0

Please sign in to comment.