Extend Label language to support Czech alphabet.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-03-25 13:56:50 +02:00
parent 98fcfbbb56
commit 7588a7f402
3 changed files with 11 additions and 1 deletions

View File

@ -11,6 +11,7 @@
- Speed optimization for switching "In layout" state.
- [#932] 2nd version V passmarks.
- [#936] Improve list of predefined paper size formats for layout export. Added format Tabloid.
- Extend Label language to support Czech alphabet.
# Version 0.6.2 (unreleased)
- [#903] Bug in tool Cut Spline path.

View File

@ -631,7 +631,9 @@ QStringList VApplication::LabelLanguages()
"uk", // Ukrainian
"hr", // Croatian
"sr", // Serbian
"bs"}; // Bosnian
"bs", // Bosnian
"cs" // Czech
};
return list;
}

View File

@ -1399,6 +1399,13 @@ QString VPattern::GetLabelBase(quint32 index) const
alphabet = al.split(QChar(','));
break;
}
case 8: // cs
{
const QString al = QStringLiteral("a,á,b,c,č,d,ď,e,é,ě,f,g,h,ch,i,í,j,k,l,m,n,ň,o,ó,p,q,r,ř,s,š,t,ť,u,ú,ů,"
"v,w,x,y,ý,z,ž");
alphabet = al.split(QChar(','));
break;
}
case 1: // en
default: // en
{