File tree Expand file tree Collapse file tree 6 files changed +109
-108
lines changed Expand file tree Collapse file tree 6 files changed +109
-108
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,15 @@ p, li { white-space: pre-wrap; }
175
175
< p style=" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;">< br />< /p>
176
176
< p align=" center" style=" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;">< br />< /p>
177
177
< p align=" center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< span style=" font-size:10pt;"> Pokračujte prosím < /span>< span style=" font-size:10pt; font-weight:600;"> výběrem módu a konverze< /span>< span style=" font-size:10pt;"> nebo < /span>< span style=" font-size:10pt; font-weight:600;"> výběrem příkladu< /span>< span style=" font-size:10pt;"> .< /span>< /p>< /body>< /html> </source >
178
- <translation type =" unfinished" ></translation >
178
+ <translation type =" unfinished" >< !DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.0//EN" " http://www.w3.org/TR/REC-html40/strict.dtd">
179
+ < html>< head>< meta name=" qrichtext" content=" 1" />< style type=" text/css">
180
+ p, li { white-space: pre-wrap; }
181
+ < /style>< /head>< body style=" font-family:' Sans Serif' ; font-size:9pt; font-weight:400; font-style:normal;">
182
+ < p align=" center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< span style=" font-size:12pt;"> Výtejte v programu Regular Convertor!< /span>< /p>
183
+ < p style=" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;">< br />< /p>
184
+ < p style=" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;">< br />< /p>
185
+ < p align=" center" style=" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;">< br />< /p>
186
+ < p align=" center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< span style=" font-size:10pt;"> Pokračujte prosím < /span>< span style=" font-size:10pt; font-weight:600;"> výběrem módu a konverze< /span>< span style=" font-size:10pt;"> nebo < /span>< span style=" font-size:10pt; font-weight:600;"> výběrem příkladu< /span>< span style=" font-size:10pt;"> .< /span>< /p>< /body>< /html> </translation >
179
187
</message >
180
188
<message >
181
189
<location filename =" mainwindow.ui" line =" 55" />
Original file line number Diff line number Diff line change @@ -14,27 +14,6 @@ int main(int argc, char *argv[])
14
14
MainWindow w;
15
15
w.show ();
16
16
17
- // kódování pro lokalizaci bude UTF-8
18
- // QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
19
-
20
- QTranslator t;
21
-
22
- /* načteme překlad podle aktuální locale ze souboru ve tvaru:
23
- * název programu + podtržítko + jazyk_země
24
- * kde jazyk je dvoumístný kód jazyka (ISO 639) malými písmeny a
25
- * země je dvoumístný kód země (ISO 3166) velkými písmeny, např. cs_CZ
26
- */
27
- // t.load( app.applicationName() + "_" + QLocale::system().name() );
28
-
29
- if (t.load (" :/translations/language/RegularConvertor_cs_CZ.qm" ))
30
- qDebug () << " Překlad úspěšně načten." ;
31
- else
32
- qDebug () << " Překlad nenačten!" ;
33
-
34
-
35
- // a přiřadíme jej k této instanci programu
36
- a.installTranslator (&t);
37
-
38
17
39
18
return a.exec ();
40
19
}
You can’t perform that action at this time.
0 commit comments