Changeset 29 in tspsg-svn
- Timestamp:
- Jun 24, 2009, 6:54:10 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/i18n/en.ts
r27 r29 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <!DOCTYPE TS> 3 <TS version="2.0" language="en" sourcelanguage="en">3 <TS version="2.0"> 4 4 <defaultcodec>UTF-8</defaultcodec> 5 5 <context> 6 <name></name> 7 <message> 8 <location filename="../src/mainwindow.cpp" line="244"/> 9 <location filename="../src/mainwindow.cpp" line="253"/> 10 <source>Language change</source> 11 <translation type="unfinished"></translation> 12 </message> 13 <message> 14 <location filename="../src/mainwindow.cpp" line="244"/> 15 <source>Language will be autodetected on next application start.</source> 16 <translation type="unfinished"></translation> 17 </message> 18 <message> 19 <location filename="../src/mainwindow.cpp" line="253"/> 20 <source>You have language autodetection turned on. 21 It needs to be off. 22 Do you wish to turn it off?</source> 23 <translation type="unfinished"></translation> 24 </message> 25 </context> 26 <context> 6 27 <name>CTSPModel</name> 7 28 <message> 8 29 <location filename="../src/tspmodel.cpp" line="52"/> 9 30 <source>City %1</source> 10 <translation ></translation>31 <translation type="unfinished"></translation> 11 32 </message> 12 33 <message> 13 34 <location filename="../src/tspmodel.cpp" line="54"/> 14 35 <source>%1</source> 15 <translation ></translation>36 <translation type="unfinished"></translation> 16 37 </message> 17 38 </context> … … 19 40 <name>MainWindow</name> 20 41 <message> 21 <location filename="../ui/mainwindow.ui" line="315"/> 22 <source>P&rint setup...</source> 23 <translation></translation> 24 </message> 25 <message> 26 <location filename="../ui/mainwindow.ui" line="318"/> 27 <source>Setup printing</source> 28 <translation></translation> 29 </message> 30 <message> 31 <location filename="../ui/mainwindow.ui" line="330"/> 32 <source>&Print...</source> 33 <translation></translation> 34 </message> 35 <message> 36 <location filename="../ui/mainwindow.ui" line="333"/> 37 <source>Print solution results</source> 38 <translation></translation> 39 </message> 40 <message> 41 <location filename="../ui/mainwindow.ui" line="336"/> 42 <source>Ctrl+P</source> 43 <translation></translation> 44 </message> 45 <message> 46 <location filename="../ui/mainwindow.ce.ui" line="503"/> 47 <location filename="../ui/mainwindow.ui" line="519"/> 48 <source>Ctrl+S</source> 49 <translation></translation> 50 </message> 51 <message> 52 <location filename="../ui/mainwindow.ce.ui" line="383"/> 53 <location filename="../ui/mainwindow.ui" line="399"/> 54 <source>Ctrl+N</source> 55 <translation></translation> 42 <location filename="../src/mainwindow.cpp" line="122"/> 43 <source>Language change</source> 44 <translation type="unfinished"></translation> 45 </message> 46 <message> 47 <location filename="../src/mainwindow.cpp" line="122"/> 48 <source>Unable to load translation language.</source> 49 <translation type="unfinished"></translation> 50 </message> 51 <message> 52 <location filename="../src/mainwindow.cpp" line="189"/> 53 <source>Data error</source> 54 <translation type="unfinished"></translation> 55 </message> 56 <message> 57 <location filename="../src/mainwindow.cpp" line="189"/> 58 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 59 <translation type="unfinished"></translation> 60 </message> 61 <message> 62 <location filename="../src/mainwindow.cpp" line="198"/> 63 <source>Solution error</source> 64 <translation type="unfinished"></translation> 65 </message> 66 <message> 67 <location filename="../src/mainwindow.cpp" line="198"/> 68 <source>There was an error while solving the task.</source> 69 <translation type="unfinished"></translation> 56 70 </message> 57 71 <message> … … 59 73 <location filename="../ui/mainwindow.ui" line="14"/> 60 74 <source>Travelling salesman problem</source> 61 <translation ></translation>75 <translation type="unfinished"></translation> 62 76 </message> 63 77 <message> … … 65 79 <location filename="../ui/mainwindow.ui" line="35"/> 66 80 <source>Task</source> 67 <translation ></translation>81 <translation type="unfinished"></translation> 68 82 </message> 69 83 <message> … … 71 85 <location filename="../ui/mainwindow.ui" line="56"/> 72 86 <source>&Variant:</source> 73 <translation ></translation>87 <translation type="unfinished"></translation> 74 88 </message> 75 89 <message> … … 77 91 <location filename="../ui/mainwindow.ui" line="69"/> 78 92 <source>Number of variant</source> 79 <translation ></translation>93 <translation type="unfinished"></translation> 80 94 </message> 81 95 <message> … … 83 97 <location filename="../ui/mainwindow.ui" line="79"/> 84 98 <source>&Cities:</source> 85 <translation ></translation>99 <translation type="unfinished"></translation> 86 100 </message> 87 101 <message> … … 89 103 <location filename="../ui/mainwindow.ui" line="92"/> 90 104 <source>Number of cities</source> 91 <translation ></translation>105 <translation type="unfinished"></translation> 92 106 </message> 93 107 <message> … … 95 109 <location filename="../ui/mainwindow.ui" line="123"/> 96 110 <source>Cost of travel from city to city</source> 97 <translation ></translation>111 <translation type="unfinished"></translation> 98 112 </message> 99 113 <message> … … 101 115 <location filename="../ui/mainwindow.ui" line="151"/> 102 116 <source>Fill table with random numbers</source> 103 <translation ></translation>117 <translation type="unfinished"></translation> 104 118 </message> 105 119 <message> … … 107 121 <location filename="../ui/mainwindow.ui" line="154"/> 108 122 <source>Random</source> 109 <translation ></translation>123 <translation type="unfinished"></translation> 110 124 </message> 111 125 <message> … … 113 127 <location filename="../ui/mainwindow.ui" line="164"/> 114 128 <source>Solve current task</source> 115 <translation ></translation>129 <translation type="unfinished"></translation> 116 130 </message> 117 131 <message> … … 119 133 <location filename="../ui/mainwindow.ui" line="167"/> 120 134 <source>Solve</source> 121 <translation ></translation>135 <translation type="unfinished"></translation> 122 136 </message> 123 137 <message> … … 125 139 <location filename="../ui/mainwindow.ui" line="181"/> 126 140 <source>Solution</source> 127 <translation ></translation>141 <translation type="unfinished"></translation> 128 142 </message> 129 143 <message> … … 131 145 <location filename="../ui/mainwindow.ui" line="198"/> 132 146 <source>Solution steps</source> 133 <translation ></translation>147 <translation type="unfinished"></translation> 134 148 </message> 135 149 <message> … … 137 151 <location filename="../ui/mainwindow.ui" line="208"/> 138 152 <source>Solution graph</source> 139 <translation ></translation>153 <translation type="unfinished"></translation> 140 154 </message> 141 155 <message> … … 143 157 <location filename="../ui/mainwindow.ui" line="236"/> 144 158 <source>&File</source> 145 <translation ></translation>159 <translation type="unfinished"></translation> 146 160 </message> 147 161 <message> 148 162 <location filename="../ui/mainwindow.ce.ui" line="262"/> 149 <location filename="../ui/mainwindow.ui" line="24 3"/>163 <location filename="../ui/mainwindow.ui" line="240"/> 150 164 <source>&Save</source> 151 <translation ></translation>165 <translation type="unfinished"></translation> 152 166 </message> 153 167 <message> 154 168 <location filename="../ui/mainwindow.ce.ui" line="282"/> 155 <location filename="../ui/mainwindow.ui" line="26 6"/>169 <location filename="../ui/mainwindow.ui" line="263"/> 156 170 <source>&Settings</source> 157 <translation></translation> 158 </message> 159 <message> 160 <location filename="../ui/mainwindow.ce.ui" line="288"/> 161 <location filename="../ui/mainwindow.ui" line="272"/> 171 <translation type="unfinished"></translation> 172 </message> 173 <message> 174 <location filename="../ui/mainwindow.ce.ui" line="292"/> 175 <location filename="../ui/mainwindow.ui" line="273"/> 176 <source>&Language</source> 177 <translation type="unfinished"></translation> 178 </message> 179 <message> 180 <location filename="../ui/mainwindow.ce.ui" line="302"/> 181 <location filename="../ui/mainwindow.ui" line="283"/> 162 182 <source>&Help</source> 163 <translation></translation> 164 </message> 165 <message> 166 <location filename="../ui/mainwindow.ce.ui" line="328"/> 183 <translation type="unfinished"></translation> 184 </message> 185 <message> 186 <location filename="../ui/mainwindow.ce.ui" line="342"/> 187 <location filename="../ui/mainwindow.ui" line="355"/> 188 <source>Solution st&eps</source> 189 <translation type="unfinished"></translation> 190 </message> 191 <message> 192 <location filename="../ui/mainwindow.ce.ui" line="345"/> 193 <location filename="../ui/mainwindow.ui" line="358"/> 194 <source>Save solution steps</source> 195 <translation type="unfinished"></translation> 196 </message> 197 <message> 198 <location filename="../ui/mainwindow.ce.ui" line="348"/> 199 <location filename="../ui/mainwindow.ui" line="361"/> 200 <source>Save solution steps only</source> 201 <translation type="unfinished"></translation> 202 </message> 203 <message> 204 <location filename="../ui/mainwindow.ce.ui" line="356"/> 205 <location filename="../ui/mainwindow.ui" line="369"/> 206 <source>Solution &graph</source> 207 <translation type="unfinished"></translation> 208 </message> 209 <message> 210 <location filename="../ui/mainwindow.ce.ui" line="359"/> 211 <location filename="../ui/mainwindow.ui" line="372"/> 212 <source>Save solution graph</source> 213 <translation type="unfinished"></translation> 214 </message> 215 <message> 216 <location filename="../ui/mainwindow.ce.ui" line="362"/> 217 <location filename="../ui/mainwindow.ui" line="375"/> 218 <source>Save solution graph only</source> 219 <translation type="unfinished"></translation> 220 </message> 221 <message> 222 <location filename="../ui/mainwindow.ce.ui" line="370"/> 223 <location filename="../ui/mainwindow.ui" line="383"/> 224 <source>&Solution</source> 225 <translation type="unfinished"></translation> 226 </message> 227 <message> 228 <location filename="../ui/mainwindow.ce.ui" line="373"/> 229 <location filename="../ui/mainwindow.ui" line="386"/> 230 <source>Save solution</source> 231 <translation type="unfinished"></translation> 232 </message> 233 <message> 234 <location filename="../ui/mainwindow.ce.ui" line="376"/> 235 <location filename="../ui/mainwindow.ui" line="389"/> 236 <source>Save solution steps and graph</source> 237 <translation type="unfinished"></translation> 238 </message> 239 <message> 240 <location filename="../ui/mainwindow.ce.ui" line="385"/> 241 <location filename="../ui/mainwindow.ui" line="398"/> 242 <source>&New</source> 243 <translation type="unfinished"></translation> 244 </message> 245 <message> 246 <location filename="../ui/mainwindow.ce.ui" line="388"/> 247 <location filename="../ui/mainwindow.ui" line="401"/> 248 <source>New</source> 249 <translation type="unfinished"></translation> 250 </message> 251 <message> 252 <location filename="../ui/mainwindow.ce.ui" line="391"/> 253 <location filename="../ui/mainwindow.ui" line="404"/> 254 <source>New task</source> 255 <translation type="unfinished"></translation> 256 </message> 257 <message> 258 <location filename="../ui/mainwindow.ce.ui" line="394"/> 259 <location filename="../ui/mainwindow.ui" line="407"/> 260 <source>Create new task</source> 261 <translation type="unfinished"></translation> 262 </message> 263 <message> 264 <location filename="../ui/mainwindow.ce.ui" line="397"/> 265 <location filename="../ui/mainwindow.ui" line="410"/> 266 <source>Ctrl+N</source> 267 <translation type="unfinished"></translation> 268 </message> 269 <message> 270 <location filename="../ui/mainwindow.ce.ui" line="409"/> 271 <location filename="../ui/mainwindow.ui" line="422"/> 272 <source>&Open...</source> 273 <translation type="unfinished"></translation> 274 </message> 275 <message> 276 <location filename="../ui/mainwindow.ce.ui" line="412"/> 277 <location filename="../ui/mainwindow.ui" line="425"/> 278 <source>Open...</source> 279 <translation type="unfinished"></translation> 280 </message> 281 <message> 282 <location filename="../ui/mainwindow.ce.ui" line="415"/> 283 <location filename="../ui/mainwindow.ui" line="428"/> 284 <source>Open task</source> 285 <translation type="unfinished"></translation> 286 </message> 287 <message> 288 <location filename="../ui/mainwindow.ce.ui" line="418"/> 289 <location filename="../ui/mainwindow.ui" line="431"/> 290 <source>Open saved task</source> 291 <translation type="unfinished"></translation> 292 </message> 293 <message> 294 <location filename="../ui/mainwindow.ce.ui" line="421"/> 295 <location filename="../ui/mainwindow.ui" line="434"/> 296 <source>Ctrl+O</source> 297 <translation type="unfinished"></translation> 298 </message> 299 <message> 300 <location filename="../ui/mainwindow.ce.ui" line="430"/> 301 <location filename="../ui/mainwindow.ui" line="443"/> 302 <source>&Preferences...</source> 303 <translation type="unfinished"></translation> 304 </message> 305 <message> 306 <location filename="../ui/mainwindow.ce.ui" line="433"/> 307 <location filename="../ui/mainwindow.ui" line="446"/> 308 <source>Preferences...</source> 309 <translation type="unfinished"></translation> 310 </message> 311 <message> 312 <location filename="../ui/mainwindow.ce.ui" line="436"/> 313 <location filename="../ui/mainwindow.ui" line="449"/> 314 <source>Application preferences</source> 315 <translation type="unfinished"></translation> 316 </message> 317 <message> 318 <location filename="../ui/mainwindow.ce.ui" line="448"/> 319 <location filename="../ui/mainwindow.ui" line="461"/> 320 <source>&Contents</source> 321 <translation type="unfinished"></translation> 322 </message> 323 <message> 324 <location filename="../ui/mainwindow.ce.ui" line="451"/> 325 <location filename="../ui/mainwindow.ui" line="464"/> 326 <source>Open help contents</source> 327 <translation type="unfinished"></translation> 328 </message> 329 <message> 330 <location filename="../ui/mainwindow.ce.ui" line="463"/> 331 <location filename="../ui/mainwindow.ui" line="476"/> 332 <source>&Context help</source> 333 <translation type="unfinished"></translation> 334 </message> 335 <message> 336 <location filename="../ui/mainwindow.ce.ui" line="466"/> 337 <location filename="../ui/mainwindow.ui" line="479"/> 338 <source>Open context help</source> 339 <translation type="unfinished"></translation> 340 </message> 341 <message> 342 <location filename="../ui/mainwindow.ce.ui" line="475"/> 343 <location filename="../ui/mainwindow.ui" line="488"/> 344 <source>&About...</source> 345 <translation type="unfinished"></translation> 346 </message> 347 <message> 348 <location filename="../ui/mainwindow.ce.ui" line="478"/> 349 <location filename="../ui/mainwindow.ui" line="491"/> 350 <source>About...</source> 351 <translation type="unfinished"></translation> 352 </message> 353 <message> 354 <location filename="../ui/mainwindow.ce.ui" line="481"/> 355 <location filename="../ui/mainwindow.ui" line="494"/> 356 <source>About application</source> 357 <translation type="unfinished"></translation> 358 </message> 359 <message> 360 <location filename="../ui/mainwindow.ce.ui" line="490"/> 361 <location filename="../ui/mainwindow.ui" line="503"/> 362 <source>E&xit</source> 363 <translation type="unfinished"></translation> 364 </message> 365 <message> 366 <location filename="../ui/mainwindow.ce.ui" line="493"/> 367 <location filename="../ui/mainwindow.ui" line="506"/> 368 <source>Exit application</source> 369 <translation type="unfinished"></translation> 370 </message> 371 <message> 372 <location filename="../ui/mainwindow.ce.ui" line="505"/> 373 <location filename="../ui/mainwindow.ui" line="518"/> 374 <source>&Task...</source> 375 <translation type="unfinished"></translation> 376 </message> 377 <message> 378 <location filename="../ui/mainwindow.ce.ui" line="508"/> 379 <location filename="../ui/mainwindow.ui" line="521"/> 380 <source>Task...</source> 381 <translation type="unfinished"></translation> 382 </message> 383 <message> 384 <location filename="../ui/mainwindow.ce.ui" line="511"/> 385 <location filename="../ui/mainwindow.ui" line="524"/> 386 <source>Save task</source> 387 <translation type="unfinished"></translation> 388 </message> 389 <message> 390 <location filename="../ui/mainwindow.ce.ui" line="514"/> 391 <location filename="../ui/mainwindow.ui" line="527"/> 392 <source>Save task to file</source> 393 <translation type="unfinished"></translation> 394 </message> 395 <message> 396 <location filename="../ui/mainwindow.ce.ui" line="517"/> 397 <location filename="../ui/mainwindow.ui" line="530"/> 398 <source>Ctrl+S</source> 399 <translation type="unfinished"></translation> 400 </message> 401 <message> 402 <location filename="../ui/mainwindow.ce.ui" line="528"/> 403 <location filename="../ui/mainwindow.ui" line="541"/> 404 <source>&Autodetect</source> 405 <translation type="unfinished"></translation> 406 </message> 407 <message> 408 <location filename="../ui/mainwindow.ce.ui" line="286"/> 409 <location filename="../ui/mainwindow.ui" line="267"/> 410 <source>Select language</source> 411 <translation type="unfinished"></translation> 412 </message> 413 <message> 414 <location filename="../ui/mainwindow.ce.ui" line="289"/> 415 <location filename="../ui/mainwindow.ui" line="270"/> 416 <source>Select application language</source> 417 <translation type="unfinished"></translation> 418 </message> 419 <message> 420 <location filename="../ui/mainwindow.ui" line="326"/> 421 <source>P&rint setup...</source> 422 <translation type="unfinished"></translation> 423 </message> 424 <message> 425 <location filename="../ui/mainwindow.ui" line="329"/> 426 <source>Setup printing</source> 427 <translation type="unfinished"></translation> 428 </message> 429 <message> 430 <location filename="../ui/mainwindow.ui" line="341"/> 431 <source>&Print...</source> 432 <translation type="unfinished"></translation> 433 </message> 434 <message> 167 435 <location filename="../ui/mainwindow.ui" line="344"/> 168 <source>Solution st&eps</source> 169 <translation></translation> 170 </message> 171 <message> 172 <location filename="../ui/mainwindow.ce.ui" line="331"/> 436 <source>Print solution results</source> 437 <translation type="unfinished"></translation> 438 </message> 439 <message> 173 440 <location filename="../ui/mainwindow.ui" line="347"/> 174 <source>Save solution steps</source> 175 <translation></translation> 176 </message> 177 <message> 178 <location filename="../ui/mainwindow.ce.ui" line="334"/> 179 <location filename="../ui/mainwindow.ui" line="350"/> 180 <source>Save solution steps only</source> 181 <translation></translation> 182 </message> 183 <message> 184 <location filename="../ui/mainwindow.ce.ui" line="342"/> 185 <location filename="../ui/mainwindow.ui" line="358"/> 186 <source>Solution &graph</source> 187 <translation></translation> 188 </message> 189 <message> 190 <location filename="../ui/mainwindow.ce.ui" line="345"/> 191 <location filename="../ui/mainwindow.ui" line="361"/> 192 <source>Save solution graph</source> 193 <translation></translation> 194 </message> 195 <message> 196 <location filename="../ui/mainwindow.ce.ui" line="348"/> 197 <location filename="../ui/mainwindow.ui" line="364"/> 198 <source>Save solution graph only</source> 199 <translation></translation> 200 </message> 201 <message> 202 <location filename="../ui/mainwindow.ce.ui" line="356"/> 203 <location filename="../ui/mainwindow.ui" line="372"/> 204 <source>&Solution</source> 205 <translation></translation> 206 </message> 207 <message> 208 <location filename="../ui/mainwindow.ce.ui" line="359"/> 209 <location filename="../ui/mainwindow.ui" line="375"/> 210 <source>Save solution</source> 211 <translation></translation> 212 </message> 213 <message> 214 <location filename="../ui/mainwindow.ce.ui" line="362"/> 215 <location filename="../ui/mainwindow.ui" line="378"/> 216 <source>Save solution steps and graph</source> 217 <translation></translation> 218 </message> 219 <message> 220 <location filename="../ui/mainwindow.ce.ui" line="371"/> 221 <location filename="../ui/mainwindow.ui" line="387"/> 222 <source>&New</source> 223 <translation></translation> 224 </message> 225 <message> 226 <location filename="../ui/mainwindow.ce.ui" line="374"/> 227 <location filename="../ui/mainwindow.ui" line="390"/> 228 <source>New</source> 229 <translation></translation> 230 </message> 231 <message> 232 <location filename="../ui/mainwindow.ce.ui" line="377"/> 233 <location filename="../ui/mainwindow.ui" line="393"/> 234 <source>New task</source> 235 <translation></translation> 236 </message> 237 <message> 238 <location filename="../ui/mainwindow.ce.ui" line="380"/> 239 <location filename="../ui/mainwindow.ui" line="396"/> 240 <source>Create new task</source> 241 <translation></translation> 242 </message> 243 <message> 244 <location filename="../ui/mainwindow.ce.ui" line="395"/> 245 <location filename="../ui/mainwindow.ui" line="411"/> 246 <source>&Open...</source> 247 <translation></translation> 248 </message> 249 <message> 250 <location filename="../ui/mainwindow.ce.ui" line="398"/> 251 <location filename="../ui/mainwindow.ui" line="414"/> 252 <source>Open...</source> 253 <translation></translation> 254 </message> 255 <message> 256 <location filename="../ui/mainwindow.ce.ui" line="401"/> 257 <location filename="../ui/mainwindow.ui" line="417"/> 258 <source>Open task</source> 259 <translation></translation> 260 </message> 261 <message> 262 <location filename="../ui/mainwindow.ce.ui" line="404"/> 263 <location filename="../ui/mainwindow.ui" line="420"/> 264 <source>Open saved task</source> 265 <translation></translation> 266 </message> 267 <message> 268 <location filename="../ui/mainwindow.ce.ui" line="407"/> 269 <location filename="../ui/mainwindow.ui" line="423"/> 270 <source>Ctrl+O</source> 271 <translation></translation> 272 </message> 273 <message> 274 <location filename="../ui/mainwindow.ce.ui" line="416"/> 275 <location filename="../ui/mainwindow.ui" line="432"/> 276 <source>&Preferences...</source> 277 <translation></translation> 278 </message> 279 <message> 280 <location filename="../ui/mainwindow.ce.ui" line="419"/> 281 <location filename="../ui/mainwindow.ui" line="435"/> 282 <source>Preferences...</source> 283 <translation></translation> 284 </message> 285 <message> 286 <location filename="../ui/mainwindow.ce.ui" line="422"/> 287 <location filename="../ui/mainwindow.ui" line="438"/> 288 <source>Application preferences</source> 289 <translation></translation> 290 </message> 291 <message> 292 <location filename="../ui/mainwindow.ce.ui" line="434"/> 293 <location filename="../ui/mainwindow.ui" line="450"/> 294 <source>&Contents</source> 295 <translation></translation> 296 </message> 297 <message> 298 <location filename="../ui/mainwindow.ce.ui" line="437"/> 299 <location filename="../ui/mainwindow.ui" line="453"/> 300 <source>Open help contents</source> 301 <translation></translation> 302 </message> 303 <message> 304 <location filename="../ui/mainwindow.ce.ui" line="449"/> 305 <location filename="../ui/mainwindow.ui" line="465"/> 306 <source>&Context help</source> 307 <translation></translation> 308 </message> 309 <message> 310 <location filename="../ui/mainwindow.ce.ui" line="452"/> 311 <location filename="../ui/mainwindow.ui" line="468"/> 312 <source>Open context help</source> 313 <translation></translation> 314 </message> 315 <message> 316 <location filename="../ui/mainwindow.ce.ui" line="461"/> 317 <location filename="../ui/mainwindow.ui" line="477"/> 318 <source>&About...</source> 319 <translation></translation> 320 </message> 321 <message> 322 <location filename="../ui/mainwindow.ce.ui" line="464"/> 323 <location filename="../ui/mainwindow.ui" line="480"/> 324 <source>About...</source> 325 <translation></translation> 326 </message> 327 <message> 328 <location filename="../ui/mainwindow.ce.ui" line="467"/> 329 <location filename="../ui/mainwindow.ui" line="483"/> 330 <source>About application</source> 331 <translation></translation> 332 </message> 333 <message> 334 <location filename="../ui/mainwindow.ce.ui" line="476"/> 335 <location filename="../ui/mainwindow.ui" line="492"/> 336 <source>E&xit</source> 337 <translation></translation> 338 </message> 339 <message> 340 <location filename="../ui/mainwindow.ce.ui" line="479"/> 341 <location filename="../ui/mainwindow.ui" line="495"/> 342 <source>Exit application</source> 343 <translation></translation> 344 </message> 345 <message> 346 <location filename="../ui/mainwindow.ce.ui" line="491"/> 347 <location filename="../ui/mainwindow.ui" line="507"/> 348 <source>&Task...</source> 349 <translation></translation> 350 </message> 351 <message> 352 <location filename="../ui/mainwindow.ce.ui" line="494"/> 353 <location filename="../ui/mainwindow.ui" line="510"/> 354 <source>Task...</source> 355 <translation></translation> 356 </message> 357 <message> 358 <location filename="../ui/mainwindow.ce.ui" line="497"/> 359 <location filename="../ui/mainwindow.ui" line="513"/> 360 <source>Save task</source> 361 <translation></translation> 362 </message> 363 <message> 364 <location filename="../ui/mainwindow.ce.ui" line="500"/> 365 <location filename="../ui/mainwindow.ui" line="516"/> 366 <source>Save task to file</source> 367 <translation></translation> 368 </message> 369 <message> 370 <location filename="../src/mainwindow.cpp" line="125"/> 371 <source>Data error</source> 372 <translation></translation> 373 </message> 374 <message> 375 <location filename="../src/mainwindow.cpp" line="125"/> 376 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 377 <translation></translation> 378 </message> 379 <message> 380 <location filename="../src/mainwindow.cpp" line="134"/> 381 <source>Solution error</source> 382 <translation></translation> 383 </message> 384 <message> 385 <location filename="../src/mainwindow.cpp" line="134"/> 386 <source>There was an error while solving the task.</source> 387 <translation></translation> 441 <source>Ctrl+P</source> 442 <translation type="unfinished"></translation> 443 </message> 444 <message> 445 <location filename="../ui/mainwindow.ce.ui" line="531"/> 446 <location filename="../ui/mainwindow.ui" line="544"/> 447 <source>Detect language automatically</source> 448 <translation type="unfinished"></translation> 449 </message> 450 <message> 451 <location filename="../ui/mainwindow.ce.ui" line="534"/> 452 <location filename="../ui/mainwindow.ui" line="547"/> 453 <source>Detect language automatically based on regional settings</source> 454 <translation type="unfinished"></translation> 388 455 </message> 389 456 </context> … … 391 458 <name>SettingsDialog</name> 392 459 <message> 393 <location filename="../ui/settingsdialog.ui" line="41"/>394 <source>background-color: #0080C0</source>395 <translation></translation>396 </message>397 <message>398 <location filename="../ui/settingsdialog.ui" line="235"/>399 <source>Print settings:</source>400 <translation></translation>401 </message>402 <message>403 <location filename="../ui/settingsdialog.ui" line="249"/>404 <source>&Left margin:</source>405 <translation></translation>406 </message>407 <message>408 <location filename="../ui/settingsdialog.ui" line="262"/>409 <source>Left border margin for page</source>410 <translation></translation>411 </message>412 <message>413 <location filename="../ui/settingsdialog.ui" line="329"/>414 <source>Restore main window state and position on application restart</source>415 <translation></translation>416 </message>417 <message>418 <location filename="../ui/settingsdialog.ui" line="332"/>419 <source>Save main window state and position</source>420 <translation></translation>421 </message>422 <message>423 <location filename="../ui/settingsdialog.ui" line="403"/>424 <source>Hover mouse pointer over dialog elements to get additional help</source>425 <translation></translation>426 </message>427 <message>428 460 <location filename="../ui/settingsdialog.ce.ui" line="14"/> 429 461 <location filename="../ui/settingsdialog.ui" line="14"/> 430 462 <source>Preferences</source> 431 <translation ></translation>463 <translation type="unfinished"></translation> 432 464 </message> 433 465 <message> … … 435 467 <location filename="../ui/settingsdialog.ui" line="151"/> 436 468 <source>Random values:</source> 437 <translation ></translation>469 <translation type="unfinished"></translation> 438 470 </message> 439 471 <message> … … 441 473 <location filename="../ui/settingsdialog.ui" line="165"/> 442 474 <source>&Minimal:</source> 443 <translation ></translation>475 <translation type="unfinished"></translation> 444 476 </message> 445 477 <message> … … 447 479 <location filename="../ui/settingsdialog.ui" line="178"/> 448 480 <source>Minimum for random number generation</source> 449 <translation ></translation>481 <translation type="unfinished"></translation> 450 482 </message> 451 483 <message> … … 453 485 <location filename="../ui/settingsdialog.ui" line="201"/> 454 486 <source>Ma&ximal:</source> 455 <translation ></translation>487 <translation type="unfinished"></translation> 456 488 </message> 457 489 <message> … … 459 491 <location filename="../ui/settingsdialog.ui" line="214"/> 460 492 <source>Maximum for random number generation</source> 461 <translation ></translation>493 <translation type="unfinished"></translation> 462 494 </message> 463 495 <message> … … 465 497 <location filename="../ui/settingsdialog.ui" line="288"/> 466 498 <source>Font color for printing</source> 467 <translation ></translation>499 <translation type="unfinished"></translation> 468 500 </message> 469 501 <message> … … 471 503 <location filename="../ui/settingsdialog.ui" line="291"/> 472 504 <source>&Color...</source> 473 <translation ></translation>505 <translation type="unfinished"></translation> 474 506 </message> 475 507 <message> … … 477 509 <location filename="../ui/settingsdialog.ui" line="305"/> 478 510 <source>Font face for printing</source> 479 <translation ></translation>511 <translation type="unfinished"></translation> 480 512 </message> 481 513 <message> … … 483 515 <location filename="../ui/settingsdialog.ui" line="308"/> 484 516 <source>&Font...</source> 485 <translation ></translation>517 <translation type="unfinished"></translation> 486 518 </message> 487 519 <message> … … 491 523 <location filename="../ui/settingsdialog.ui" line="383"/> 492 524 <source>Help</source> 493 <translation ></translation>525 <translation type="unfinished"></translation> 494 526 </message> 495 527 <message> … … 497 529 <location filename="../ui/settingsdialog.ui" line="380"/> 498 530 <source>Get preferences help</source> 499 <translation ></translation>531 <translation type="unfinished"></translation> 500 532 </message> 501 533 <message> … … 503 535 <location filename="../ui/settingsdialog.ui" line="425"/> 504 536 <source>Save new preferences</source> 505 <translation ></translation>537 <translation type="unfinished"></translation> 506 538 </message> 507 539 <message> … … 509 541 <location filename="../ui/settingsdialog.ui" line="428"/> 510 542 <source>&OK</source> 511 <translation ></translation>543 <translation type="unfinished"></translation> 512 544 </message> 513 545 <message> … … 515 547 <location filename="../ui/settingsdialog.ui" line="445"/> 516 548 <source>Close without saving preferences</source> 517 <translation ></translation>549 <translation type="unfinished"></translation> 518 550 </message> 519 551 <message> … … 521 553 <location filename="../ui/settingsdialog.ui" line="448"/> 522 554 <source>&Cancel</source> 523 <translation></translation> 555 <translation type="unfinished"></translation> 556 </message> 557 <message> 558 <location filename="../ui/settingsdialog.ui" line="41"/> 559 <source>background-color: #0080C0</source> 560 <translation type="unfinished"></translation> 561 </message> 562 <message> 563 <location filename="../ui/settingsdialog.ui" line="235"/> 564 <source>Print settings:</source> 565 <translation type="unfinished"></translation> 566 </message> 567 <message> 568 <location filename="../ui/settingsdialog.ui" line="249"/> 569 <source>&Left margin:</source> 570 <translation type="unfinished"></translation> 571 </message> 572 <message> 573 <location filename="../ui/settingsdialog.ui" line="262"/> 574 <source>Left border margin for page</source> 575 <translation type="unfinished"></translation> 576 </message> 577 <message> 578 <location filename="../ui/settingsdialog.ui" line="329"/> 579 <source>Restore main window state and position on application restart</source> 580 <translation type="unfinished"></translation> 581 </message> 582 <message> 583 <location filename="../ui/settingsdialog.ui" line="332"/> 584 <source>Save main window state and position</source> 585 <translation type="unfinished"></translation> 586 </message> 587 <message> 588 <location filename="../ui/settingsdialog.ui" line="403"/> 589 <source>Hover mouse pointer over dialog elements to get additional help</source> 590 <translation type="unfinished"></translation> 524 591 </message> 525 592 </context> -
trunk/i18n/ru.ts
r27 r29 4 4 <defaultcodec>UTF-8</defaultcodec> 5 5 <context> 6 <name></name> 7 <message> 8 <location filename="../src/mainwindow.cpp" line="244"/> 9 <location filename="../src/mainwindow.cpp" line="253"/> 10 <source>Language change</source> 11 <translation>Смена языка</translation> 12 </message> 13 <message> 14 <location filename="../src/mainwindow.cpp" line="244"/> 15 <source>Language will be autodetected on next application start.</source> 16 <translation>Язык будет автоматически определен при следующем запуске приложения.</translation> 17 </message> 18 <message> 19 <location filename="../src/mainwindow.cpp" line="253"/> 20 <source>You have language autodetection turned on. 21 It needs to be off. 22 Do you wish to turn it off?</source> 23 <translation>Включено автоматическое определение языка. 24 Его необходимо выключить. 25 Отключить его?</translation> 26 </message> 27 </context> 28 <context> 6 29 <name>CTSPModel</name> 7 30 <message> … … 19 42 <name>MainWindow</name> 20 43 <message> 21 <location filename="../src/mainwindow.cpp" line="125"/> 44 <location filename="../src/mainwindow.cpp" line="122"/> 45 <source>Language change</source> 46 <translation>Смена языка</translation> 47 </message> 48 <message> 49 <location filename="../src/mainwindow.cpp" line="122"/> 50 <source>Unable to load translation language.</source> 51 <translation>Невозможно загрузить перевод.</translation> 52 </message> 53 <message> 54 <location filename="../src/mainwindow.cpp" line="189"/> 22 55 <source>Data error</source> 23 56 <translation>Ошибка в данных</translation> 24 57 </message> 25 58 <message> 26 <location filename="../src/mainwindow.cpp" line="1 25"/>59 <location filename="../src/mainwindow.cpp" line="189"/> 27 60 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 28 61 <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation> 29 62 </message> 30 63 <message> 31 <location filename="../src/mainwindow.cpp" line="1 34"/>64 <location filename="../src/mainwindow.cpp" line="198"/> 32 65 <source>Solution error</source> 33 66 <translation>Ошибка при решении</translation> 34 67 </message> 35 68 <message> 36 <location filename="../src/mainwindow.cpp" line="1 34"/>69 <location filename="../src/mainwindow.cpp" line="198"/> 37 70 <source>There was an error while solving the task.</source> 38 71 <translation>Во время решения задачи возникла ошибка.</translation> … … 130 163 <message> 131 164 <location filename="../ui/mainwindow.ce.ui" line="262"/> 132 <location filename="../ui/mainwindow.ui" line="24 3"/>165 <location filename="../ui/mainwindow.ui" line="240"/> 133 166 <source>&Save</source> 134 167 <translation>Со&хранить</translation> … … 136 169 <message> 137 170 <location filename="../ui/mainwindow.ce.ui" line="282"/> 138 <location filename="../ui/mainwindow.ui" line="26 6"/>171 <location filename="../ui/mainwindow.ui" line="263"/> 139 172 <source>&Settings</source> 140 173 <translation>&Настройки</translation> 141 174 </message> 142 175 <message> 143 <location filename="../ui/mainwindow.ce.ui" line="288"/> 144 <location filename="../ui/mainwindow.ui" line="272"/> 176 <location filename="../ui/mainwindow.ce.ui" line="292"/> 177 <location filename="../ui/mainwindow.ui" line="273"/> 178 <source>&Language</source> 179 <translation>Язык / &Language</translation> 180 </message> 181 <message> 182 <location filename="../ui/mainwindow.ce.ui" line="302"/> 183 <location filename="../ui/mainwindow.ui" line="283"/> 145 184 <source>&Help</source> 146 185 <translation>&Помощь</translation> 147 186 </message> 148 187 <message> 149 <location filename="../ui/mainwindow.ce.ui" line="3 28"/>150 <location filename="../ui/mainwindow.ui" line="3 44"/>188 <location filename="../ui/mainwindow.ce.ui" line="342"/> 189 <location filename="../ui/mainwindow.ui" line="355"/> 151 190 <source>Solution st&eps</source> 152 191 <translation>&Ход решения</translation> 153 192 </message> 154 193 <message> 155 <location filename="../ui/mainwindow.ce.ui" line="3 31"/>156 <location filename="../ui/mainwindow.ui" line="3 47"/>194 <location filename="../ui/mainwindow.ce.ui" line="345"/> 195 <location filename="../ui/mainwindow.ui" line="358"/> 157 196 <source>Save solution steps</source> 158 197 <translation>Сохранить ход решения</translation> 159 198 </message> 160 199 <message> 161 <location filename="../ui/mainwindow.ce.ui" line="3 34"/>162 <location filename="../ui/mainwindow.ui" line="3 50"/>200 <location filename="../ui/mainwindow.ce.ui" line="348"/> 201 <location filename="../ui/mainwindow.ui" line="361"/> 163 202 <source>Save solution steps only</source> 164 203 <translation>Сохранить только ход решения</translation> 165 204 </message> 166 205 <message> 167 <location filename="../ui/mainwindow.ce.ui" line="3 42"/>168 <location filename="../ui/mainwindow.ui" line="3 58"/>206 <location filename="../ui/mainwindow.ce.ui" line="356"/> 207 <location filename="../ui/mainwindow.ui" line="369"/> 169 208 <source>Solution &graph</source> 170 209 <translation>&Граф решения</translation> 171 210 </message> 172 211 <message> 173 <location filename="../ui/mainwindow.ce.ui" line="3 45"/>174 <location filename="../ui/mainwindow.ui" line="3 61"/>212 <location filename="../ui/mainwindow.ce.ui" line="359"/> 213 <location filename="../ui/mainwindow.ui" line="372"/> 175 214 <source>Save solution graph</source> 176 215 <translation>Сохранить граф решения</translation> 177 216 </message> 178 217 <message> 179 <location filename="../ui/mainwindow.ce.ui" line="3 48"/>180 <location filename="../ui/mainwindow.ui" line="3 64"/>218 <location filename="../ui/mainwindow.ce.ui" line="362"/> 219 <location filename="../ui/mainwindow.ui" line="375"/> 181 220 <source>Save solution graph only</source> 182 221 <translation>Сохранить только граф решения</translation> 183 222 </message> 184 223 <message> 185 <location filename="../ui/mainwindow.ce.ui" line="3 56"/>186 <location filename="../ui/mainwindow.ui" line="3 72"/>224 <location filename="../ui/mainwindow.ce.ui" line="370"/> 225 <location filename="../ui/mainwindow.ui" line="383"/> 187 226 <source>&Solution</source> 188 227 <translation>&Решение</translation> 189 228 </message> 190 229 <message> 191 <location filename="../ui/mainwindow.ce.ui" line="3 59"/>192 <location filename="../ui/mainwindow.ui" line="3 75"/>230 <location filename="../ui/mainwindow.ce.ui" line="373"/> 231 <location filename="../ui/mainwindow.ui" line="386"/> 193 232 <source>Save solution</source> 194 233 <translation>Сохранить решение</translation> 195 234 </message> 196 235 <message> 197 <location filename="../ui/mainwindow.ce.ui" line="3 62"/>198 <location filename="../ui/mainwindow.ui" line="3 78"/>236 <location filename="../ui/mainwindow.ce.ui" line="376"/> 237 <location filename="../ui/mainwindow.ui" line="389"/> 199 238 <source>Save solution steps and graph</source> 200 239 <translation>Сохранить ход и граф решения</translation> 201 240 </message> 202 241 <message> 203 <location filename="../ui/mainwindow.ce.ui" line="3 71"/>204 <location filename="../ui/mainwindow.ui" line="3 87"/>242 <location filename="../ui/mainwindow.ce.ui" line="385"/> 243 <location filename="../ui/mainwindow.ui" line="398"/> 205 244 <source>&New</source> 206 245 <translation>&Создать</translation> 207 246 </message> 208 247 <message> 209 <location filename="../ui/mainwindow.ce.ui" line="3 74"/>210 <location filename="../ui/mainwindow.ui" line=" 390"/>248 <location filename="../ui/mainwindow.ce.ui" line="388"/> 249 <location filename="../ui/mainwindow.ui" line="401"/> 211 250 <source>New</source> 212 251 <translation>Создать</translation> 213 252 </message> 214 253 <message> 215 <location filename="../ui/mainwindow.ce.ui" line="3 77"/>216 <location filename="../ui/mainwindow.ui" line=" 393"/>254 <location filename="../ui/mainwindow.ce.ui" line="391"/> 255 <location filename="../ui/mainwindow.ui" line="404"/> 217 256 <source>New task</source> 218 257 <translation>Создать задачу</translation> 219 258 </message> 220 259 <message> 221 <location filename="../ui/mainwindow.ce.ui" line="3 80"/>222 <location filename="../ui/mainwindow.ui" line=" 396"/>260 <location filename="../ui/mainwindow.ce.ui" line="394"/> 261 <location filename="../ui/mainwindow.ui" line="407"/> 223 262 <source>Create new task</source> 224 263 <translation>Создать новую задачу</translation> 225 264 </message> 226 265 <message> 227 <location filename="../ui/mainwindow.ce.ui" line="3 83"/>228 <location filename="../ui/mainwindow.ui" line=" 399"/>266 <location filename="../ui/mainwindow.ce.ui" line="397"/> 267 <location filename="../ui/mainwindow.ui" line="410"/> 229 268 <source>Ctrl+N</source> 230 269 <translation></translation> 231 270 </message> 232 271 <message> 233 <location filename="../ui/mainwindow.ce.ui" line=" 395"/>234 <location filename="../ui/mainwindow.ui" line="4 11"/>272 <location filename="../ui/mainwindow.ce.ui" line="409"/> 273 <location filename="../ui/mainwindow.ui" line="422"/> 235 274 <source>&Open...</source> 236 275 <translation>&Открыть...</translation> 237 276 </message> 238 277 <message> 239 <location filename="../ui/mainwindow.ce.ui" line=" 398"/>240 <location filename="../ui/mainwindow.ui" line="4 14"/>278 <location filename="../ui/mainwindow.ce.ui" line="412"/> 279 <location filename="../ui/mainwindow.ui" line="425"/> 241 280 <source>Open...</source> 242 281 <translation>Открыть...</translation> 243 282 </message> 244 283 <message> 245 <location filename="../ui/mainwindow.ce.ui" line="4 01"/>246 <location filename="../ui/mainwindow.ui" line="4 17"/>284 <location filename="../ui/mainwindow.ce.ui" line="415"/> 285 <location filename="../ui/mainwindow.ui" line="428"/> 247 286 <source>Open task</source> 248 287 <translation>Открыть задачу</translation> 249 288 </message> 250 289 <message> 251 <location filename="../ui/mainwindow.ce.ui" line="4 04"/>252 <location filename="../ui/mainwindow.ui" line="4 20"/>290 <location filename="../ui/mainwindow.ce.ui" line="418"/> 291 <location filename="../ui/mainwindow.ui" line="431"/> 253 292 <source>Open saved task</source> 254 293 <translation>Открыть сохраненное условие задачи</translation> 255 294 </message> 256 295 <message> 257 <location filename="../ui/mainwindow.ce.ui" line="4 07"/>258 <location filename="../ui/mainwindow.ui" line="4 23"/>296 <location filename="../ui/mainwindow.ce.ui" line="421"/> 297 <location filename="../ui/mainwindow.ui" line="434"/> 259 298 <source>Ctrl+O</source> 260 299 <translation></translation> 261 300 </message> 262 301 <message> 263 <location filename="../ui/mainwindow.ce.ui" line="4 16"/>264 <location filename="../ui/mainwindow.ui" line="4 32"/>302 <location filename="../ui/mainwindow.ce.ui" line="430"/> 303 <location filename="../ui/mainwindow.ui" line="443"/> 265 304 <source>&Preferences...</source> 266 305 <translation>&Параметры...</translation> 267 306 </message> 268 307 <message> 269 <location filename="../ui/mainwindow.ce.ui" line="4 19"/>270 <location filename="../ui/mainwindow.ui" line="4 35"/>308 <location filename="../ui/mainwindow.ce.ui" line="433"/> 309 <location filename="../ui/mainwindow.ui" line="446"/> 271 310 <source>Preferences...</source> 272 311 <translation>Параметры...</translation> 273 312 </message> 274 313 <message> 275 <location filename="../ui/mainwindow.ce.ui" line="4 22"/>276 <location filename="../ui/mainwindow.ui" line="4 38"/>314 <location filename="../ui/mainwindow.ce.ui" line="436"/> 315 <location filename="../ui/mainwindow.ui" line="449"/> 277 316 <source>Application preferences</source> 278 317 <translation>Настройка параметров программмы</translation> 279 318 </message> 280 319 <message> 281 <location filename="../ui/mainwindow.ce.ui" line="4 34"/>282 <location filename="../ui/mainwindow.ui" line="4 50"/>320 <location filename="../ui/mainwindow.ce.ui" line="448"/> 321 <location filename="../ui/mainwindow.ui" line="461"/> 283 322 <source>&Contents</source> 284 323 <translation>&Содежание</translation> 285 324 </message> 286 325 <message> 287 <location filename="../ui/mainwindow.ce.ui" line="4 37"/>288 <location filename="../ui/mainwindow.ui" line="4 53"/>326 <location filename="../ui/mainwindow.ce.ui" line="451"/> 327 <location filename="../ui/mainwindow.ui" line="464"/> 289 328 <source>Open help contents</source> 290 329 <translation>Вызвать справку программы</translation> 291 330 </message> 292 331 <message> 293 <location filename="../ui/mainwindow.ce.ui" line="4 49"/>294 <location filename="../ui/mainwindow.ui" line="4 65"/>332 <location filename="../ui/mainwindow.ce.ui" line="463"/> 333 <location filename="../ui/mainwindow.ui" line="476"/> 295 334 <source>&Context help</source> 296 335 <translation>&Контекстная справка</translation> 297 336 </message> 298 337 <message> 299 <location filename="../ui/mainwindow.ce.ui" line="4 52"/>300 <location filename="../ui/mainwindow.ui" line="4 68"/>338 <location filename="../ui/mainwindow.ce.ui" line="466"/> 339 <location filename="../ui/mainwindow.ui" line="479"/> 301 340 <source>Open context help</source> 302 341 <translation>Вызвать контекстную справку</translation> 303 342 </message> 304 343 <message> 305 <location filename="../ui/mainwindow.ce.ui" line="4 61"/>306 <location filename="../ui/mainwindow.ui" line="4 77"/>344 <location filename="../ui/mainwindow.ce.ui" line="475"/> 345 <location filename="../ui/mainwindow.ui" line="488"/> 307 346 <source>&About...</source> 308 347 <translation>&Про...</translation> 309 348 </message> 310 349 <message> 311 <location filename="../ui/mainwindow.ce.ui" line="4 64"/>312 <location filename="../ui/mainwindow.ui" line="4 80"/>350 <location filename="../ui/mainwindow.ce.ui" line="478"/> 351 <location filename="../ui/mainwindow.ui" line="491"/> 313 352 <source>About...</source> 314 353 <translation>Про...</translation> 315 354 </message> 316 355 <message> 317 <location filename="../ui/mainwindow.ce.ui" line="4 67"/>318 <location filename="../ui/mainwindow.ui" line="4 83"/>356 <location filename="../ui/mainwindow.ce.ui" line="481"/> 357 <location filename="../ui/mainwindow.ui" line="494"/> 319 358 <source>About application</source> 320 359 <translation>О программе</translation> 321 360 </message> 322 361 <message> 323 <location filename="../ui/mainwindow.ce.ui" line="4 76"/>324 <location filename="../ui/mainwindow.ui" line=" 492"/>362 <location filename="../ui/mainwindow.ce.ui" line="490"/> 363 <location filename="../ui/mainwindow.ui" line="503"/> 325 364 <source>E&xit</source> 326 365 <translation>В&ыход</translation> 327 366 </message> 328 367 <message> 329 <location filename="../ui/mainwindow.ce.ui" line="4 79"/>330 <location filename="../ui/mainwindow.ui" line=" 495"/>368 <location filename="../ui/mainwindow.ce.ui" line="493"/> 369 <location filename="../ui/mainwindow.ui" line="506"/> 331 370 <source>Exit application</source> 332 371 <translation>Выйти из приложения</translation> 333 372 </message> 334 373 <message> 335 <location filename="../ui/mainwindow.ce.ui" line=" 491"/>336 <location filename="../ui/mainwindow.ui" line="5 07"/>374 <location filename="../ui/mainwindow.ce.ui" line="505"/> 375 <location filename="../ui/mainwindow.ui" line="518"/> 337 376 <source>&Task...</source> 338 377 <translation>&Задачу...</translation> 339 378 </message> 340 379 <message> 341 <location filename="../ui/mainwindow.ce.ui" line=" 494"/>342 <location filename="../ui/mainwindow.ui" line="5 10"/>380 <location filename="../ui/mainwindow.ce.ui" line="508"/> 381 <location filename="../ui/mainwindow.ui" line="521"/> 343 382 <source>Task...</source> 344 383 <translation>Задачу...</translation> 345 384 </message> 346 385 <message> 347 <location filename="../ui/mainwindow.ce.ui" line=" 497"/>348 <location filename="../ui/mainwindow.ui" line="5 13"/>386 <location filename="../ui/mainwindow.ce.ui" line="511"/> 387 <location filename="../ui/mainwindow.ui" line="524"/> 349 388 <source>Save task</source> 350 389 <translation>Сохранить задачу</translation> 351 390 </message> 352 391 <message> 353 <location filename="../ui/mainwindow.ce.ui" line="5 00"/>354 <location filename="../ui/mainwindow.ui" line="5 16"/>392 <location filename="../ui/mainwindow.ce.ui" line="514"/> 393 <location filename="../ui/mainwindow.ui" line="527"/> 355 394 <source>Save task to file</source> 356 395 <translation>Сохранить условие задачи в файл</translation> 357 396 </message> 358 397 <message> 359 <location filename="../ui/mainwindow.ce.ui" line="5 03"/>360 <location filename="../ui/mainwindow.ui" line="5 19"/>398 <location filename="../ui/mainwindow.ce.ui" line="517"/> 399 <location filename="../ui/mainwindow.ui" line="530"/> 361 400 <source>Ctrl+S</source> 362 401 <translation></translation> 363 402 </message> 364 403 <message> 365 <location filename="../ui/mainwindow.ui" line="315"/> 404 <location filename="../ui/mainwindow.ce.ui" line="528"/> 405 <location filename="../ui/mainwindow.ui" line="541"/> 406 <source>&Autodetect</source> 407 <translation>&Автоопределение</translation> 408 </message> 409 <message> 410 <location filename="../ui/mainwindow.ce.ui" line="286"/> 411 <location filename="../ui/mainwindow.ui" line="267"/> 412 <source>Select language</source> 413 <translation>Выбор языка</translation> 414 </message> 415 <message> 416 <location filename="../ui/mainwindow.ce.ui" line="289"/> 417 <location filename="../ui/mainwindow.ui" line="270"/> 418 <source>Select application language</source> 419 <translation>Выбрать язык приложения</translation> 420 </message> 421 <message> 422 <location filename="../ui/mainwindow.ui" line="326"/> 366 423 <source>P&rint setup...</source> 367 424 <translation>&Настройка печати...</translation> 368 425 </message> 369 426 <message> 370 <location filename="../ui/mainwindow.ui" line="3 18"/>427 <location filename="../ui/mainwindow.ui" line="329"/> 371 428 <source>Setup printing</source> 372 429 <translation>Настроить печать</translation> 373 430 </message> 374 431 <message> 375 <location filename="../ui/mainwindow.ui" line="3 30"/>432 <location filename="../ui/mainwindow.ui" line="341"/> 376 433 <source>&Print...</source> 377 434 <translation>&Печать...</translation> 378 435 </message> 379 436 <message> 380 <location filename="../ui/mainwindow.ui" line="3 33"/>437 <location filename="../ui/mainwindow.ui" line="344"/> 381 438 <source>Print solution results</source> 382 439 <translation>Распечатать результаты решения</translation> 383 440 </message> 384 441 <message> 385 <location filename="../ui/mainwindow.ui" line="3 36"/>442 <location filename="../ui/mainwindow.ui" line="347"/> 386 443 <source>Ctrl+P</source> 387 444 <translation></translation> 445 </message> 446 <message> 447 <location filename="../ui/mainwindow.ce.ui" line="531"/> 448 <location filename="../ui/mainwindow.ui" line="544"/> 449 <source>Detect language automatically</source> 450 <translation>Определять язык автоматически</translation> 451 </message> 452 <message> 453 <location filename="../ui/mainwindow.ce.ui" line="534"/> 454 <location filename="../ui/mainwindow.ui" line="547"/> 455 <source>Detect language automatically based on regional settings</source> 456 <translation>Определять язык автоматически, основываясь на региональных настройках</translation> 388 457 </message> 389 458 </context> -
trunk/i18n/uk.ts
r28 r29 4 4 <defaultcodec>UTF-8</defaultcodec> 5 5 <context> 6 <name></name> 7 <message> 8 <location filename="../src/mainwindow.cpp" line="244"/> 9 <location filename="../src/mainwindow.cpp" line="253"/> 10 <source>Language change</source> 11 <translation>Зміна мови</translation> 12 </message> 13 <message> 14 <location filename="../src/mainwindow.cpp" line="244"/> 15 <source>Language will be autodetected on next application start.</source> 16 <translation>Мову буде автоматично визначено при наступному запуску додатку.</translation> 17 </message> 18 <message> 19 <location filename="../src/mainwindow.cpp" line="253"/> 20 <source>You have language autodetection turned on. 21 It needs to be off. 22 Do you wish to turn it off?</source> 23 <translation>Увімкнено автоматичне визначення мови. 24 Його необхідно вимкнути. 25 Вимкнути його?</translation> 26 </message> 27 </context> 28 <context> 6 29 <name>CTSPModel</name> 7 30 <message> … … 31 54 </message> 32 55 <message> 33 <location filename="../ui/mainwindow.ui" line="315"/> 56 <location filename="../ui/mainwindow.ce.ui" line="286"/> 57 <location filename="../ui/mainwindow.ui" line="267"/> 58 <source>Select language</source> 59 <translation>Вибір мови</translation> 60 </message> 61 <message> 62 <location filename="../ui/mainwindow.ce.ui" line="289"/> 63 <location filename="../ui/mainwindow.ui" line="270"/> 64 <source>Select application language</source> 65 <translation>Обрати мову додатку</translation> 66 </message> 67 <message> 68 <location filename="../ui/mainwindow.ui" line="326"/> 34 69 <source>P&rint setup...</source> 35 70 <translation>&Налагодження друку...</translation> 36 71 </message> 37 72 <message> 38 <location filename="../ui/mainwindow.ui" line="3 18"/>73 <location filename="../ui/mainwindow.ui" line="329"/> 39 74 <source>Setup printing</source> 40 75 <translation>Налагодити друк</translation> 41 76 </message> 42 77 <message> 43 <location filename="../ui/mainwindow.ui" line="3 30"/>78 <location filename="../ui/mainwindow.ui" line="341"/> 44 79 <source>&Print...</source> 45 80 <translation>&Друк...</translation> 46 81 </message> 47 82 <message> 48 <location filename="../ui/mainwindow.ui" line="3 33"/>83 <location filename="../ui/mainwindow.ui" line="344"/> 49 84 <source>Print solution results</source> 50 85 <translation>Роздрукувати результат розв'язку</translation> 51 86 </message> 52 87 <message> 53 <location filename="../ui/mainwindow.ui" line="3 36"/>88 <location filename="../ui/mainwindow.ui" line="347"/> 54 89 <source>Ctrl+P</source> 55 90 <translation></translation> 56 91 </message> 57 92 <message> 58 <location filename="../ui/mainwindow.ce.ui" line="503"/> 59 <location filename="../ui/mainwindow.ui" line="519"/> 93 <location filename="../ui/mainwindow.ce.ui" line="531"/> 94 <location filename="../ui/mainwindow.ui" line="544"/> 95 <source>Detect language automatically</source> 96 <translation>Визначати мову автоматично</translation> 97 </message> 98 <message> 99 <location filename="../ui/mainwindow.ce.ui" line="534"/> 100 <location filename="../ui/mainwindow.ui" line="547"/> 101 <source>Detect language automatically based on regional settings</source> 102 <translation type="unfinished">Визначати мову автоматично, використовуючи регіональні стандарти</translation> 103 </message> 104 <message> 105 <location filename="../ui/mainwindow.ce.ui" line="517"/> 106 <location filename="../ui/mainwindow.ui" line="530"/> 60 107 <source>Ctrl+S</source> 61 108 <translation></translation> 62 109 </message> 63 110 <message> 64 <location filename="../ui/mainwindow.ce.ui" line="3 83"/>65 <location filename="../ui/mainwindow.ui" line=" 399"/>111 <location filename="../ui/mainwindow.ce.ui" line="397"/> 112 <location filename="../ui/mainwindow.ui" line="410"/> 66 113 <source>Ctrl+N</source> 67 114 <translation></translation> … … 147 194 <message> 148 195 <location filename="../ui/mainwindow.ce.ui" line="262"/> 149 <location filename="../ui/mainwindow.ui" line="24 3"/>196 <location filename="../ui/mainwindow.ui" line="240"/> 150 197 <source>&Save</source> 151 198 <translation>&Зберегти</translation> … … 153 200 <message> 154 201 <location filename="../ui/mainwindow.ce.ui" line="282"/> 155 <location filename="../ui/mainwindow.ui" line="26 6"/>202 <location filename="../ui/mainwindow.ui" line="263"/> 156 203 <source>&Settings</source> 157 204 <translation>&Налагодження</translation> 158 205 </message> 159 206 <message> 160 <location filename="../ui/mainwindow.ce.ui" line="288"/> 161 <location filename="../ui/mainwindow.ui" line="272"/> 207 <location filename="../ui/mainwindow.ce.ui" line="292"/> 208 <location filename="../ui/mainwindow.ui" line="273"/> 209 <source>&Language</source> 210 <translation>Мова / &Language</translation> 211 </message> 212 <message> 213 <location filename="../ui/mainwindow.ce.ui" line="302"/> 214 <location filename="../ui/mainwindow.ui" line="283"/> 162 215 <source>&Help</source> 163 216 <translation>&Допомога</translation> 164 217 </message> 165 218 <message> 166 <location filename="../ui/mainwindow.ce.ui" line="3 28"/>167 <location filename="../ui/mainwindow.ui" line="3 44"/>219 <location filename="../ui/mainwindow.ce.ui" line="342"/> 220 <location filename="../ui/mainwindow.ui" line="355"/> 168 221 <source>Solution st&eps</source> 169 222 <translation>&Хід розв'язку</translation> 170 223 </message> 171 224 <message> 172 <location filename="../ui/mainwindow.ce.ui" line="3 31"/>173 <location filename="../ui/mainwindow.ui" line="3 47"/>225 <location filename="../ui/mainwindow.ce.ui" line="345"/> 226 <location filename="../ui/mainwindow.ui" line="358"/> 174 227 <source>Save solution steps</source> 175 228 <translation>Зберегти хід розв'язку</translation> 176 229 </message> 177 230 <message> 178 <location filename="../ui/mainwindow.ce.ui" line="3 34"/>179 <location filename="../ui/mainwindow.ui" line="3 50"/>231 <location filename="../ui/mainwindow.ce.ui" line="348"/> 232 <location filename="../ui/mainwindow.ui" line="361"/> 180 233 <source>Save solution steps only</source> 181 234 <translation>Зберегти тільки хід розв'язку</translation> 182 235 </message> 183 236 <message> 184 <location filename="../ui/mainwindow.ce.ui" line="3 42"/>185 <location filename="../ui/mainwindow.ui" line="3 58"/>237 <location filename="../ui/mainwindow.ce.ui" line="356"/> 238 <location filename="../ui/mainwindow.ui" line="369"/> 186 239 <source>Solution &graph</source> 187 240 <translation>&Граф розв'язку</translation> 188 241 </message> 189 242 <message> 190 <location filename="../ui/mainwindow.ce.ui" line="3 45"/>191 <location filename="../ui/mainwindow.ui" line="3 61"/>243 <location filename="../ui/mainwindow.ce.ui" line="359"/> 244 <location filename="../ui/mainwindow.ui" line="372"/> 192 245 <source>Save solution graph</source> 193 246 <translation>Зберегти граф розв'язку</translation> 194 247 </message> 195 248 <message> 196 <location filename="../ui/mainwindow.ce.ui" line="3 48"/>197 <location filename="../ui/mainwindow.ui" line="3 64"/>249 <location filename="../ui/mainwindow.ce.ui" line="362"/> 250 <location filename="../ui/mainwindow.ui" line="375"/> 198 251 <source>Save solution graph only</source> 199 252 <translation>Зберегти тільки граф розв'язку</translation> 200 253 </message> 201 254 <message> 202 <location filename="../ui/mainwindow.ce.ui" line="3 56"/>203 <location filename="../ui/mainwindow.ui" line="3 72"/>255 <location filename="../ui/mainwindow.ce.ui" line="370"/> 256 <location filename="../ui/mainwindow.ui" line="383"/> 204 257 <source>&Solution</source> 205 258 <translation>&Розв'язок</translation> 206 259 </message> 207 260 <message> 208 <location filename="../ui/mainwindow.ce.ui" line="3 59"/>209 <location filename="../ui/mainwindow.ui" line="3 75"/>261 <location filename="../ui/mainwindow.ce.ui" line="373"/> 262 <location filename="../ui/mainwindow.ui" line="386"/> 210 263 <source>Save solution</source> 211 264 <translation>Зберегти розв'язок</translation> 212 265 </message> 213 266 <message> 214 <location filename="../ui/mainwindow.ce.ui" line="3 62"/>215 <location filename="../ui/mainwindow.ui" line="3 78"/>267 <location filename="../ui/mainwindow.ce.ui" line="376"/> 268 <location filename="../ui/mainwindow.ui" line="389"/> 216 269 <source>Save solution steps and graph</source> 217 270 <translation>Зберегти хід та граф розв'язку</translation> 218 271 </message> 219 272 <message> 220 <location filename="../ui/mainwindow.ce.ui" line="3 71"/>221 <location filename="../ui/mainwindow.ui" line="3 87"/>273 <location filename="../ui/mainwindow.ce.ui" line="385"/> 274 <location filename="../ui/mainwindow.ui" line="398"/> 222 275 <source>&New</source> 223 276 <translation>&Створити</translation> 224 277 </message> 225 278 <message> 226 <location filename="../ui/mainwindow.ce.ui" line="3 74"/>227 <location filename="../ui/mainwindow.ui" line=" 390"/>279 <location filename="../ui/mainwindow.ce.ui" line="388"/> 280 <location filename="../ui/mainwindow.ui" line="401"/> 228 281 <source>New</source> 229 282 <translation>Створити</translation> 230 283 </message> 231 284 <message> 232 <location filename="../ui/mainwindow.ce.ui" line="3 77"/>233 <location filename="../ui/mainwindow.ui" line=" 393"/>285 <location filename="../ui/mainwindow.ce.ui" line="391"/> 286 <location filename="../ui/mainwindow.ui" line="404"/> 234 287 <source>New task</source> 235 288 <translation>Нове завдання</translation> 236 289 </message> 237 290 <message> 238 <location filename="../ui/mainwindow.ce.ui" line="3 80"/>239 <location filename="../ui/mainwindow.ui" line=" 396"/>291 <location filename="../ui/mainwindow.ce.ui" line="394"/> 292 <location filename="../ui/mainwindow.ui" line="407"/> 240 293 <source>Create new task</source> 241 294 <translation>Створити нове завдання</translation> 242 295 </message> 243 296 <message> 244 <location filename="../ui/mainwindow.ce.ui" line=" 395"/>245 <location filename="../ui/mainwindow.ui" line="4 11"/>297 <location filename="../ui/mainwindow.ce.ui" line="409"/> 298 <location filename="../ui/mainwindow.ui" line="422"/> 246 299 <source>&Open...</source> 247 300 <translation>&Відкрити...</translation> 248 301 </message> 249 302 <message> 250 <location filename="../ui/mainwindow.ce.ui" line=" 398"/>251 <location filename="../ui/mainwindow.ui" line="4 14"/>303 <location filename="../ui/mainwindow.ce.ui" line="412"/> 304 <location filename="../ui/mainwindow.ui" line="425"/> 252 305 <source>Open...</source> 253 306 <translation>Відкрити...</translation> 254 307 </message> 255 308 <message> 256 <location filename="../ui/mainwindow.ce.ui" line="4 01"/>257 <location filename="../ui/mainwindow.ui" line="4 17"/>309 <location filename="../ui/mainwindow.ce.ui" line="415"/> 310 <location filename="../ui/mainwindow.ui" line="428"/> 258 311 <source>Open task</source> 259 312 <translation>Відкрити завдання</translation> 260 313 </message> 261 314 <message> 262 <location filename="../ui/mainwindow.ce.ui" line="4 04"/>263 <location filename="../ui/mainwindow.ui" line="4 20"/>315 <location filename="../ui/mainwindow.ce.ui" line="418"/> 316 <location filename="../ui/mainwindow.ui" line="431"/> 264 317 <source>Open saved task</source> 265 318 <translation>Відкрити збережене завдання</translation> 266 319 </message> 267 320 <message> 268 <location filename="../ui/mainwindow.ce.ui" line="4 07"/>269 <location filename="../ui/mainwindow.ui" line="4 23"/>321 <location filename="../ui/mainwindow.ce.ui" line="421"/> 322 <location filename="../ui/mainwindow.ui" line="434"/> 270 323 <source>Ctrl+O</source> 271 324 <translation></translation> 272 325 </message> 273 326 <message> 274 <location filename="../ui/mainwindow.ce.ui" line="4 16"/>275 <location filename="../ui/mainwindow.ui" line="4 32"/>327 <location filename="../ui/mainwindow.ce.ui" line="430"/> 328 <location filename="../ui/mainwindow.ui" line="443"/> 276 329 <source>&Preferences...</source> 277 330 <translation>&Параметри...</translation> 278 331 </message> 279 332 <message> 280 <location filename="../ui/mainwindow.ce.ui" line="4 19"/>281 <location filename="../ui/mainwindow.ui" line="4 35"/>333 <location filename="../ui/mainwindow.ce.ui" line="433"/> 334 <location filename="../ui/mainwindow.ui" line="446"/> 282 335 <source>Preferences...</source> 283 336 <translation>Параметри...</translation> 284 337 </message> 285 338 <message> 286 <location filename="../ui/mainwindow.ce.ui" line="4 22"/>287 <location filename="../ui/mainwindow.ui" line="4 38"/>339 <location filename="../ui/mainwindow.ce.ui" line="436"/> 340 <location filename="../ui/mainwindow.ui" line="449"/> 288 341 <source>Application preferences</source> 289 342 <translation>Параметри додатку</translation> 290 343 </message> 291 344 <message> 292 <location filename="../ui/mainwindow.ce.ui" line="4 34"/>293 <location filename="../ui/mainwindow.ui" line="4 50"/>345 <location filename="../ui/mainwindow.ce.ui" line="448"/> 346 <location filename="../ui/mainwindow.ui" line="461"/> 294 347 <source>&Contents</source> 295 348 <translation>&Зміст</translation> 296 349 </message> 297 350 <message> 298 <location filename="../ui/mainwindow.ce.ui" line="4 37"/>299 <location filename="../ui/mainwindow.ui" line="4 53"/>351 <location filename="../ui/mainwindow.ce.ui" line="451"/> 352 <location filename="../ui/mainwindow.ui" line="464"/> 300 353 <source>Open help contents</source> 301 354 <translation>Відкрити зміст допомоги</translation> 302 355 </message> 303 356 <message> 304 <location filename="../ui/mainwindow.ce.ui" line="4 49"/>305 <location filename="../ui/mainwindow.ui" line="4 65"/>357 <location filename="../ui/mainwindow.ce.ui" line="463"/> 358 <location filename="../ui/mainwindow.ui" line="476"/> 306 359 <source>&Context help</source> 307 360 <translation>&Контекстна допомога</translation> 308 361 </message> 309 362 <message> 310 <location filename="../ui/mainwindow.ce.ui" line="4 52"/>311 <location filename="../ui/mainwindow.ui" line="4 68"/>363 <location filename="../ui/mainwindow.ce.ui" line="466"/> 364 <location filename="../ui/mainwindow.ui" line="479"/> 312 365 <source>Open context help</source> 313 366 <translation>Відкрити контекстну допомогу</translation> 314 367 </message> 315 368 <message> 316 <location filename="../ui/mainwindow.ce.ui" line="4 61"/>317 <location filename="../ui/mainwindow.ui" line="4 77"/>369 <location filename="../ui/mainwindow.ce.ui" line="475"/> 370 <location filename="../ui/mainwindow.ui" line="488"/> 318 371 <source>&About...</source> 319 372 <translation>&Про...</translation> 320 373 </message> 321 374 <message> 322 <location filename="../ui/mainwindow.ce.ui" line="4 64"/>323 <location filename="../ui/mainwindow.ui" line="4 80"/>375 <location filename="../ui/mainwindow.ce.ui" line="478"/> 376 <location filename="../ui/mainwindow.ui" line="491"/> 324 377 <source>About...</source> 325 378 <translation>Про...</translation> 326 379 </message> 327 380 <message> 328 <location filename="../ui/mainwindow.ce.ui" line="4 67"/>329 <location filename="../ui/mainwindow.ui" line="4 83"/>381 <location filename="../ui/mainwindow.ce.ui" line="481"/> 382 <location filename="../ui/mainwindow.ui" line="494"/> 330 383 <source>About application</source> 331 384 <translation>Про додаток</translation> 332 385 </message> 333 386 <message> 334 <location filename="../ui/mainwindow.ce.ui" line="4 76"/>335 <location filename="../ui/mainwindow.ui" line=" 492"/>387 <location filename="../ui/mainwindow.ce.ui" line="490"/> 388 <location filename="../ui/mainwindow.ui" line="503"/> 336 389 <source>E&xit</source> 337 390 <translation>В&ихід</translation> 338 391 </message> 339 392 <message> 340 <location filename="../ui/mainwindow.ce.ui" line="4 79"/>341 <location filename="../ui/mainwindow.ui" line=" 495"/>393 <location filename="../ui/mainwindow.ce.ui" line="493"/> 394 <location filename="../ui/mainwindow.ui" line="506"/> 342 395 <source>Exit application</source> 343 396 <translation>Вийти з додатку</translation> 344 397 </message> 345 398 <message> 346 <location filename="../ui/mainwindow.ce.ui" line=" 491"/>347 <location filename="../ui/mainwindow.ui" line="5 07"/>399 <location filename="../ui/mainwindow.ce.ui" line="505"/> 400 <location filename="../ui/mainwindow.ui" line="518"/> 348 401 <source>&Task...</source> 349 402 <translation>&Завдання...</translation> 350 403 </message> 351 404 <message> 352 <location filename="../ui/mainwindow.ce.ui" line=" 494"/>353 <location filename="../ui/mainwindow.ui" line="5 10"/>405 <location filename="../ui/mainwindow.ce.ui" line="508"/> 406 <location filename="../ui/mainwindow.ui" line="521"/> 354 407 <source>Task...</source> 355 408 <translation>Завдання...</translation> 356 409 </message> 357 410 <message> 358 <location filename="../ui/mainwindow.ce.ui" line=" 497"/>359 <location filename="../ui/mainwindow.ui" line="5 13"/>411 <location filename="../ui/mainwindow.ce.ui" line="511"/> 412 <location filename="../ui/mainwindow.ui" line="524"/> 360 413 <source>Save task</source> 361 414 <translation>Зберегти завдання</translation> 362 415 </message> 363 416 <message> 364 <location filename="../ui/mainwindow.ce.ui" line="5 00"/>365 <location filename="../ui/mainwindow.ui" line="5 16"/>417 <location filename="../ui/mainwindow.ce.ui" line="514"/> 418 <location filename="../ui/mainwindow.ui" line="527"/> 366 419 <source>Save task to file</source> 367 420 <translation>Зберегти завдання до файлу</translation> 368 421 </message> 369 422 <message> 370 <location filename="../src/mainwindow.cpp" line="125"/> 423 <location filename="../ui/mainwindow.ce.ui" line="528"/> 424 <location filename="../ui/mainwindow.ui" line="541"/> 425 <source>&Autodetect</source> 426 <translation>&Автовизначення</translation> 427 </message> 428 <message> 429 <location filename="../src/mainwindow.cpp" line="122"/> 430 <source>Language change</source> 431 <translation>Зміна мови</translation> 432 </message> 433 <message> 434 <location filename="../src/mainwindow.cpp" line="122"/> 435 <source>Unable to load translation language.</source> 436 <translation>Неможливо завантажити переклад.</translation> 437 </message> 438 <message> 439 <location filename="../src/mainwindow.cpp" line="189"/> 371 440 <source>Data error</source> 372 441 <translation>Помилка даних</translation> 373 442 </message> 374 443 <message> 375 <location filename="../src/mainwindow.cpp" line="1 25"/>444 <location filename="../src/mainwindow.cpp" line="189"/> 376 445 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 377 446 <translation>Помилка у комірці [Рядок %1; Колонка %2]: Невірний формат даних.</translation> 378 447 </message> 379 448 <message> 380 <location filename="../src/mainwindow.cpp" line="1 34"/>449 <location filename="../src/mainwindow.cpp" line="198"/> 381 450 <source>Solution error</source> 382 451 <translation>Помилка розв'язку</translation> 383 452 </message> 384 453 <message> 385 <location filename="../src/mainwindow.cpp" line="1 34"/>454 <location filename="../src/mainwindow.cpp" line="198"/> 386 455 <source>There was an error while solving the task.</source> 387 456 <translation>Під час розв'язання задачі виникла помилка.</translation> -
trunk/src/main.cpp
r27 r29 33 33 app.setOrganizationDomain("www.leppsville.com"); 34 34 app.setApplicationName("TSPSG"); 35 // i18n 36 // TODO: Language selection in application. 37 // TODO: Saving and restoring selected language. 38 QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8")); 39 QString locale = QLocale::languageToString(QLocale::system().language()); 40 QTranslator translator; 41 // Getting current locale language name and trying to load it, if it's not English 42 if (locale.compare("English") && translator.load(locale,"i18n")) 43 app.installTranslator(&translator); 35 QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8")); 44 36 MainWindow mainwindow; 45 37 mainwindow.show(); -
trunk/src/mainwindow.cpp
r27 r29 31 31 : QMainWindow(parent) 32 32 { 33 settings = new QSettings(QSettings::IniFormat,QSettings::UserScope,"TSPSG","tspsg"); 34 loadLanguage(); 33 35 setupUi(this); 34 settings = new QSettings(QSettings::IniFormat,QSettings::UserScope,"TSPSG","tspsg"); 36 #ifndef Q_OS_WINCE 37 printer = new QPrinter(); 38 #endif // Q_OS_WINCE 39 groupSettingsLanguageList = new QActionGroup(this); 40 loadLangList(); 35 41 spinCities->setValue(settings->value("NumCities",5).toInt()); 36 connect(actionSettingsSettings,SIGNAL(triggered()),this,SLOT(ChangeSettings())); 37 connect(actionHelpAbout,SIGNAL(triggered()),this,SLOT(showAbout())); 38 #ifndef Q_OS_WINCE 39 connect(actionFilePrintSetup,SIGNAL(triggered()),this,SLOT(PrintSetup())); 40 #endif // Q_OS_WINCE 41 connect(buttonSolve,SIGNAL(clicked()),this,SLOT(Solve())); 42 connect(buttonRandom,SIGNAL(clicked()),this,SLOT(Random())); 43 connect(spinCities,SIGNAL(valueChanged(int)),this,SLOT(CitiesNumberChanged(int))); 42 actionSettingsLanguageAutodetect->setChecked(settings->value("Language","").toString().isEmpty()); 43 connect(actionFileNew,SIGNAL(triggered()),this,SLOT(actionFileNewTriggered())); 44 connect(actionSettingsPreferences,SIGNAL(triggered()),this,SLOT(actionSettingsPreferencesTriggered())); 45 connect(actionSettingsLanguageAutodetect,SIGNAL(triggered(bool)),this,SLOT(actionSettingsLanguageAutodetectTriggered(bool))); 46 connect(groupSettingsLanguageList,SIGNAL(triggered(QAction *)),this,SLOT(groupSettingsLanguageListTriggered(QAction *))); 47 connect(actionHelpAbout,SIGNAL(triggered()),this,SLOT(actionHelpAboutTriggered())); 48 #ifndef Q_OS_WINCE 49 connect(actionFilePrintSetup,SIGNAL(triggered()),this,SLOT(actionFilePrintSetupTriggered())); 50 #endif // Q_OS_WINCE 51 connect(buttonSolve,SIGNAL(clicked()),this,SLOT(buttonSolveClicked())); 52 connect(buttonRandom,SIGNAL(clicked()),this,SLOT(buttonRandomClicked())); 53 connect(spinCities,SIGNAL(valueChanged(int)),this,SLOT(spinCitiesValueChanged(int))); 44 54 QRect rect = geometry(); 45 55 #ifdef Q_OS_WINCE … … 73 83 } 74 84 75 void MainWindow::CitiesNumberChanged(int n) 85 bool MainWindow::loadLanguage() 86 { 87 // i18n 88 bool ad = settings->value("Language","").toString().isEmpty(); 89 QString lang = settings->value("Language",QLocale::system().name()).toString(); 90 static QTranslator *qtTranslator; 91 if (qtTranslator) { 92 qApp->removeTranslator(qtTranslator); 93 delete qtTranslator; 94 qtTranslator = NULL; 95 } 96 qtTranslator = new QTranslator(); 97 if (lang.compare("en") && !lang.startsWith("en_")) { 98 // Trying to load system Qt library translation... 99 if (qtTranslator->load("qt_" + lang,QLibraryInfo::location(QLibraryInfo::TranslationsPath))) 100 qApp->installTranslator(qtTranslator); 101 else 102 // No luck. Let's try to load bundled one. 103 if (qtTranslator->load("qt_" + lang,"i18n")) 104 qApp->installTranslator(qtTranslator); 105 else { 106 delete qtTranslator; 107 qtTranslator = NULL; 108 } 109 } 110 // Now let's load application translation. 111 static QTranslator *translator; 112 if (translator) { 113 qApp->removeTranslator(translator); 114 delete translator; 115 } 116 translator = new QTranslator(); 117 if (lang.compare("en") && !lang.startsWith("en_")) { 118 if (translator->load(lang,"i18n")) 119 qApp->installTranslator(translator); 120 else { 121 if (!ad) 122 QMessageBox(QMessageBox::Warning,trUtf8("Language change"),trUtf8("Unable to load translation language."),QMessageBox::Ok,this).exec(); 123 delete translator; 124 translator = NULL; 125 return false; 126 } 127 } 128 return true; 129 } 130 131 void MainWindow::spinCitiesValueChanged(int n) 76 132 { 77 133 #ifdef Q_OS_WINCE … … 88 144 } 89 145 90 void MainWindow::ChangeSettings() 146 147 void MainWindow::actionFileNewTriggered() 148 { 149 tspmodel->clear(); 150 } 151 152 void MainWindow::actionSettingsPreferencesTriggered() 91 153 { 92 154 SettingsDialog sd(this); … … 95 157 96 158 #ifndef Q_OS_WINCE 97 void MainWindow::PrintSetup() 98 { 99 QPrintDialog pd; 159 void MainWindow::actionFilePrintSetupTriggered() 160 { 161 QPrintDialog pd(printer,this); 162 pd.setOption(QAbstractPrintDialog::PrintSelection,false); 163 pd.setOption(QAbstractPrintDialog::PrintPageRange,false); 100 164 pd.exec(); 101 165 } 102 166 #endif // Q_OS_WINCE 103 167 104 void MainWindow:: Random()168 void MainWindow::buttonRandomClicked() 105 169 { 106 170 tspmodel->randomize(); … … 111 175 } 112 176 113 void MainWindow:: Solve()177 void MainWindow::buttonSolveClicked() 114 178 { 115 179 // TODO: Task solving goes here :-) … … 136 200 } 137 201 138 void MainWindow:: showAbout()202 void MainWindow::actionHelpAboutTriggered() 139 203 { 140 204 // TODO: Normal about window :-) … … 149 213 } 150 214 215 void MainWindow::loadLangList() 216 { 217 QSettings langinfo("i18n/languages.ini",QSettings::IniFormat); 218 langinfo.setIniCodec("UTF-8"); 219 QDir dir("i18n","*.qm",QDir::Name | QDir::IgnoreCase,QDir::Files); 220 if (!dir.exists()) 221 return; 222 QFileInfoList langs = dir.entryInfoList(); 223 if (langs.size() <= 0) 224 return; 225 menuSettingsLanguage->addSeparator(); 226 QAction *a; 227 for (int k = 0; k < langs.size(); k++) { 228 QFileInfo lang = langs.at(k); 229 if (!lang.completeBaseName().startsWith("qt_")) { 230 a = menuSettingsLanguage->addAction(langinfo.value(lang.completeBaseName() + "/NativeName",lang.completeBaseName()).toString()); 231 a->setData(lang.completeBaseName()); 232 a->setCheckable(true); 233 a->setActionGroup(groupSettingsLanguageList); 234 if (settings->value("Language",QLocale::system().name()).toString().startsWith(lang.completeBaseName())) 235 a->setChecked(true); 236 } 237 } 238 } 239 240 void MainWindow::actionSettingsLanguageAutodetectTriggered(bool checked) 241 { 242 if (checked) { 243 settings->remove("Language"); 244 QMessageBox(QMessageBox::Information,trUtf8("Language change"),trUtf8("Language will be autodetected on next application start."),QMessageBox::Ok,this).exec(); 245 } else 246 settings->setValue("Language",groupSettingsLanguageList->checkedAction()->data().toString()); 247 } 248 249 void MainWindow::groupSettingsLanguageListTriggered(QAction *action) 250 { 251 if (actionSettingsLanguageAutodetect->isChecked()) { 252 // We have language autodetection. It needs to be disabled to change language. 253 if (QMessageBox(QMessageBox::Question,trUtf8("Language change"),trUtf8("You have language autodetection turned on.\nIt needs to be off.\nDo you wish to turn it off?"),QMessageBox::Yes | QMessageBox::No,this).exec() == QMessageBox::Yes) { 254 actionSettingsLanguageAutodetect->trigger(); 255 } else 256 return; 257 } 258 if (loadLanguage()) { 259 settings->setValue("Language",action->data().toString()); 260 retranslateUi(this); 261 } else { 262 } 263 } 264 151 265 void MainWindow::closeEvent(QCloseEvent *event) 152 266 { -
trunk/src/mainwindow.h
r26 r29 43 43 void closeEvent(QCloseEvent *event); 44 44 private slots: 45 void ChangeSettings(); 46 void showAbout(); 45 void actionFileNewTriggered(); 46 void actionSettingsPreferencesTriggered(); 47 void actionSettingsLanguageAutodetectTriggered(bool checked); 48 void groupSettingsLanguageListTriggered(QAction *action); 49 void actionHelpAboutTriggered(); 47 50 #ifndef Q_OS_WINCE 48 void PrintSetup();51 void actionFilePrintSetupTriggered(); 49 52 #endif // Q_OS_WINCE 50 void Solve();51 void Random();52 void CitiesNumberChanged(int n);53 void buttonSolveClicked(); 54 void buttonRandomClicked(); 55 void spinCitiesValueChanged(int n); 53 56 private: 54 57 QSettings *settings; 58 QPrinter *printer; 55 59 CTSPModel *tspmodel; 60 QActionGroup *groupSettingsLanguageList; 61 bool loadLanguage(); 62 void loadLangList(); 56 63 }; 57 64 -
trunk/src/tspmodel.cpp
r27 r29 141 141 } 142 142 143 void CTSPModel::clear() 144 { 145 for (int r = 0; r < nCities; r++) 146 for (int c = 0; c < nCities; c++) 147 if (r != c) 148 table[r][c] = 0; 149 emit dataChanged(index(0,0),index(nCities - 1,nCities - 1)); 150 } 151 143 152 void CTSPModel::randomize() 144 153 { -
trunk/src/tspmodel.h
r27 r29 42 42 int numCities() const; 43 43 void setNumCities(int); 44 void clear(); 44 45 void randomize(); 45 46 private: -
trunk/tspsg.pri
r27 r29 37 37 #Translations 38 38 CODECFORTR = UTF-8 39 TRANSLATIONS += i18n/ English.ts \40 i18n/ Russian.ts \41 i18n/ Ukrainian.ts39 TRANSLATIONS += i18n/en.ts \ 40 i18n/ru.ts \ 41 i18n/uk.ts -
trunk/ui/mainwindow.ce.ui
r27 r29 282 282 <string>&Settings</string> 283 283 </property> 284 <addaction name="actionSettingsSettings"/> 284 <widget class="QMenu" name="menuSettingsLanguage"> 285 <property name="toolTip"> 286 <string>Select language</string> 287 </property> 288 <property name="statusTip"> 289 <string>Select application language</string> 290 </property> 291 <property name="title"> 292 <string extracomment="Please, append " / Language" when translating this string.">&Language</string> 293 </property> 294 <addaction name="actionSettingsLanguageAutodetect"/> 295 </widget> 296 <addaction name="menuSettingsLanguage"/> 297 <addaction name="separator"/> 298 <addaction name="actionSettingsPreferences"/> 285 299 </widget> 286 300 <widget class="QMenu" name="menuHelp"> … … 317 331 <addaction name="actionFileSaveTask"/> 318 332 <addaction name="separator"/> 319 <addaction name="actionSettings Settings"/>333 <addaction name="actionSettingsPreferences"/> 320 334 <addaction name="separator"/> 321 335 <addaction name="actionFileExit"/> … … 408 422 </property> 409 423 </action> 410 <action name="actionSettings Settings">424 <action name="actionSettingsPreferences"> 411 425 <property name="icon"> 412 426 <iconset resource="../resources/tspsg.qrc"> … … 502 516 <property name="shortcut"> 503 517 <string>Ctrl+S</string> 518 </property> 519 </action> 520 <action name="actionSettingsLanguageAutodetect"> 521 <property name="checkable"> 522 <bool>true</bool> 523 </property> 524 <property name="checked"> 525 <bool>true</bool> 526 </property> 527 <property name="text"> 528 <string>&Autodetect</string> 529 </property> 530 <property name="toolTip"> 531 <string>Detect language automatically</string> 532 </property> 533 <property name="statusTip"> 534 <string>Detect language automatically based on regional settings</string> 504 535 </property> 505 536 </action> -
trunk/ui/mainwindow.ui
r27 r29 237 237 </property> 238 238 <widget class="QMenu" name="menuFileSave"> 239 <property name="statusTip">240 <string/>241 </property>242 239 <property name="title"> 243 240 <string>&Save</string> … … 249 246 <addaction name="actionFileSaveTask"/> 250 247 <addaction name="separator"/> 251 <addaction name="actionFileSave ResultAll"/>252 <addaction name="actionFileSave ResultMatrices"/>253 <addaction name="actionFileSave ResultGraph"/>248 <addaction name="actionFileSaveSolutionAll"/> 249 <addaction name="actionFileSaveSolutionMatrices"/> 250 <addaction name="actionFileSaveSolutionGraph"/> 254 251 </widget> 255 252 <addaction name="actionFileNew"/> … … 266 263 <string>&Settings</string> 267 264 </property> 268 <addaction name="actionSettingsSettings"/> 265 <widget class="QMenu" name="menuSettingsLanguage"> 266 <property name="toolTip"> 267 <string>Select language</string> 268 </property> 269 <property name="statusTip"> 270 <string>Select application language</string> 271 </property> 272 <property name="title"> 273 <string extracomment="Please, append " / Language" when translating this string.">&Language</string> 274 </property> 275 <addaction name="actionSettingsLanguageAutodetect"/> 276 </widget> 277 <addaction name="menuSettingsLanguage"/> 278 <addaction name="separator"/> 279 <addaction name="actionSettingsPreferences"/> 269 280 </widget> 270 281 <widget class="QMenu" name="menuHelp"> … … 303 314 <addaction name="separator"/> 304 315 <addaction name="actionFilePrint"/> 305 <addaction name="actionSettings Settings"/>316 <addaction name="actionSettingsPreferences"/> 306 317 <addaction name="separator"/> 307 318 <addaction name="actionFileExit"/> … … 337 348 </property> 338 349 </action> 339 <action name="actionFileSave ResultMatrices">350 <action name="actionFileSaveSolutionMatrices"> 340 351 <property name="enabled"> 341 352 <bool>false</bool> … … 351 362 </property> 352 363 </action> 353 <action name="actionFileSave ResultGraph">364 <action name="actionFileSaveSolutionGraph"> 354 365 <property name="enabled"> 355 366 <bool>false</bool> … … 365 376 </property> 366 377 </action> 367 <action name="actionFileSave ResultAll">378 <action name="actionFileSaveSolutionAll"> 368 379 <property name="enabled"> 369 380 <bool>false</bool> … … 424 435 </property> 425 436 </action> 426 <action name="actionSettings Settings">437 <action name="actionSettingsPreferences"> 427 438 <property name="icon"> 428 439 <iconset resource="../resources/tspsg.qrc"> … … 518 529 <property name="shortcut"> 519 530 <string>Ctrl+S</string> 531 </property> 532 </action> 533 <action name="actionSettingsLanguageAutodetect"> 534 <property name="checkable"> 535 <bool>true</bool> 536 </property> 537 <property name="checked"> 538 <bool>true</bool> 539 </property> 540 <property name="text"> 541 <string>&Autodetect</string> 542 </property> 543 <property name="toolTip"> 544 <string>Detect language automatically</string> 545 </property> 546 <property name="statusTip"> 547 <string>Detect language automatically based on regional settings</string> 520 548 </property> 521 549 </action> -
trunk/ui/settingsdialog.ce.ui
r27 r29 8 8 <y>0</y> 9 9 <width>235</width> 10 <height>1 90</height>10 <height>180</height> 11 11 </rect> 12 12 </property>
Note: See TracChangeset
for help on using the changeset viewer.