Skip to content

Commit 8d14bf8

Browse files
committed
remove setting
1 parent 18700dc commit 8d14bf8

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

dist/index.html

-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ <h1>
133133
Allow X ala X partial parsing</label>
134134
<label><input type="checkbox" id="separate-repeated-modifiers" />
135135
Allow separate repeated modifiers</label>
136-
<label><input type="checkbox" id="hardcoded-anu-la" checked />
137-
Use hardcoded "anu la" translation</label>
138136
</details>
139137
<div>
140138
<button id="reset-button">Reset to default</button>

src/settings.ts

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export type Settings = {
99
tense: Redundancy;
1010
xAlaXPartialParsing: boolean;
1111
separateRepeatedModifiers: boolean;
12-
hardcodedAnuLa: boolean;
1312
};
1413
// the default value may change, also change `index.html`
1514
export const defaultSettings: Readonly<Settings> = Object.freeze({
@@ -20,7 +19,6 @@ export const defaultSettings: Readonly<Settings> = Object.freeze({
2019
tense: "both",
2120
xAlaXPartialParsing: false,
2221
separateRepeatedModifiers: false,
23-
hardcodedAnuLa: true,
2422
});
2523
// this global constant is mutable
2624
export const settings: Settings = Object.seal({ ...defaultSettings });

src/settings_frontend.ts

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const UPDATERS: Readonly<{ [K in keyof Settings]: Updater<Settings[K]> }> = {
4646
tense: REDUNDANCY_UPDATER,
4747
xAlaXPartialParsing: BOOL_UPDATER,
4848
separateRepeatedModifiers: BOOL_UPDATER,
49-
hardcodedAnuLa: BOOL_UPDATER,
5049
};
5150
const KEYS = Object.keys(UPDATERS) as ReadonlyArray<keyof Settings>;
5251

0 commit comments

Comments
 (0)