diff --git a/po/POTFILES.in b/po/POTFILES.in index e723152..e4c3589 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1 +1,2 @@ src/main.c +src/sudoku.c diff --git a/po/de.po b/po/de.po index 3173ca9..c05f7e4 100644 --- a/po/de.po +++ b/po/de.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: nudoku\n" -"Report-Msgid-Bugs-To: ramshellcinox@gmail.com\n" -"POT-Creation-Date: 2018-04-19 19:02-0300\n" +"Report-Msgid-Bugs-To: jubalh@iodoru.org\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" "PO-Revision-Date: 2018-05-03 10:12-0300\n" "Last-Translator: Emanuel Dubor \n" "Language-Team: German\n" @@ -17,39 +17,117 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: main.c:282 -msgid " H - Give a hint\n" -msgstr " H - Gib einen Hinweis\n" +#: src/main.c:107 +#, c-format +msgid "" +"nudoku [option]\n" +"\n" +msgstr "" -#: main.c:287 -msgid " N - New puzzle\n" -msgstr " N - Neues Puzzle\n" +#: src/main.c:108 +#, c-format +msgid "Options:\n" +msgstr "" -#: main.c:288 -msgid " Q - Quit\n" -msgstr " Q - Verlassen\n" +#: src/main.c:109 +#, c-format +msgid "-h help:\t\tPrint this help\n" +msgstr "" -#: main.c:290 -msgid " S - Solve puzzle\n" -msgstr " S - Puzzle lösen\n" +#: src/main.c:110 +#, c-format +msgid "-v version:\t\tPrint version\n" +msgstr "" -#: main.c:281 -msgid " c - Check solution\n" -msgstr " c - Überprüfen Sie die Lösung\n" +#: src/main.c:111 +#, c-format +msgid "-c nocolor:\t\tDo not use colors\n" +msgstr "" + +#: src/main.c:112 +#, c-format +msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" +msgstr "" + +#: src/main.c:113 +#, c-format +msgid "-s stream:\t\tUser provided sudoku stream\n" +msgstr "" + +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "" + +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "" -#: main.c:276 +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "" + +#: src/main.c:131 +#, c-format +msgid "Character %c at position %d is not allowed.\n" +msgstr "Zeichen %c an Position %d ist nicht erlaubt.\n" + +#: src/main.c:139 +#, c-format +msgid "Stream has to be %d characters long.\n" +msgstr "Der Stream muss %d Zeichen lang sein.\n" + +#: src/main.c:145 +#, c-format +msgid "Stream does not represent a valid sudoku puzzle.\n" +msgstr "Stream stellt kein gültiges Sudoku-Puzzle dar.\n" + +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" + +#: src/main.c:375 +msgid "" +"Your terminal doesn't support colors.\n" +"Try the nocolor (-c) option.\n" +msgstr "" +"Ihr Terminal unterstützt keine Farben.\n" +"Probieren Sie die Option nocolor (-c) aus.\n" + +#: src/main.c:466 +#, c-format +msgid "" +"level: %s\n" +"\n" +msgstr "" +"Niveau: %s\n" +"\n" + +#: src/main.c:475 +msgid "Movement\n" +msgstr "Bewegung\n" + +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - Nach links bewegen\n" -#: main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - Nach unten gehen\n" -#: main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - Nach oben gehen\n" -#: main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" @@ -57,100 +135,109 @@ msgstr "" " l - Nach rechts bewegen\n" "\n" -#: main.c:285 +#: src/main.c:480 +msgid "Commands\n" +msgstr "Befehle\n" + +#: src/main.c:481 +msgid " c - Check solution\n" +msgstr " c - Überprüfen Sie die Lösung\n" + +#: src/main.c:482 +msgid " H - Give a hint\n" +msgstr " H - Gib einen Hinweis\n" + +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - Umschaltmarken\n" -#: main.c:289 +#: src/main.c:487 +msgid " N - New puzzle\n" +msgstr " N - Neues Puzzle\n" + +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 +msgid " Q - Quit\n" +msgstr " Q - Verlassen\n" + +#: src/main.c:490 msgid " r - Redraw\n" msgstr " r - Neu zeichnen\n" -#: main.c:550 -#, c-format -msgid " with the help of %d hints" -msgstr " mit Hilfe von %d Tipps" +#: src/main.c:491 +msgid " S - Solve puzzle\n" +msgstr " S - Puzzle lösen\n" -#: main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - Nummer löschen\n" -#: main.c:104 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 #, c-format -msgid "Character %c at position %d is not allowed.\n" -msgstr "Zeichen %c an Position %d ist nicht erlaubt.\n" +msgid "nudoku is compiled without cairo support.\n" +msgstr "" -#: main.c:280 -msgid "Commands\n" -msgstr "Befehle\n" +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" -#: main.c:558 -msgid "Correct so far" -msgstr "Soweit richtig" +#: src/main.c:760 +msgid "Solving puzzle..." +msgstr "Puzzle lösen..." -#: main.c:513 +#: src/main.c:766 src/main.c:808 +msgid "Solved" +msgstr "Gelöst" + +#: src/main.c:776 msgid "Generating puzzle..." msgstr "Generiere Sudoku..." -#: main.c:275 -msgid "Movement\n" -msgstr "Bewegung\n" - -#: main.c:539 +#: src/main.c:802 msgid "Not correct" msgstr "Nicht richtig" -#: main.c:586 -msgid "Provided hint" -msgstr "Tipp gegeben" - -#: main.c:504 main.c:545 -msgid "Solved" -msgstr "Gelöst" - -#: main.c:498 -msgid "Solving puzzle..." -msgstr "Puzzle lösen..." - -#: main.c:118 +#: src/main.c:813 #, c-format -msgid "Stream does not represent a valid sudoku puzzle.\n" -msgstr "Stream stellt kein gültiges Sudoku-Puzzle dar.\n" +msgid " with the help of %d hints" +msgstr " mit Hilfe von %d Tipps" -#: main.c:112 -#, c-format -msgid "Stream has to be %d characters long.\n" -msgstr "Der Stream muss %d Zeichen lang sein.\n" +#: src/main.c:821 +msgid "Correct so far" +msgstr "Soweit richtig" -#: main.c:195 -msgid "" -"Your terminal doesn't support colors.\n" -"Try the nocolor (-c) option.\n" -msgstr "" -"Ihr Terminal unterstützt keine Farben.\n" -"Probieren Sie die Option nocolor (-c) aus.\n" +#: src/main.c:851 +msgid "Provided hint" +msgstr "Tipp gegeben" -#: main.c:266 -#, c-format -msgid "" -"level: %s\n" -"\n" -msgstr "Niveau: %s\n" -"\n" +#: src/main.c:864 +msgid "Saved!" +msgstr "" -#: main.c:263 -#, c-format -msgid "nudoku %s\n" -msgstr "nudoku %s\n" +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" -#: sudoku.c:241 +#: src/sudoku.c:251 msgid "hard" msgstr "schwer" -#: sudoku.c:243 +#: src/sudoku.c:253 msgid "normal" msgstr "normal" -#: sudoku.c:246 +#: src/sudoku.c:256 msgid "easy" msgstr "einfach" +#, c-format +#~ msgid "nudoku %s\n" +#~ msgstr "nudoku %s\n" diff --git a/po/es.po b/po/es.po index a83df97..a0c5cbc 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: nudoku 1.0.0\n" "Report-Msgid-Bugs-To: jubalh@iodoru.org\n" -"POT-Creation-Date: 2018-04-27 19:00-0300\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" "PO-Revision-Date: 2018-04-26 19:03-0300\n" "Last-Translator: ramshell \n" "Language-Team: Spanish\n" @@ -16,7 +16,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/main.c:84 +#: src/main.c:107 #, c-format msgid "" "nudoku [option]\n" @@ -25,52 +25,77 @@ msgstr "" "nudoku [option]\n" "\n" -#: src/main.c:85 +#: src/main.c:108 #, c-format msgid "Options:\n" msgstr "Opciones:\n" -#: src/main.c:86 +#: src/main.c:109 #, c-format msgid "-h help:\t\tPrint this help\n" msgstr "-h help:\t\tImprimir esta ayuda\n" -#: src/main.c:87 +#: src/main.c:110 #, c-format msgid "-v version:\t\tPrint version\n" msgstr "-v version:\t\tImprimir version\n" -#: src/main.c:88 +#: src/main.c:111 #, c-format msgid "-c nocolor:\t\tDo not use colors\n" msgstr "-c nocolor:\t\tNo use colores\n" -#: src/main.c:89 +#: src/main.c:112 #, c-format msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" msgstr "-d dificultad:\t\tElige entre: facil, normal, dificil\n" -#: src/main.c:90 +#: src/main.c:113 #, c-format msgid "-s stream:\t\tUser provided sudoku stream\n" msgstr "-s datos:\t\tDatos dados por el usuario\n" -#: src/main.c:104 +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "" + +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "" + +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "" + +#: src/main.c:131 #, c-format msgid "Character %c at position %d is not allowed.\n" msgstr "No se permite el caracter %c en la posicion %d.\n" -#: src/main.c:112 +#: src/main.c:139 #, c-format msgid "Stream has to be %d characters long.\n" msgstr "Los datos deben tener como maximo %d characteres.\n" -#: src/main.c:118 +#: src/main.c:145 #, c-format msgid "Stream does not represent a valid sudoku puzzle.\n" msgstr "Los datos no representan un sudoku valido.\n" -#: src/main.c:195 +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" + +#: src/main.c:375 msgid "" "Your terminal doesn't support colors.\n" "Try the nocolor (-c) option.\n" @@ -78,7 +103,7 @@ msgstr "" "Tu terminal no soporta colores.\n" "Prueba la opcion nocolor (-c).\n" -#: src/main.c:266 +#: src/main.c:466 #, c-format msgid "" "level: %s\n" @@ -87,102 +112,127 @@ msgstr "" "nivel: %s\n" "\n" -#: src/main.c:275 +#: src/main.c:475 msgid "Movement\n" msgstr "Movimiento\n" -#: src/main.c:276 +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - Mover a la izq\n" -#: src/main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - Mover a abajo\n" -#: src/main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - Mover a arriba\n" -#: src/main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" msgstr " l - Mover a la der\n" -#: src/main.c:280 +#: src/main.c:480 msgid "Commands\n" msgstr "Comandos\n" -#: src/main.c:281 +#: src/main.c:481 msgid " c - Check solution\n" msgstr " c - Verificar sol\n" -#: src/main.c:282 +#: src/main.c:482 msgid " H - Give a hint\n" msgstr " H - Dar una pista\n" -#: src/main.c:285 +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - Activar marcas\n" -#: src/main.c:287 +#: src/main.c:487 msgid " N - New puzzle\n" msgstr " N - Nuevo sudoku\n" -#: src/main.c:288 +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 msgid " Q - Quit\n" msgstr " Q - Salir\n" -#: src/main.c:289 +#: src/main.c:490 msgid " r - Redraw\n" msgstr " r - Redibujar\n" -#: src/main.c:290 +#: src/main.c:491 msgid " S - Solve puzzle\n" msgstr " S - Resolver sudoku\n" -#: src/main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - Borrar numero\n" -#: src/main.c:500 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 +#, c-format +msgid "nudoku is compiled without cairo support.\n" +msgstr "" + +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" + +#: src/main.c:760 msgid "Solving puzzle..." msgstr "Resolviendo sudoku..." -#: src/main.c:506 src/main.c:547 +#: src/main.c:766 src/main.c:808 msgid "Solved" msgstr "Resuelto" -#: src/main.c:515 +#: src/main.c:776 msgid "Generating puzzle..." msgstr "Generando sudoku..." -#: src/main.c:541 +#: src/main.c:802 msgid "Not correct" msgstr "Incorrecto" -#: src/main.c:552 +#: src/main.c:813 #, c-format msgid " with the help of %d hints" msgstr " con la ayuda de %d pistas" -#: src/main.c:560 +#: src/main.c:821 msgid "Correct so far" msgstr "Correctas hasta ahora" -#: src/main.c:588 +#: src/main.c:851 msgid "Provided hint" msgstr "Pistas dadas" -#: sudoku.c:241 +#: src/main.c:864 +msgid "Saved!" +msgstr "" + +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" + +#: src/sudoku.c:251 msgid "hard" msgstr "dificil" -#: sudoku.c:243 +#: src/sudoku.c:253 msgid "normal" msgstr "normal" -#: sudoku.c:246 +#: src/sudoku.c:256 msgid "easy" msgstr "facil" - diff --git a/po/fr.po b/po/fr.po index 526805f..5420a9d 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: nudoku\n" -"Report-Msgid-Bugs-To: ramshellcinox@gmail.com\n" -"POT-Creation-Date: 2019-04-11 14:02+0100\n" +"Report-Msgid-Bugs-To: jubalh@iodoru.org\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" "PO-Revision-Date: 2019-04-11 14:02+0100\n" "Last-Translator: Aurelien Aptel \n" "Language-Team: French\n" @@ -17,39 +17,117 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: main.c:282 -msgid " H - Give a hint\n" -msgstr " H - Donne un indice\n" +#: src/main.c:107 +#, c-format +msgid "" +"nudoku [option]\n" +"\n" +msgstr "" -#: main.c:287 -msgid " N - New puzzle\n" -msgstr " N - Nouveau Puzzle\n" +#: src/main.c:108 +#, c-format +msgid "Options:\n" +msgstr "" -#: main.c:288 -msgid " Q - Quit\n" -msgstr " Q - Quitter\n" +#: src/main.c:109 +#, c-format +msgid "-h help:\t\tPrint this help\n" +msgstr "" -#: main.c:290 -msgid " S - Solve puzzle\n" -msgstr " S - Résout le puzzle\n" +#: src/main.c:110 +#, c-format +msgid "-v version:\t\tPrint version\n" +msgstr "" -#: main.c:281 -msgid " c - Check solution\n" -msgstr " c - Vérifie la solution\n" +#: src/main.c:111 +#, c-format +msgid "-c nocolor:\t\tDo not use colors\n" +msgstr "" + +#: src/main.c:112 +#, c-format +msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" +msgstr "" + +#: src/main.c:113 +#, c-format +msgid "-s stream:\t\tUser provided sudoku stream\n" +msgstr "" + +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "" + +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "" -#: main.c:276 +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "" + +#: src/main.c:131 +#, c-format +msgid "Character %c at position %d is not allowed.\n" +msgstr "Le caractère %c à la position %d n'est pas authorisé.\n" + +#: src/main.c:139 +#, c-format +msgid "Stream has to be %d characters long.\n" +msgstr "Le stream doit faire %d caractères.\n" + +#: src/main.c:145 +#, c-format +msgid "Stream does not represent a valid sudoku puzzle.\n" +msgstr "Le stream ne représente pas un sudoku valide.\n" + +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" + +#: src/main.c:375 +msgid "" +"Your terminal doesn't support colors.\n" +"Try the nocolor (-c) option.\n" +msgstr "" +"Votre terminal ne supporte pas les couleurs.\n" +"Essayez l'option nocolor (-c).\n" + +#: src/main.c:466 +#, c-format +msgid "" +"level: %s\n" +"\n" +msgstr "" +"Niveau: %s\n" +"\n" + +#: src/main.c:475 +msgid "Movement\n" +msgstr "Mouvement\n" + +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - Gauche\n" -#: main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - Bas\n" -#: main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - Haut\n" -#: main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" @@ -57,100 +135,109 @@ msgstr "" " l - Droite\n" "\n" -#: main.c:285 +#: src/main.c:480 +msgid "Commands\n" +msgstr "Commandes\n" + +#: src/main.c:481 +msgid " c - Check solution\n" +msgstr " c - Vérifie la solution\n" + +#: src/main.c:482 +msgid " H - Give a hint\n" +msgstr " H - Donne un indice\n" + +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - Montre les marques\n" -#: main.c:289 +#: src/main.c:487 +msgid " N - New puzzle\n" +msgstr " N - Nouveau Puzzle\n" + +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 +msgid " Q - Quit\n" +msgstr " Q - Quitter\n" + +#: src/main.c:490 msgid " r - Redraw\n" msgstr " r - Rafraichir\n" -#: main.c:550 -#, c-format -msgid " with the help of %d hints" -msgstr " avec l'aide de %d astuces" +#: src/main.c:491 +msgid " S - Solve puzzle\n" +msgstr " S - Résout le puzzle\n" -#: main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - Supprime un chiffre\n" -#: main.c:104 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 #, c-format -msgid "Character %c at position %d is not allowed.\n" -msgstr "Le caractère %c à la position %d n'est pas authorisé.\n" +msgid "nudoku is compiled without cairo support.\n" +msgstr "" -#: main.c:280 -msgid "Commands\n" -msgstr "Commandes\n" +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" -#: main.c:558 -msgid "Correct so far" -msgstr "Correct pour l'instant" +#: src/main.c:760 +msgid "Solving puzzle..." +msgstr "Résolution du puzzle..." -#: main.c:513 +#: src/main.c:766 src/main.c:808 +msgid "Solved" +msgstr "Résolu" + +#: src/main.c:776 msgid "Generating puzzle..." msgstr "Génération du sudoku..." -#: main.c:275 -msgid "Movement\n" -msgstr "Mouvement\n" - -#: main.c:539 +#: src/main.c:802 msgid "Not correct" msgstr "Invalide" -#: main.c:586 -msgid "Provided hint" -msgstr "Indice donné" - -#: main.c:504 main.c:545 -msgid "Solved" -msgstr "Résolu" - -#: main.c:498 -msgid "Solving puzzle..." -msgstr "Résolution du puzzle..." - -#: main.c:118 +#: src/main.c:813 #, c-format -msgid "Stream does not represent a valid sudoku puzzle.\n" -msgstr "Le stream ne représente pas un sudoku valide.\n" +msgid " with the help of %d hints" +msgstr " avec l'aide de %d astuces" -#: main.c:112 -#, c-format -msgid "Stream has to be %d characters long.\n" -msgstr "Le stream doit faire %d caractères.\n" +#: src/main.c:821 +msgid "Correct so far" +msgstr "Correct pour l'instant" -#: main.c:195 -msgid "" -"Your terminal doesn't support colors.\n" -"Try the nocolor (-c) option.\n" -msgstr "" -"Votre terminal ne supporte pas les couleurs.\n" -"Essayez l'option nocolor (-c).\n" +#: src/main.c:851 +msgid "Provided hint" +msgstr "Indice donné" -#: main.c:266 -#, c-format -msgid "" -"level: %s\n" -"\n" -msgstr "Niveau: %s\n" -"\n" +#: src/main.c:864 +msgid "Saved!" +msgstr "" -#: main.c:263 -#, c-format -msgid "nudoku %s\n" -msgstr "nudoku %s\n" +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" -#: sudoku.c:241 +#: src/sudoku.c:251 msgid "hard" msgstr "difficile" -#: sudoku.c:243 +#: src/sudoku.c:253 msgid "normal" msgstr "normal" -#: sudoku.c:246 +#: src/sudoku.c:256 msgid "easy" msgstr "facile" +#, c-format +#~ msgid "nudoku %s\n" +#~ msgstr "nudoku %s\n" diff --git a/po/ja.po b/po/ja.po index bea576e..b4248df 100644 --- a/po/ja.po +++ b/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: nudoku\n" "Report-Msgid-Bugs-To: jubalh@iodoru.org\n" -"POT-Creation-Date: 2018-04-27 19:00-0300\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" "PO-Revision-Date: 2020-09-01 21:19+0900\n" "Last-Translator: cmplstofB <20594300+cmplstofB@users.noreply.github.com>\n" "Language-Team: Japanese\n" @@ -16,7 +16,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: src/main.c:84 +#: src/main.c:107 #, c-format msgid "" "nudoku [option]\n" @@ -25,64 +25,77 @@ msgstr "" "nudoku [オプション]\n" "\n" -#: src/main.c:85 +#: src/main.c:108 #, c-format msgid "Options:\n" msgstr "オプション:\n" -#: src/main.c:86 +#: src/main.c:109 #, c-format msgid "-h help:\t\tPrint this help\n" msgstr "-h:\t\tこの手引きを表示\n" -#: src/main.c:87 +#: src/main.c:110 #, c-format msgid "-v version:\t\tPrint version\n" msgstr "-v:\t\t版を表示\n" -#: src/main.c:88 +#: src/main.c:111 #, c-format msgid "-c nocolor:\t\tDo not use colors\n" msgstr "-c:\t\t着色しない\n" -#: src/main.c:89 +#: src/main.c:112 #, c-format msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" msgstr "-d 難易度:\t\t難易度を選択: easy, normal, hard\n" -#: src/main.c:90 +#: src/main.c:113 #, c-format msgid "-s stream:\t\tUser provided sudoku stream\n" msgstr "-s 版面:\t\t数独の盤面を指定する\n" -#: src/main.c:104 +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "" + +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "" + +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "" + +#: src/main.c:131 #, c-format msgid "Character %c at position %d is not allowed.\n" msgstr "文字%cは位置%dにあってはなりません。\n" -#: src/main.c:112 +#: src/main.c:139 #, c-format msgid "Stream has to be %d characters long.\n" msgstr "版面は%d文字以上なくてはなりません。\n" -#: src/main.c:118 +#: src/main.c:145 #, c-format msgid "Stream does not represent a valid sudoku puzzle.\n" msgstr "指定された版面は妥当な数独の問題を表わせません。\n" -#: src/main.c:147 -msgid "easy" -msgstr "易" - -#: src/main.c:149 -msgid "normal" -msgstr "中" - -#: src/main.c:151 -msgid "hard" -msgstr "難" +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" -#: src/main.c:195 +#: src/main.c:375 msgid "" "Your terminal doesn't support colors.\n" "Try the nocolor (-c) option.\n" @@ -90,7 +103,7 @@ msgstr "" "お使いの端末は着色に対応していません。\n" "無着色 (-c) オプションをお試しください。\n" -#: src/main.c:266 +#: src/main.c:466 #, c-format msgid "" "level: %s\n" @@ -99,23 +112,23 @@ msgstr "" "難易度: %s\n" "\n" -#: src/main.c:275 +#: src/main.c:475 msgid "Movement\n" msgstr "移 動\n" -#: src/main.c:276 +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - 左に移動\n" -#: src/main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - 下に移動\n" -#: src/main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - 上に移動\n" -#: src/main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" @@ -123,67 +136,105 @@ msgstr "" " l - 右に移動\n" "\n" -#: src/main.c:280 +#: src/main.c:480 msgid "Commands\n" msgstr "命 令\n" -#: src/main.c:281 +#: src/main.c:481 msgid " c - Check solution\n" msgstr " c - 解答を確かめる\n" -#: src/main.c:282 +#: src/main.c:482 msgid " H - Give a hint\n" msgstr " H - 手掛かりを見る\n" -#: src/main.c:285 +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - 印を付ける/外す\n" -#: src/main.c:287 +#: src/main.c:487 msgid " N - New puzzle\n" msgstr " N - 新しい問題\n" -#: src/main.c:288 +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 msgid " Q - Quit\n" msgstr " Q - 終了\n" -#: src/main.c:289 +#: src/main.c:490 msgid " r - Redraw\n" msgstr " r - 再描画\n" -#: src/main.c:290 +#: src/main.c:491 msgid " S - Solve puzzle\n" msgstr " S - 問題を解く\n" -#: src/main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - 数字を消す\n" -#: src/main.c:500 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 +#, c-format +msgid "nudoku is compiled without cairo support.\n" +msgstr "" + +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" + +#: src/main.c:760 msgid "Solving puzzle..." msgstr "問題を解いています..." -#: src/main.c:506 src/main.c:547 +#: src/main.c:766 src/main.c:808 msgid "Solved" msgstr "正解です" -#: src/main.c:515 +#: src/main.c:776 msgid "Generating puzzle..." msgstr "問題を生成しています..." -#: src/main.c:541 +#: src/main.c:802 msgid "Not correct" msgstr "不正解です" -#: src/main.c:552 +#: src/main.c:813 #, c-format msgid " with the help of %d hints" msgstr "(手掛かりを%d回見ました)" -#: src/main.c:560 +#: src/main.c:821 msgid "Correct so far" msgstr "現時点では正解です" -#: src/main.c:588 +#: src/main.c:851 msgid "Provided hint" msgstr "手掛りを得ました" + +#: src/main.c:864 +msgid "Saved!" +msgstr "" + +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" + +#: src/sudoku.c:251 +msgid "hard" +msgstr "難" + +#: src/sudoku.c:253 +msgid "normal" +msgstr "中" + +#: src/sudoku.c:256 +msgid "easy" +msgstr "易" diff --git a/po/nudoku.pot b/po/nudoku.pot index 65c77d4..f11e8b7 100644 --- a/po/nudoku.pot +++ b/po/nudoku.pot @@ -5,177 +5,228 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: nudoku 1.0.0\n" +"Project-Id-Version: nudoku 4.0.1\n" "Report-Msgid-Bugs-To: jubalh@iodoru.org\n" -"POT-Creation-Date: 2018-04-27 19:00-0300\n" -"PO-Revision-Date: 2018-05-03 10:11-0300\n" -"Last-Translator: Ramshell Cinox \n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: src/main.c:84 +#: src/main.c:107 #, c-format msgid "" "nudoku [option]\n" "\n" msgstr "" -#: src/main.c:85 +#: src/main.c:108 #, c-format msgid "Options:\n" msgstr "" -#: src/main.c:86 +#: src/main.c:109 #, c-format msgid "-h help:\t\tPrint this help\n" msgstr "" -#: src/main.c:87 +#: src/main.c:110 #, c-format msgid "-v version:\t\tPrint version\n" msgstr "" -#: src/main.c:88 +#: src/main.c:111 #, c-format msgid "-c nocolor:\t\tDo not use colors\n" msgstr "" -#: src/main.c:89 +#: src/main.c:112 #, c-format msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" msgstr "" -#: src/main.c:90 +#: src/main.c:113 #, c-format msgid "-s stream:\t\tUser provided sudoku stream\n" msgstr "" -#: src/main.c:104 +#: src/main.c:114 #, c-format -msgid "Character %c at position %d is not allowed.\n" +msgid "-r resume:\t\tResume the last saved game\n" msgstr "" -#: src/main.c:112 +#: src/main.c:115 #, c-format -msgid "Stream has to be %d characters long.\n" +msgid "-p filename:\t\tOutput PDF\n" msgstr "" -#: src/main.c:118 +#: src/main.c:116 #, c-format -msgid "Stream does not represent a valid sudoku puzzle.\n" +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" msgstr "" -#: src/main.c:147 -msgid "easy" +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" msgstr "" -#: src/main.c:149 -msgid "normal" +#: src/main.c:131 +#, c-format +msgid "Character %c at position %d is not allowed.\n" msgstr "" -#: src/main.c:151 -msgid "hard" +#: src/main.c:139 +#, c-format +msgid "Stream has to be %d characters long.\n" +msgstr "" + +#: src/main.c:145 +#, c-format +msgid "Stream does not represent a valid sudoku puzzle.\n" msgstr "" -#: src/main.c:195 +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" + +#: src/main.c:375 msgid "" "Your terminal doesn't support colors.\n" "Try the nocolor (-c) option.\n" msgstr "" -#: src/main.c:266 +#: src/main.c:466 #, c-format msgid "" "level: %s\n" "\n" msgstr "" -#: src/main.c:275 +#: src/main.c:475 msgid "Movement\n" msgstr "" -#: src/main.c:276 +#: src/main.c:476 msgid " h - Move left\n" msgstr "" -#: src/main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr "" -#: src/main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr "" -#: src/main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" msgstr "" -#: src/main.c:280 +#: src/main.c:480 msgid "Commands\n" msgstr "" -#: src/main.c:281 +#: src/main.c:481 msgid " c - Check solution\n" msgstr "" -#: src/main.c:282 +#: src/main.c:482 msgid " H - Give a hint\n" msgstr "" -#: src/main.c:285 +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr "" -#: src/main.c:287 +#: src/main.c:487 msgid " N - New puzzle\n" msgstr "" -#: src/main.c:288 +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 msgid " Q - Quit\n" msgstr "" -#: src/main.c:289 +#: src/main.c:490 msgid " r - Redraw\n" msgstr "" -#: src/main.c:290 +#: src/main.c:491 msgid " S - Solve puzzle\n" msgstr "" -#: src/main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr "" -#: src/main.c:500 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 +#, c-format +msgid "nudoku is compiled without cairo support.\n" +msgstr "" + +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" + +#: src/main.c:760 msgid "Solving puzzle..." msgstr "" -#: src/main.c:506 src/main.c:547 +#: src/main.c:766 src/main.c:808 msgid "Solved" msgstr "" -#: src/main.c:515 +#: src/main.c:776 msgid "Generating puzzle..." msgstr "" -#: src/main.c:541 +#: src/main.c:802 msgid "Not correct" msgstr "" -#: src/main.c:552 +#: src/main.c:813 #, c-format msgid " with the help of %d hints" msgstr "" -#: src/main.c:560 +#: src/main.c:821 msgid "Correct so far" msgstr "" -#: src/main.c:588 +#: src/main.c:851 msgid "Provided hint" msgstr "" + +#: src/main.c:864 +msgid "Saved!" +msgstr "" + +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" + +#: src/sudoku.c:251 +msgid "hard" +msgstr "" + +#: src/sudoku.c:253 +msgid "normal" +msgstr "" + +#: src/sudoku.c:256 +msgid "easy" +msgstr "" diff --git a/po/ru.po b/po/ru.po index f648062..6a9db39 100644 --- a/po/ru.po +++ b/po/ru.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: nudoku\n" -"Report-Msgid-Bugs-To: ramshellcinox@gmail.com\n" -"POT-Creation-Date: 2018-05-29 19:02-0300\n" +"Report-Msgid-Bugs-To: jubalh@iodoru.org\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" "PO-Revision-Date: \n" "Last-Translator: Max Vetrov \n" "Language-Team: Russian\n" @@ -17,39 +17,117 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: main.c:282 -msgid " H - Give a hint\n" -msgstr " H - Дать подсказку\n" +#: src/main.c:107 +#, c-format +msgid "" +"nudoku [option]\n" +"\n" +msgstr "" -#: main.c:287 -msgid " N - New puzzle\n" -msgstr " N - Новая головоломка\n" +#: src/main.c:108 +#, c-format +msgid "Options:\n" +msgstr "" -#: main.c:288 -msgid " Q - Quit\n" -msgstr " Q - Выход\n" +#: src/main.c:109 +#, c-format +msgid "-h help:\t\tPrint this help\n" +msgstr "" -#: main.c:290 -msgid " S - Solve puzzle\n" -msgstr " S - Решить головоломку\n" +#: src/main.c:110 +#, c-format +msgid "-v version:\t\tPrint version\n" +msgstr "" -#: main.c:281 -msgid " c - Check solution\n" -msgstr " c - Проверить решение\n" +#: src/main.c:111 +#, c-format +msgid "-c nocolor:\t\tDo not use colors\n" +msgstr "" + +#: src/main.c:112 +#, c-format +msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" +msgstr "" + +#: src/main.c:113 +#, c-format +msgid "-s stream:\t\tUser provided sudoku stream\n" +msgstr "" + +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "" + +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "" -#: main.c:276 +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "" + +#: src/main.c:131 +#, c-format +msgid "Character %c at position %d is not allowed.\n" +msgstr "Символ %c на позиции %d не поддерживается.\n" + +#: src/main.c:139 +#, c-format +msgid "Stream has to be %d characters long.\n" +msgstr "Поток должен быть длиною %d символов.\n" + +#: src/main.c:145 +#, c-format +msgid "Stream does not represent a valid sudoku puzzle.\n" +msgstr "Поток не является судоку-головоломкой.\n" + +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" + +#: src/main.c:375 +msgid "" +"Your terminal doesn't support colors.\n" +"Try the nocolor (-c) option.\n" +msgstr "" +"Ваш терминал не поддерживает цвета.\n" +"Попробуйте опцию без цвета (-c).\n" + +#: src/main.c:466 +#, c-format +msgid "" +"level: %s\n" +"\n" +msgstr "" +"Уровень: %s\n" +"\n" + +#: src/main.c:475 +msgid "Movement\n" +msgstr "Движение\n" + +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - Влево\n" -#: main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - Вниз\n" -#: main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - Вверх\n" -#: main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" @@ -57,100 +135,112 @@ msgstr "" " l - Вправо\n" "\n" -#: main.c:285 +#: src/main.c:480 +msgid "Commands\n" +msgstr "Команды\n" + +#: src/main.c:481 +msgid " c - Check solution\n" +msgstr " c - Проверить решение\n" + +#: src/main.c:482 +msgid " H - Give a hint\n" +msgstr " H - Дать подсказку\n" + +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - Переключить метки\n" -#: main.c:289 +#: src/main.c:487 +msgid " N - New puzzle\n" +msgstr " N - Новая головоломка\n" + +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 +msgid " Q - Quit\n" +msgstr " Q - Выход\n" + +#: src/main.c:490 msgid " r - Redraw\n" msgstr " r - Перерисовка\n" -#: main.c:550 -#, c-format -msgid " with the help of %d hints" -msgstr " с помощью %d подсказок" +#: src/main.c:491 +msgid " S - Solve puzzle\n" +msgstr " S - Решить головоломку\n" -#: main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - Удалить число\n" -#: main.c:104 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 #, c-format -msgid "Character %c at position %d is not allowed.\n" -msgstr "Символ %c на позиции %d не поддерживается.\n" +msgid "nudoku is compiled without cairo support.\n" +msgstr "" -#: main.c:280 -msgid "Commands\n" -msgstr "Команды\n" +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" -#: main.c:558 -msgid "Пока верно" -msgstr "Soweit richtig" +#: src/main.c:760 +msgid "Solving puzzle..." +msgstr "Решение головоломки..." -#: main.c:513 +#: src/main.c:766 src/main.c:808 +msgid "Solved" +msgstr "Решено" + +#: src/main.c:776 msgid "Generating puzzle..." msgstr "Генерация головоломки..." -#: main.c:275 -msgid "Movement\n" -msgstr "Движение\n" - -#: main.c:539 +#: src/main.c:802 msgid "Not correct" msgstr "Не правильно" -#: main.c:586 -msgid "Provided hint" -msgstr "Предоставлена подсказка" - -#: main.c:504 main.c:545 -msgid "Solved" -msgstr "Решено" - -#: main.c:498 -msgid "Solving puzzle..." -msgstr "Решение головоломки..." - -#: main.c:118 -#, c-format -msgid "Stream does not represent a valid sudoku puzzle.\n" -msgstr "Поток не является судоку-головоломкой.\n" - -#: main.c:112 +#: src/main.c:813 #, c-format -msgid "Stream has to be %d characters long.\n" -msgstr "Поток должен быть длиною %d символов.\n" +msgid " with the help of %d hints" +msgstr " с помощью %d подсказок" -#: main.c:195 -msgid "" -"Your terminal doesn't support colors.\n" -"Try the nocolor (-c) option.\n" +#: src/main.c:821 +msgid "Correct so far" msgstr "" -"Ваш терминал не поддерживает цвета.\n" -"Попробуйте опцию без цвета (-c).\n" -#: main.c:266 -#, c-format -msgid "" -"level: %s\n" -"\n" -msgstr "Уровень: %s\n" -"\n" +#: src/main.c:851 +msgid "Provided hint" +msgstr "Предоставлена подсказка" -#: main.c:263 -#, c-format -msgid "nudoku %s\n" -msgstr "nudoku %s\n" +#: src/main.c:864 +msgid "Saved!" +msgstr "" -#: sudoku.c:241 +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" + +#: src/sudoku.c:251 msgid "hard" msgstr "Сложный" -#: sudoku.c:243 +#: src/sudoku.c:253 msgid "normal" msgstr "Нормальный" -#: sudoku.c:246 +#: src/sudoku.c:256 msgid "easy" msgstr "Легкий" +#~ msgid "Пока верно" +#~ msgstr "Soweit richtig" + +#, c-format +#~ msgid "nudoku %s\n" +#~ msgstr "nudoku %s\n" diff --git a/po/tr.po b/po/tr.po index 9e9ed38..85705c7 100644 --- a/po/tr.po +++ b/po/tr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: nudoku 1.0.0\n" "Report-Msgid-Bugs-To: jubalh@iodoru.org\n" -"POT-Creation-Date: 2018-04-27 19:00-0300\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" "PO-Revision-Date: 2024-03-29 19:50+0300\n" "Last-Translator: Oğuz Ersen \n" "Language-Team: Turkish \n" @@ -17,7 +17,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Gtranslator 45.3\n" -#: src/main.c:84 +#: src/main.c:107 #, c-format msgid "" "nudoku [option]\n" @@ -26,64 +26,77 @@ msgstr "" "nudoku [seçenek]\n" "\n" -#: src/main.c:85 +#: src/main.c:108 #, c-format msgid "Options:\n" msgstr "Seçenekler:\n" -#: src/main.c:86 +#: src/main.c:109 #, c-format msgid "-h help:\t\tPrint this help\n" msgstr "-h:\t\tYardım metnini yazdır\n" -#: src/main.c:87 +#: src/main.c:110 #, c-format msgid "-v version:\t\tPrint version\n" msgstr "-v:\t\tSürüm numarasını yazdır\n" -#: src/main.c:88 +#: src/main.c:111 #, c-format msgid "-c nocolor:\t\tDo not use colors\n" msgstr "-c:\t\tRenkler kullanılmasın\n" -#: src/main.c:89 +#: src/main.c:112 #, c-format msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" msgstr "-d zorluk:\t\tZorluk derecesini seç: easy, normal, hard\n" -#: src/main.c:90 +#: src/main.c:113 #, c-format msgid "-s stream:\t\tUser provided sudoku stream\n" msgstr "-s tahta:\t\tBelirtilen sudoku tahtasını kullan\n" -#: src/main.c:104 +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "" + +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "" + +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "" + +#: src/main.c:131 #, c-format msgid "Character %c at position %d is not allowed.\n" msgstr "%c karakterine %d konumunda izin verilmiyor.\n" -#: src/main.c:112 +#: src/main.c:139 #, c-format msgid "Stream has to be %d characters long.\n" msgstr "Tahta %d karakter uzunluğunda olmalıdır.\n" -#: src/main.c:118 +#: src/main.c:145 #, c-format msgid "Stream does not represent a valid sudoku puzzle.\n" msgstr "Tahta geçerli bir sudoku bulmacası değil.\n" -#: src/main.c:147 -msgid "easy" -msgstr "kolay" - -#: src/main.c:149 -msgid "normal" -msgstr "normal" - -#: src/main.c:151 -msgid "hard" -msgstr "zor" +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "" -#: src/main.c:195 +#: src/main.c:375 msgid "" "Your terminal doesn't support colors.\n" "Try the nocolor (-c) option.\n" @@ -91,7 +104,7 @@ msgstr "" "Terminaliniz renkleri desteklemiyor.\n" "Renksiz (-c) seçeneğini deneyin.\n" -#: src/main.c:266 +#: src/main.c:466 #, c-format msgid "" "level: %s\n" @@ -100,23 +113,23 @@ msgstr "" "seviye: %s\n" "\n" -#: src/main.c:275 +#: src/main.c:475 msgid "Movement\n" msgstr "Hareket\n" -#: src/main.c:276 +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - Sola git\n" -#: src/main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - Aşağı git\n" -#: src/main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - Yukarı git\n" -#: src/main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" @@ -124,67 +137,105 @@ msgstr "" " l - Sağa git\n" "\n" -#: src/main.c:280 +#: src/main.c:480 msgid "Commands\n" msgstr "Komutlar\n" -#: src/main.c:281 +#: src/main.c:481 msgid " c - Check solution\n" msgstr " c - Çözümü denetle\n" -#: src/main.c:282 +#: src/main.c:482 msgid " H - Give a hint\n" msgstr " H - İpucu ver\n" -#: src/main.c:285 +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - İşaretleri aç/kapat\n" -#: src/main.c:287 +#: src/main.c:487 msgid " N - New puzzle\n" msgstr " N - Yeni bulmaca\n" -#: src/main.c:288 +#: src/main.c:488 +msgid " G - Save\n" +msgstr "" + +#: src/main.c:489 msgid " Q - Quit\n" msgstr " Q - Çıkış\n" -#: src/main.c:289 +#: src/main.c:490 msgid " r - Redraw\n" msgstr " r - Yeniden çiz\n" -#: src/main.c:290 +#: src/main.c:491 msgid " S - Solve puzzle\n" msgstr " S - Bulmacayı çöz\n" -#: src/main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - Sayıyı sil\n" -#: src/main.c:500 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr "" + +#: src/main.c:652 +#, c-format +msgid "nudoku is compiled without cairo support.\n" +msgstr "" + +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" + +#: src/main.c:760 msgid "Solving puzzle..." msgstr "Bulmaca çözülüyor..." -#: src/main.c:506 src/main.c:547 +#: src/main.c:766 src/main.c:808 msgid "Solved" msgstr "Çözüldü" -#: src/main.c:515 +#: src/main.c:776 msgid "Generating puzzle..." msgstr "Bulmaca oluşturuluyor..." -#: src/main.c:541 +#: src/main.c:802 msgid "Not correct" msgstr "Doğru değil" -#: src/main.c:552 +#: src/main.c:813 #, c-format msgid " with the help of %d hints" msgstr "%d ipucu yardımıyla" -#: src/main.c:560 +#: src/main.c:821 msgid "Correct so far" msgstr "Şimdiye kadar doğru" -#: src/main.c:588 +#: src/main.c:851 msgid "Provided hint" msgstr "İpucu verildi" + +#: src/main.c:864 +msgid "Saved!" +msgstr "" + +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "" + +#: src/sudoku.c:251 +msgid "hard" +msgstr "zor" + +#: src/sudoku.c:253 +msgid "normal" +msgstr "normal" + +#: src/sudoku.c:256 +msgid "easy" +msgstr "kolay" diff --git a/po/uk.po b/po/uk.po index 2a23736..d5aac3b 100644 --- a/po/uk.po +++ b/po/uk.po @@ -4,20 +4,22 @@ # msgid "" msgstr "" -"Project-Id-Version: nudoku 1.0.0\n" +"Project-Id-Version: nudoku 4.0.1\n" "Report-Msgid-Bugs-To: jubalh@iodoru.org\n" -"POT-Creation-Date: 2018-04-27 19:00-0300\n" -"PO-Revision-Date: 2024-07-29 00:00+0300\n" +"POT-Creation-Date: 2024-08-24 09:59+0300\n" +"PO-Revision-Date: 2024-08-24 10:05+0200\n" "Last-Translator: Oleksii Stroganov \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " +"(n%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Gtranslator 45.3\n" -#: src/main.c:84 +#: src/main.c:107 #, c-format msgid "" "nudoku [option]\n" @@ -26,64 +28,77 @@ msgstr "" "nudoku [опції]\n" "\n" -#: src/main.c:85 +#: src/main.c:108 #, c-format msgid "Options:\n" msgstr "Опції:\n" -#: src/main.c:86 +#: src/main.c:109 #, c-format msgid "-h help:\t\tPrint this help\n" -msgstr "-h:\t\tНадрукувати цю довідку\n" +msgstr "-h довідка:\t\tНадрукувати цю довідку\n" -#: src/main.c:87 +#: src/main.c:110 #, c-format msgid "-v version:\t\tPrint version\n" -msgstr "-v:\t\tНадрукувати версію\n" +msgstr "-v версія:\t\tНадрукувати версію\n" -#: src/main.c:88 +#: src/main.c:111 #, c-format msgid "-c nocolor:\t\tDo not use colors\n" -msgstr "-c:\t\tНе використовувати кольори\n" +msgstr "-c без кольорів:\t\tНе використовувати кольори\n" -#: src/main.c:89 +#: src/main.c:112 #, c-format msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" msgstr "-d складність:\t\tОбрати рівень: easy, normal, hard\n" -#: src/main.c:90 +#: src/main.c:113 #, c-format msgid "-s stream:\t\tUser provided sudoku stream\n" -msgstr "-s поток:\t\tНаданий користувачем поток судоку\n" +msgstr "-s потік:\t\tНаданий користувачем поток судоку\n" + +#: src/main.c:114 +#, c-format +msgid "-r resume:\t\tResume the last saved game\n" +msgstr "-r продовжити:\t\tПродовжити останню збережену гру\n" + +#: src/main.c:115 +#, c-format +msgid "-p filename:\t\tOutput PDF\n" +msgstr "-p файл:\t\tСтворити PDF документ\n" -#: src/main.c:104 +#: src/main.c:116 +#, c-format +msgid "-n filename:\t\tNumber of sudokus to put in PDF\n" +msgstr "-n файл:\t\tКількість судоку у PDF\n" + +#: src/main.c:117 +#, c-format +msgid "-i filename:\t\tOutput PNG image\n" +msgstr "-i файл:\t\tСтворити PNG світлину\n" + +#: src/main.c:131 #, c-format msgid "Character %c at position %d is not allowed.\n" msgstr "Символ %c в позиції %d не допускається.\n" -#: src/main.c:112 +#: src/main.c:139 #, c-format msgid "Stream has to be %d characters long.\n" msgstr "Поток має бути %d символів у довжину.\n" -#: src/main.c:118 +#: src/main.c:145 #, c-format msgid "Stream does not represent a valid sudoku puzzle.\n" msgstr "Поток не є правильним судоку.\n" -#: src/main.c:147 -msgid "easy" -msgstr "легкий" - -#: src/main.c:149 -msgid "normal" -msgstr "нормальний" - -#: src/main.c:151 -msgid "hard" -msgstr "складний" +#: src/main.c:305 +#, c-format +msgid "Game save is missing or corrupted, try starting new game.\n" +msgstr "Гра не була збережена або пошкоджена, спробуйте нову гру.\n" -#: src/main.c:195 +#: src/main.c:375 msgid "" "Your terminal doesn't support colors.\n" "Try the nocolor (-c) option.\n" @@ -91,7 +106,7 @@ msgstr "" "Цей термінал не підтримує кольори\n" "Спробуйте опцію без кольору (-c).\n" -#: src/main.c:266 +#: src/main.c:466 #, c-format msgid "" "level: %s\n" @@ -100,23 +115,23 @@ msgstr "" "Рівень: %s\n" "\n" -#: src/main.c:275 +#: src/main.c:475 msgid "Movement\n" msgstr "Переміщення\n" -#: src/main.c:276 +#: src/main.c:476 msgid " h - Move left\n" msgstr " h - Ліворуч\n" -#: src/main.c:277 +#: src/main.c:477 msgid " j - Move down\n" msgstr " j - Вниз\n" -#: src/main.c:278 +#: src/main.c:478 msgid " k - Move up\n" msgstr " k - Вверх\n" -#: src/main.c:279 +#: src/main.c:479 msgid "" " l - Move right\n" "\n" @@ -124,72 +139,109 @@ msgstr "" " l - Праворуч\n" "\n" -#: src/main.c:280 +#: src/main.c:480 msgid "Commands\n" msgstr "Команди\n" -#: src/main.c:281 +#: src/main.c:481 msgid " c - Check solution\n" -msgstr " c - Перевірити розв'язок\n" +msgstr " c - Перевірити судоку\n" -#: src/main.c:282 +#: src/main.c:482 msgid " H - Give a hint\n" msgstr " H - Дати підсказку\n" -#: src/main.c:285 +#: src/main.c:485 msgid " m - Toggle marks\n" msgstr " m - Переключити позначки\n" -#: src/main.c:287 +#: src/main.c:487 msgid " N - New puzzle\n" msgstr " N - Нова головоломка\n" -#: src/main.c:288 +#: src/main.c:488 +msgid " G - Save\n" +msgstr " G - Зберегти\n" + +#: src/main.c:489 msgid " Q - Quit\n" msgstr " Q - Вийти\n" -#: src/main.c:289 +#: src/main.c:490 msgid " r - Redraw\n" -msgstr " r - Перемалювати\n" +msgstr " r - Оновити екран\n" -#: src/main.c:290 +#: src/main.c:491 msgid " S - Solve puzzle\n" msgstr " S - Розв'язати головоломку\n" -#: src/main.c:291 +#: src/main.c:492 msgid " x - Delete number\n" msgstr " x - Видалити число\n" -#: src/main.c:500 +#: src/main.c:493 +msgid " u - Undo previous action\n" +msgstr " u - Скасувати останню дію\n" + +#: src/main.c:652 +#, c-format +msgid "nudoku is compiled without cairo support.\n" +msgstr "nudoku cкомпільований без підтримки cairo.\n" + +#: src/main.c:653 +#, c-format +msgid "To use the output feature, please compile with --enable-cairo.\n" +msgstr "" +"Для функціонування друку судоку використовуйте --enable-cairo при " +"компіляції.\n" + +#: src/main.c:760 msgid "Solving puzzle..." msgstr "Розв'язую головоломку..." -#: src/main.c:506 src/main.c:547 +#: src/main.c:766 src/main.c:808 msgid "Solved" msgstr "Розв'язано" -#: src/main.c:515 +#: src/main.c:776 msgid "Generating puzzle..." msgstr "Створюю головоломку..." -#: src/main.c:541 +#: src/main.c:802 msgid "Not correct" msgstr "У вас помилка" -#: src/main.c:552 -#, c-format +#: src/main.c:813 +#, fuzzy, c-format +#| msgid " with the help of %d hints" +#| msgid_plural " with the help of %d hints" msgid " with the help of %d hints" -msgid_plural " with the help of %d hints" -msgstr[0] " зa допомогою %d підсказки" -msgstr[1] " зa допомогою %d підсказки" -msgstr[2] " зa допомогою %d підсказок" -msgstr[3] " зa допомогою %d підсказок" +msgstr " зa допомогою %d підсказки" -#: src/main.c:560 +#: src/main.c:821 msgid "Correct so far" -msgstr "Поки що правильно" +msgstr "Зараз правильно" -#: src/main.c:588 +#: src/main.c:851 msgid "Provided hint" msgstr "Ви використали підсказку" +#: src/main.c:864 +msgid "Saved!" +msgstr "Судоку збережено!" + +#: src/main.c:867 +msgid "Can't save the game!" +msgstr "Не можу зберегти гру!" + +#: src/sudoku.c:251 +msgid "hard" +msgstr "складний" + +#: src/sudoku.c:253 +msgid "normal" +msgstr "нормальний" + +#: src/sudoku.c:256 +msgid "easy" +msgstr "легкий" diff --git a/src/main.c b/src/main.c index c540238..b8391fe 100644 --- a/src/main.c +++ b/src/main.c @@ -302,7 +302,7 @@ static void parse_arguments(int argc, char *argv[]) } else { - printf(_("Game save is missing or corrupted, try starting new game\n")); + printf(_("Game save is missing or corrupted, try starting new game.\n")); exit(EXIT_FAILURE); } break; @@ -497,7 +497,7 @@ static void init_windows(void) } } -static int undo_stack_push(move_t move) +static int undo_stack_push(move_t move) { if (g_undo_stack_index >= UNDO_STACK_SIZE) { @@ -508,7 +508,7 @@ static int undo_stack_push(move_t move) return 0; } -static int undo_stack_pop(move_t *move) +static int undo_stack_pop(move_t *move) { if (g_undo_stack_index <= 0) return -1; @@ -649,8 +649,8 @@ int main(int argc, char *argv[]) generate_output(g_level, g_outputFilename, g_sudokuCount, g_outIsPDF); return 0; #else - printf("nudoku is compiled without cairo support.\n"); - printf("To use the output feature, please compile with --enable-cairo.\n"); + printf(_("nudoku is compiled without cairo support.\n")); + printf(_("To use the output feature, please compile with --enable-cairo.\n")); return 1; #endif }