Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/development'
Browse files Browse the repository at this point in the history
  • Loading branch information
gruppler committed Jun 20, 2016
2 parents 45bb7f5 + 70f1b2e commit 9ce4fb3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
10 changes: 7 additions & 3 deletions dist/js/app.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/app/board.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,8 @@ define(['app/messages', 'i18n!nls/main', 'lodash'], function (Messages, t, _) {
return;
}

if (ply && ply.evaluation && /'/.test(ply.evaluation)) {
m['player'+ply.player](t.Tak);
if (ply && ply.evaluation && /['"]/.test(ply.evaluation)) {
m['player'+ply.player](/"|''/.test(ply.evaluation) ? t.Tinue : t.Tak);
}

if (ply && ply.evaluation && /[!?]/.test(ply.evaluation)) {
Expand Down
2 changes: 1 addition & 1 deletion js/app/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ define(['lodash'], function (_) {
comment_grouped: '(\\s*\\{\\s*)([^}]*[^}\\s])?(\\s*\\}?)',
result: '(?:[\\s-]*(?:R-0|0-R|F-0|0-F|1-0|0-1|1\\/2-1\\/2))',
result_grouped: '([\\s-]*)(R-0|0-R|F-0|0-F|1-0|0-1|1\\/2-1\\/2)',
evaluation: '[?!\']*',
evaluation: '[?!\'"]*',
ply: '(?:\\s*(?:<slide>|<place>)<evaluation>)',
ply_grouped: '(\\s*)(?:(<slide>)|(<place>))(<evaluation>)',
linenum: '\\s+\\d+\\.?',
Expand Down
1 change: 1 addition & 0 deletions js/app/nls/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ define({
TPS: "TPS",
Tak: "Tak",
Time: "Time",
Tinue: "Tinuë",
n_characters: "<%=n%> characters",

result: {
Expand Down

0 comments on commit 9ce4fb3

Please sign in to comment.