|
| 1 | +# i18n keys — complete reference (TigerTag Studio) |
| 2 | + |
| 3 | +> Extracted from `CLAUDE.md` to keep the always-loaded instructions lean. **Read this on demand instead of re-reading the locale JSON files.** All **9 locales** (en/fr/de/es/it/zh/pt/pt-pt/pl) have every key below. To add/change keys use `npm run i18n:add` (never hand-edit the locale files) — see CLAUDE.md → *i18n — workflow*. |
| 4 | +
|
| 5 | +### App / status |
| 6 | +| Key | Purpose | |
| 7 | +|-----|---------| |
| 8 | +| `appSubtitle` | Header subtitle | |
| 9 | +| `backendIdle` | Health tooltip idle | |
| 10 | +| `backendOk` | Health tooltip ok (also used with `— N ms` suffix) | |
| 11 | +| `backendErr` | Health tooltip error `{{n}}` | |
| 12 | +| `backendOffline` | Health tooltip offline | |
| 13 | +| `rfidConnected` | RFID label `{{name}}` | |
| 14 | +| `rfidNoReader` | RFID no reader | |
| 15 | +| `rfidScanned` | RFID scanned `{{uid}}` | |
| 16 | +| `rfidNotFound` | RFID unknown UID `{{uid}}` | |
| 17 | +| `welcomeBack` | Array of random greeting strings | |
| 18 | + |
| 19 | +### Community / links |
| 20 | +| Key | Purpose | |
| 21 | +|-----|---------| |
| 22 | +| `githubBtn` | GitHub button | |
| 23 | +| `discordBtn` | Discord button | |
| 24 | +| `mobileApp` | QR label | |
| 25 | +| `mobileScan` | QR sub-label | |
| 26 | + |
| 27 | +### Settings panel |
| 28 | +| Key | Purpose | |
| 29 | +|-----|---------| |
| 30 | +| `settingsOpenBtn` | Settings button label | |
| 31 | +| `settingsTitle` | Panel title | |
| 32 | +| `settingsAccount` | Account tab label | |
| 33 | +| `settingsData` | Data & Export tab label | |
| 34 | +| `settingsLang` | Language section label | |
| 35 | +| `settingsDebug` | Debug tab label | |
| 36 | +| `settingsSave` | Save & reload button | |
| 37 | +| `settingsApiLink` | Export URL field label | |
| 38 | +| `settingsExport` | Download JSON button | |
| 39 | +| `settingsCopied` | Copy confirmation | |
| 40 | +| `debugOpenBtn` | Open debug panel button | |
| 41 | + |
| 42 | +### Account management |
| 43 | +| Key | Purpose | |
| 44 | +|-----|---------| |
| 45 | +| `addAccountLabel` | Add account button / modal title | |
| 46 | +| `addAccountSave` | Add & load (legacy, kept) | |
| 47 | +| `addAccountAuthError` | Friendly error for invalid email/API key | |
| 48 | +| `editAccountTitle` | Edit account modal title | |
| 49 | +| `btnSignIn` | Sign in button | |
| 50 | +| `btnEditAccount` | Edit account button | |
| 51 | +| `btnDisconnect` | Disconnect button | |
| 52 | +| `btnRefresh` | Refresh button | |
| 53 | +| `btnSwitchAccount` | Switch account button | |
| 54 | +| `noAccounts` | Empty accounts message | |
| 55 | +| `accountActive` | "Active" badge | |
| 56 | +| `btnActivate` | Switch button for other accounts | |
| 57 | +| `btnDeleteAccount` | Trash button tooltip | |
| 58 | +| `btnEditApiKey` | Edit API key (legacy) | |
| 59 | +| `btnUpdateApiKey` | Update button in edit-account modal | |
| 60 | +| `cancelAddAccount` | Cancel label | |
| 61 | +| `otherAccounts` | "Other accounts" heading | |
| 62 | +| `confirmDeleteAccount` | (legacy) | |
| 63 | +| `delModalTitle` | Disconnect modal title | |
| 64 | +| `delModalWarn` | Disconnect modal warning | |
| 65 | +| `cancelLabel` | Cancel button in modals | |
| 66 | +| `displayNameLabel` | Display name field label in edit-account modal | |
| 67 | + |
| 68 | +### Login modal |
| 69 | +| Key | Purpose | |
| 70 | +|-----|---------| |
| 71 | +| `loginSignInTitle` | Modal title (sign-in mode) | |
| 72 | +| `loginSignInSubtitle` | Modal subtitle (sign-in mode) | |
| 73 | +| `loginCreateTitle` | Modal title (create account mode) | |
| 74 | +| `loginCreateSubtitle` | Modal subtitle (create account mode) | |
| 75 | +| `loginGoogle` | Google sign-in button | |
| 76 | +| `loginOr` | Separator label | |
| 77 | +| `loginEmailPlaceholder` | Email input placeholder | |
| 78 | +| `loginPasswordPlaceholder` | Password input placeholder | |
| 79 | +| `loginConfirmPasswordPlaceholder` | Confirm password placeholder | |
| 80 | +| `loginForgotPassword` | Forgot password link | |
| 81 | +| `loginRememberMe` | Stay signed in checkbox | |
| 82 | +| `loginNoAccount` | "Don't have an account?" | |
| 83 | +| `loginCreateAccount` | "Create account" toggle button | |
| 84 | +| `loginHaveAccount` | "Already have an account?" | |
| 85 | +| `loginResetSent` | Password reset email sent confirmation | |
| 86 | +| `loginPasswordMismatch` | Passwords don't match error | |
| 87 | +| `loginPasswordTooShort` | Password too short error | |
| 88 | +| `loginAccountCreated` | Account created confirmation | |
| 89 | +| `loginEmailInUse` | Email already registered error | |
| 90 | + |
| 91 | +### Credentials card |
| 92 | +| Key | Purpose | |
| 93 | +|-----|---------| |
| 94 | +| `credTitle` | Section title | |
| 95 | +| `credEmail` | Email label | |
| 96 | +| `credApiKey` | API Key label | |
| 97 | +| `credStatus` | Status label | |
| 98 | +| `statusUntested` | Badge: untested | |
| 99 | +| `statusValid` | Badge: valid | |
| 100 | +| `statusInvalid` | Badge: invalid | |
| 101 | +| `statusChecking` | Badge: checking… | |
| 102 | +| `btnLoadInv` | Load inventory button | |
| 103 | +| `btnTestKey` | Test API key button | |
| 104 | +| `btnClearSaved` | Clear saved data button | |
| 105 | + |
| 106 | +### Inventory / filters |
| 107 | +| Key | Purpose | |
| 108 | +|-----|---------| |
| 109 | +| `invTitle` | Section title | |
| 110 | +| `btnViewTable` | Table view button | |
| 111 | +| `btnViewGrid` | Grid view button | |
| 112 | +| `btnShowDeleted` | Show deleted toggle | |
| 113 | +| `btnHideDeleted` | Hide deleted toggle | |
| 114 | +| `btnExport` | Export JSON button | |
| 115 | +| `searchPlaceholder` | Search input placeholder | |
| 116 | +| `noInventory` | Empty state: no inventory | |
| 117 | +| `noMatch` | Empty state: no match | |
| 118 | +| `invLoading` | Loading spinner label | |
| 119 | + |
| 120 | +### Stats |
| 121 | +| Key | Purpose | |
| 122 | +|-----|---------| |
| 123 | +| `statActive` | Active spools label (full) | |
| 124 | +| `statPlus` | TigerTag+ label | |
| 125 | +| `statDiy` | TigerTag label | |
| 126 | +| `statTotal` | Total available label | |
| 127 | +| `statActiveMini` `statPlusMini` `statDiyMini` `statTotalMini` | Collapsed sidebar labels | |
| 128 | + |
| 129 | +### Table headers |
| 130 | +`thUid` `thType` `thMaterial` `thBrand` `thColor` `thName` `thWeight` `thCapacity` `thUpdated` |
| 131 | + |
| 132 | +### Debug panel |
| 133 | +| Key | Purpose | |
| 134 | +|-----|---------| |
| 135 | +| `debugLabel` | Panel title | |
| 136 | +| `debugSubtitle` | Panel subtitle | |
| 137 | +| `debugNoReqs` | Empty state | |
| 138 | + |
| 139 | +### Detail panel — sections |
| 140 | +`sectionColors` (plural object) `sectionPrint` `sectionWeight` `sectionLinks` `sectionContainer` `sectionDetails` `sectionRaw` |
| 141 | + |
| 142 | +### Detail panel — print settings |
| 143 | +`lbNozzle` `lbBed` `lbDryTemp` `lbDryTime` `lbDensity` |
| 144 | + |
| 145 | +### Weight section |
| 146 | +| Key | Purpose | |
| 147 | +|-----|---------| |
| 148 | +| `weightTotal` | Total capacity `{{cap}}` | |
| 149 | +| `weightContainer` | Container weight `{{cw}}` (also used as change-container trigger label) | |
| 150 | +| `weightOk` | Success result `{{wa}} {{w}} {{cw}}` | |
| 151 | +| `weightOkTwin` | Twin updated suffix | |
| 152 | +| `weightErr` | Error result `{{r}}` | |
| 153 | +| `weightErrComputed` | Computed weight suffix `{{c}}` | |
| 154 | +| `rawScaleLabel` | Raw scale input label | |
| 155 | +| `rawScaleHint` | Raw scale hint text | |
| 156 | +| `btnUpdate` | Update weight button | |
| 157 | +| `btnEditManually` | Toggle manual input | |
| 158 | +| `btnCloseManual` | Close manual input | |
| 159 | +| `enterNumeric` | Validation error | |
| 160 | + |
| 161 | +### Container picker |
| 162 | +| Key | Purpose | |
| 163 | +|-----|---------| |
| 164 | +| `containerPickerTitle` | Modal title | |
| 165 | +| `btnChangeContainer` | Change button label / tooltip | |
| 166 | + |
| 167 | +### Feedback / errors |
| 168 | +| Key | Purpose | |
| 169 | +|-----|---------| |
| 170 | +| `loadedSpools` | Plural `{{n}}` | |
| 171 | +| `invError` | Inventory load error `{{r}}` | |
| 172 | +| `invalidKey` | Key validation error `{{r}}` | |
| 173 | +| `networkError` | Generic network error | |
| 174 | + |
| 175 | +### Links (detail panel) |
| 176 | +`linkYt` `linkFood` |
| 177 | + |
| 178 | +### Detail rows |
| 179 | +`detUid` `detSeries` `detBrand` `detMaterial` `detDiameter` `detTagType` `detSku` `detBarcode` `detContainer` `detTwin` `detUpdated` `detManufactured` |
| 180 | + |
| 181 | +### Badges |
| 182 | +`badgeRefill` `badgeRecycled` `badgeFilled` `badgeDeleted` |
| 183 | + |
| 184 | +### Auto-update |
| 185 | +`updateDownloading` `updateReady` `btnRestartUpdate` |
| 186 | + |
| 187 | +### Twin tag |
| 188 | +`twinBadge` `twinTitle` `twinTabThis` `twinTabTwin` |
| 189 | + |
| 190 | +### Time ago |
| 191 | +`agoNow` `agoMin {{n}}` `agoHour {{n}}` `agoDay {{n}}` `agoMonth {{n}}` `agoYear {{n}}` (object with one/other in most locales) |
| 192 | + |
| 193 | +### Friends system |
| 194 | +| Key | Purpose | |
| 195 | +|-----|---------| |
| 196 | +| `friendsTitle` | Section title / sidebar button label | |
| 197 | +| `friendsMyCode` | "My code" label above publicKey display | |
| 198 | +| `friendsPublicLabel` | Public inventory toggle label | |
| 199 | +| `friendsPublicSub` | Toggle sub-label ("Visible to everyone") | |
| 200 | +| `friendsList` | "My friends" section heading | |
| 201 | +| `friendsEmpty` | Empty state when no friends | |
| 202 | +| `friendsAdd` | Add friend button | |
| 203 | +| `friendRemove` | Remove friend button on each row | |
| 204 | +| `friendReqSub` | Subtitle on incoming request modal ("wants to view your inventory") | |
| 205 | +| `friendReqBlock` | Block button on request modal | |
| 206 | +| `friendReqRefuse` | Decline button on request modal | |
| 207 | +| `friendReqAccept` | Accept button on request modal | |
| 208 | +| `addFriendTitle` | Add friend modal title | |
| 209 | +| `addFriendSub` | Add friend modal subtitle | |
| 210 | +| `addFriendSend` | Send request button | |
| 211 | +| `friendSearching` | Preview state: searching | |
| 212 | +| `friendNotFound` | Preview state: no user found | |
| 213 | +| `friendSelf` | Preview state: own code entered | |
| 214 | +| `friendRequestSent` | Success message after sending | |
| 215 | +| `friendRegenConfirm` | (kept in locales, no longer used in UI — reserved) | |
| 216 | + |
| 217 | +> ⚠️ This table is a snapshot and can drift as keys are added. The authoritative key set is the locale files themselves; `npm run i18n:check` is the source of truth for "do all 9 locales agree". When you add keys via `npm run i18n:add`, append them to the relevant section here too. |
0 commit comments