Skip to content

Commit eab28df

Browse files
CyberbuildsAIclaude
andcommitted
Docs: a project's onscreens files by folder are those under <language>\onscreens
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9cd04ed commit eab28df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/design/view.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Finding the text behind `LocKey#12345`, and the LocKey for a text.
8080
| `loc.languages()` | The languages with on-screen texts (19 on the owner's game), and whether Phantom Liberty has them |
8181
| `loc.search(query, language, limit, projectDir?)` | Entries for `LocKey#123` or a number, else entries with every word in the secondary key or a text; exact secondary keys first |
8282
| `loc.get(keys, language, projectDir?)` | Entries by LocKey number or secondary key, null where there is none |
83-
| `loc.projectFiles(projectDir, language)` | The project's onscreens files for the language: those its `.xl` files name, then any `.json` under a language folder in `source/archive` |
83+
| `loc.projectFiles(projectDir, language)` | The project's onscreens files for the language: those its `.xl` files name, then any `.json` in `source/archive` under `<language>\onscreens`, where the game keeps them (not subtitles beside them) |
8484
| `loc.newFile(projectDir, modName, language)` | The project's onscreens file for the language; written empty when it has none, at `<mod>\localization\<language>.json`, and named in an `.xl` |
8585

8686
- **Entries** carry `key` (the LocKey number as text, since it can pass 2^53), `secondaryKey`, `female`, `male` and `source` (`base`, `ep1` or `project`), and for a project entry its `file` and row `index`.

‎extensions/redcode/src/bridgeClient.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export class BridgeClient extends EventEmitter<BridgeEvents> {
250250
return this.call("loc.get", { keys, language, projectDir: projectDir ?? null });
251251
}
252252

253-
/** The project's onscreens files for a language: those its .xl files name, then any under a language folder in source/archive. */
253+
/** The project's onscreens files for a language: those its .xl files name, then any in source/archive under <language>\onscreens. */
254254
locProjectFiles(projectDir: string, language = "en-us"): Promise<LocProjectFile[]> {
255255
return this.call("loc.projectFiles", { projectDir, language });
256256
}

0 commit comments

Comments
 (0)