Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LB localization #10073

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/app/loadout-builder/filter/EnergyOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export default function EnergyOptions({
lbDispatch: Dispatch<LoadoutBuilderAction>;
className?: string;
}) {
// Note: These are only referenced via nesting in the tooltips below,
// so i18next-scanner would otherwise drop them if they didn't appear
// in the code.
// t('LoadoutBuilder.AssumeMasterworkOptions.Current')
// t('LoadoutBuilder.AssumeMasterworkOptions.Masterworked')

const assumeMasterworkOptions: Option<AssumeArmorMasterwork>[] = useMemo(
() => [
{
Expand Down
2 changes: 2 additions & 0 deletions src/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,9 @@
"AssumeMasterwork": "Assume Masterwork",
"AssumeMasterworkOptions": {
"All": "All armor: $t(LoadoutBuilder.AssumeMasterworkOptions.Masterworked)",
"Current": "Current stats, assumed energy level at least {{minLoItemEnergy}}.",
"Legendary": "Legendary: $t(LoadoutBuilder.AssumeMasterworkOptions.Masterworked)\nExotic: $t(LoadoutBuilder.AssumeMasterworkOptions.Current)",
"Masterworked": "+2 in each stat, assumed energy level 10.",
"None": "All armor: $t(LoadoutBuilder.AssumeMasterworkOptions.Current)"
},
"AutoStatMods": "Automatically add stat mods",
Expand Down
Loading