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

Remotepi: Extended localization support et al. #187

Closed
wants to merge 11 commits into from

Conversation

gvolt
Copy link
Contributor

@gvolt gvolt commented Apr 9, 2018

Commits 04/2018:

  • index.js: Added modal showing up if a reboot is required; added localization support for modals, toast messages etc.
  • UIConfig.json: Adjustments for extended localization support
  • i18n/strings_xx.json: Added strings for toast messages and "reboot required" user modal
  • package.json: Updated version number to 1.1.0

Commits 05.09.2018:

  • index.js: Change in method "writeBootStr" in order to avoid unnecessary write operations on /boot/config.txt
  • i18n/strings_en.json: Fixed typo
  • i18n/strings_de.json: Minor textual changes
  • package.json: Updated version number to 1.1.1

Commits 20.11.2018:

gvolt added 5 commits April 9, 2018 17:49
Added modal showing up if a reboot is required; added localization support for modals, toast messages etc.
Adjustments for extended localization support
Update version number to 1.1.0
Adding strings for toast messages and "reboot required" user modal; minor corrections.
Adding strings for toast messages and "reboot required" user modal.
Fix/workaround: The localization files are scanned only when Volumio starts and the plugin is already enabled. Therefore after just installing and enabling the plugin or after booting Volumio with the plugin in disabled state and then enabling it had the effect that localized strings for toasts etc. were not available (toasts did not show up at all then). Now on every start of the plugin the method "self.commandRouter.loadI18nStrings()" gets called which reads the necessary strings.
Change in method "writeBootStr" in order to avoid unnecessary write operations on /boot/config.txt
@gvolt gvolt changed the title Remotepi: Extended localization support Remotepi: Extended localization support et al. Sep 5, 2018
@gvolt gvolt closed this Aug 8, 2019
@gvolt gvolt deleted the remotepi-pr branch August 11, 2019 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant