refact
This commit is contained in:
49
lib/sys.i18n.go
Normal file
49
lib/sys.i18n.go
Normal file
@@ -0,0 +1,49 @@
|
||||
package lib
|
||||
|
||||
type T map[string]string
|
||||
|
||||
var En = T{
|
||||
"Welcome": "Welcome to Teletype's Bulletin Board System!",
|
||||
"AskName": "Enter your name:",
|
||||
"Greeting": "Hello, %s%s%s! Welcome to Teletype BBS!",
|
||||
"MainMenuTitle": "MAIN MENU",
|
||||
"MenuUzenopal": "Message Board",
|
||||
"MenuBlog": "Blog Posts",
|
||||
"MenuHowto": "HowTo Guides",
|
||||
"MenuCatalog": "Game Catalog",
|
||||
"MenuOnline": "Online Users",
|
||||
"MenuSysinfo": "System Info",
|
||||
"MenuExit": "Exit",
|
||||
"Choice": "Choice: ",
|
||||
"Pause": "Press ENTER...",
|
||||
"Goodbye": "Goodbye, %s! 👋",
|
||||
"MsgBoardTitle": "📋 MESSAGE BOARD",
|
||||
"MsgNoMessages": "(No messages yet — be the first!)",
|
||||
"MsgNew": "Write new message",
|
||||
"MsgBack": "Back",
|
||||
"MsgEnterText": "Message text:",
|
||||
"MsgSent": "✓ Sent!",
|
||||
"MsgEmpty": "(Empty – not sent)",
|
||||
"WikiLoading": "Loading...",
|
||||
"WikiConnError": "Connection error",
|
||||
"WikiNoResults": "No results for tag '%s'.",
|
||||
"WikiEnterNum": "Enter number to open, ENTER to go back:",
|
||||
"WikiFetchContent": "Fetching content...",
|
||||
"CatTitle": "🎮 GAME CATALOG",
|
||||
"CatNoGames": "No games available.",
|
||||
"CatLatest": "Latest",
|
||||
"CatVersions": "%d versions available",
|
||||
"CatFull": "Full catalog",
|
||||
"OnlineTitle": "👥 ONLINE USERS",
|
||||
"OnlineYou": "← you",
|
||||
"OnlineTotal": "Total: %s%d%s users online",
|
||||
"SysInfoTitle": "ℹ SYSTEM INFO",
|
||||
"SysServerTime": "Server time",
|
||||
"SysOnlineUsers": "Online users",
|
||||
"SysMsgCount": "Message count",
|
||||
"SysWikiURL": "Wiki URL",
|
||||
"SysGamesAPI": "Games API",
|
||||
"SysPlatform": "Platform",
|
||||
"SysYes": "yes",
|
||||
"SysNo": "no",
|
||||
}
|
||||
Reference in New Issue
Block a user