summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/translator
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-28 22:44:11 +0000
committerKarl Berry <karl@freefriends.org>2012-12-28 22:44:11 +0000
commita2293c42f429d632096ab53d7eea0d57210ec68c (patch)
treed864671c89a993133fb01d17d33b65fea79b9828 /Master/texmf-dist/tex/latex/beamer/translator
parent3930d60080fdc89cfaf643df3e3f9827aec5cf94 (diff)
beamer (27dec12)
git-svn-id: svn://tug.org/texlive/trunk@28646 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/translator')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/translator/translator.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/translator/translator.sty b/Master/texmf-dist/tex/latex/beamer/translator/translator.sty
index 7a74a1a8d2b..0c97c80240e 100644
--- a/Master/texmf-dist/tex/latex/beamer/translator/translator.sty
+++ b/Master/texmf-dist/tex/latex/beamer/translator/translator.sty
@@ -34,10 +34,11 @@
\newcommand\iftranslationdefined[4][]{%
\def\trans@to{\trans@defaultto}%
\setkeys{translator}{#1}%
- \expandafter\ifx\csname tr@@@\trans@to @#2\endcsname\@undefined%
- \let\trans@next=\@firstoftwo%
- \else%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname tr@@@\trans@to @#2\endcsname\relax%
\let\trans@next=\@secondoftwo%
+ \else%
+ \let\trans@next=\@firstoftwo%
\fi%
\trans@next{#3}{#4}%
}
@@ -50,7 +51,7 @@
\newcommand\newtranslation[3][]{%
\iftranslationdefined[#1]{#2}{%
- \PackageError{translator}{Translation of ``#2'' already defined.}{}%
+ \PackageError{translator}{Translation of '#2' already defined}{}%
}%
{%
\deftranslation[#1]{#2}{#3}%
@@ -62,7 +63,7 @@
\deftranslation[#1]{#2}{#3}%
}%
{%
- \PackageError{translator}{Translation of ``#2'' not defined.}{}%
+ \PackageError{translator}{Translation of '#2' not defined}{}%
}%
}