You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Turkish translations for various commands, manuals, and game elements
- Updated translations for terminal commands and editor messages in Turkish.
- Added new game-related translations for the Doom and Chess games.
- Included detailed usage instructions for commands in the manuals section.
- Enhanced user interface translations for better clarity and consistency.
- Added placeholder content for files and scripts to improve user experience.
@@ -1342,7 +1351,9 @@ export default function HomeClient({
1342
1351
return[
1343
1352
{
1344
1353
path: `${homeDir}/README.md`,
1345
-
content: `# ${profile.fullName}\n\nWelcome to KININ-TERM.\n\nQuick links:\n- docs/about.md\n- docs/projects.md\n- docs/contact.md\n`,
1354
+
content: formatTemplate(t.terminal.files.readme,{
1355
+
name: profile.fullName,
1356
+
}),
1346
1357
},
1347
1358
{
1348
1359
path: `${docsDir}/title.md`,
@@ -1366,250 +1377,225 @@ export default function HomeClient({
1366
1377
},
1367
1378
{
1368
1379
path: `${homeDir}/notes/todo.txt`,
1369
-
content:
1370
-
"- finalize terminal sim\n- tune hero camera\n- deploy to cloud run\n- add new 3d scene\n",
1380
+
content: t.terminal.files.notesTodo,
1371
1381
},
1372
1382
{
1373
1383
path: `${homeDir}/notes/ideas.txt`,
1374
-
content:
1375
-
"Ideas:\n- retro mini games\n- hardware blog posts\n- terminal theme switch\n",
1384
+
content: t.terminal.files.notesIdeas,
1376
1385
},
1377
1386
{
1378
1387
path: `${scriptsDir}/calc.py`,
1379
-
content:
1380
-
"# SciCalc demo\nimport math\nexpr = 'sin(pi/2) + cos(0)'\nallowed = {k: getattr(math, k) for k in ['sin','cos','tan','sqrt','log','pi','e']}\nallowed['pow'] = pow\nresult = eval(expr, {'__builtins__': {}}, allowed)\nprint('SciCalc demo:', expr, '=', result)\nprint('Tip: use calc command for interactive mode.')\n",
1388
+
content: t.terminal.files.scriptsCalc,
1381
1389
},
1382
1390
{
1383
1391
path: `${scriptsDir}/snake.py`,
1384
-
content:
1385
-
"# Snake demo\nboard = [\n '###########',\n '#.........#',\n '#..S....@..#',\n '#.........#',\n '###########',\n]\nprint('Controls: run `snake` in terminal for full game.')\nprint('\n'.join(board))\n",
1392
+
content: t.terminal.files.scriptsSnake,
1386
1393
},
1387
1394
{
1388
1395
path: `${scriptsDir}/pacman.py`,
1389
-
content:
1390
-
"# Pacman demo\nmaze = [\n '############',\n '#C....##....#',\n '#.##..##..##.#',\n '#....G.....o#',\n '############',\n]\nprint('Controls: run `pacman` in terminal for full game.')\nprint('\n'.join(maze))\n",
1396
+
content: t.terminal.files.scriptsPacman,
1391
1397
},
1392
1398
{
1393
1399
path: `${scriptsDir}/pong.py`,
1394
-
content:
1395
-
"# Pong demo\nprint('Controls: run `pong` in terminal for full game.')\nprint('Scoreboard: PLAYER 0 - 0 AI')\nprint('Left/Right to move paddle')\n",
1400
+
content: t.terminal.files.scriptsPong,
1396
1401
},
1397
1402
{
1398
1403
path: `${scriptsDir}/chess.py`,
1399
-
content:
1400
-
"# Chess demo\nprint('Controls: run `chess` in terminal for full game.')\nprint('Tips: 1/2/3 difficulty, B bot, P pvp, C bot color')\n",
1404
+
content: t.terminal.files.scriptsChess,
1401
1405
},
1402
1406
{
1403
1407
path: `${scriptsDir}/solitaire.py`,
1404
-
content:
1405
-
"# Solitaire demo\nprint('Controls: run `solitaire` in terminal for full game.')\nprint('Keys: D draw, W waste, 1-7 tableau, F foundation')\n",
1408
+
content: t.terminal.files.scriptsSolitaire,
1406
1409
},
1407
1410
{
1408
1411
path: `${scriptsDir}/dice_roll.py`,
1409
-
content:
1410
-
"import random\nprint('Dice roll:', random.randint(1, 6))\nprint('Try again for a new roll.')\n",
"print('Media demo:')\nprint('image -> random retro ASCII')\nprint('video -> random loop')\nprint('mp3 -> random chiptune')\nprint('Tip: image ~/media/nebula.txt')\n",
0 commit comments