Skip to content

Commit

Permalink
fix issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
cgnieder committed Jan 4, 2022
1 parent a7c972e commit c28aed8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions translations.sty
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,6 @@
{\long\csdef{@trnslt@word@\detokenize{#1}@\@trnslt@dialect@of{#2}}{#3}}%
}
{\long\csdef{@trnslt@word@\detokenize{#1}@\@trnslt@language{#2}}{#3}}%
% save the <word> as <word>:
\csdef{@trnslt@word@\detokenize{#1}@literal}{#1}%
}
{\@trnslt@err@unknown@lang{#2}}%
}
Expand Down Expand Up @@ -510,7 +508,7 @@
{%
\@trnslt@if@translation{#1}{fallback}
{\@trnslt@translation@value{#1}{fallback}}
{\@trnslt@translation@value{#1}{literal}}%
{\detokenize{#1}}% literal
}%
}

Expand All @@ -534,7 +532,7 @@
\@trnslt@info{Using fallback translation for `#1'}%
\csuse{@trnslt@word@\detokenize{#1}@fallback}
}
{\csuse{@trnslt@word@\detokenize{#1}@literal}}%
{\detokenize{#1}}% literal
}%
}

Expand All @@ -550,7 +548,7 @@
\@trnslt@info{Using fallback translation for `#1'}%
\@trnslt@get@lowercase{\csuse{@trnslt@word@\detokenize{#1}@fallback}}%
}
{\@trnslt@get@lowercase{\csuse{@trnslt@word@\detokenize{#1}@literal}}}%
{\detokenize{#1}}% literal
}%
}

Expand Down Expand Up @@ -895,7 +893,7 @@
\DeclareLanguageDialect{canadien}{french}
\DeclareLanguageDialect{canadian}{english}
\DeclareLanguageDialect{newzealand}{english}
\DeclareLanguageDialect{nynorsk}{norsk}
\DeclareLanguageDialect{nynorsk}{norwegian}
\DeclareLanguageDialect{irish}{gaelic}
\DeclareLanguageDialect{scottish}{gaelic}
\DeclareLanguageDialect{austrian}{german}
Expand Down Expand Up @@ -1236,3 +1234,5 @@
2022/01/04 v1.11 - fix issue #18
- undo v1.7, fixes issue #12
- make nynorsk a dialect of norsk, fixes issue #19
- don't define the literal string as command but output it
directly; fixes issue #13
Binary file modified translations_en.pdf
Binary file not shown.

0 comments on commit c28aed8

Please sign in to comment.