]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.cpp
updated list of LyX translations
[lyx.git] / src / Counters.cpp
index 20654b7e8e5340830387be39aec386a2a915325b..d38bd5d86854cdaa012004b0c4776077305fde27 100644 (file)
@@ -231,9 +231,9 @@ char alphaCounter(int const n)
 char hebrewCounter(int const n)
 {
        static const char hebrew[22] = {
-               'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'è',
-               'é', 'ë', 'ì', 'î', 'ð', 'ñ', 'ò', 'ô', 'ö',
-               '÷', 'ø', 'ù', 'ú'
+               '\xe0', '\xe1', '\xe2', '\xe3', '\xe4', '\xe5', '\xe6', '\xe7', '\xe8',
+               '\xe9', '\xeb', '\xec', '\xee', '\xf0', '\xf1', '\xf2', '\xf4', '\xf6',
+               '\xf7', '\xf8', '\xf9', '\xfa'
        };
 
        if (n < 1 || n > 22)
@@ -326,7 +326,7 @@ docstring Counters::counterLabel(docstring const & format)
                docstring const numbertype(label, i + 1, j - i - 1);
                docstring const counter(label, j + 1, k - j - 1);
                docstring const rep = labelItem(counter, numbertype);
-               label = docstring(label, 0, i) + rep 
+               label = docstring(label, 0, i) + rep
                        + docstring(label, k + 1, docstring::npos);
                //lyxerr << "  : " << " (" << counter  << ","
                //      << numbertype << ") -> " << label << endl;