0neGal / viper

Launcher+Updater for TF|2 Northstar
https://0negal.github.io/viper
GNU General Public License v3.0
151 stars 21 forks source link

bug: Some text don't load correctly #221

Closed KenMizz closed 9 months ago

KenMizz commented 9 months ago

Describe the bug

  1. In Mods Menu, when clicking Remove All button, instead of showing the description, it shows gui.mods.remove_all.confirm instead.
  2. In search mods browser, no results shows gui.browser.noresults

To Reproduce Steps to reproduce the behavior:

  1. Simply clicking Remove All button in Mods menu, or search some random text inside search bar.
  2. bug occured.

Expected behavior According to src/langs/en.json, gui.mods.remove_all.confirm should show Removing all mods will usually require you to reinstall Northstar. Are you sure? instead. Same as gui.browser.noresults, it should show No results....

Screenshots image image

Version: 1.9.0

Additional Info Looks like a configuration error. when I change gui.mods.remove_all_confirm to gui.mods.remove_all.confirm in src/langs/en.json, it works again.

0neGal commented 9 months ago

This is an oversight from the recently changed formatting of the localization files, I thought I'd caught them all, oh well.

Will be an easy fix however!

0neGal commented 9 months ago

Got around to this, it's now fixed with the latest commit!