Skip to content

Commit

Permalink
Add button for synchronizing custom modules
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Feb 24, 2024
1 parent a168e65 commit 56d2e4d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,8 @@ li.book-unavailable a:focus,
#show-commentary-settings-button,
#show-typeface-settings-button,
#setup-db-sync-button,
#show-module-update-button {
#show-module-update-button,
#sync-custom-modules-button {
padding: 0.5em;
display: block;
width: 100%;
Expand Down
6 changes: 5 additions & 1 deletion html/display_options_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
</div>

<div class="switch-box">
<button id="show-module-update-button" class="fg-button ui-corner-all ui-state-default" i18n="general.update-modules"></button>
<button id="show-module-update-button" class="fg-button ui-corner-all ui-state-default" i18n="general.update-modules"></button>
</div>

<div class="switch-box">
<button id="sync-custom-modules-button" class="fg-button ui-corner-all ui-state-default" i18n="general.sync-custom-modules"></button>
</div>

<locale-switch id="localeSwitchOption" settingsKey="appLocale" label="general.app-language"></locale-switch>
Expand Down
1 change: 1 addition & 0 deletions locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
"module-size": "Size",
"module-location": "Location",
"update-modules": "Update modules",
"sync-custom-modules": "Synchronize custom modules",
"yes": "Yes",
"no": "No",
"ok": "Ok",
Expand Down

0 comments on commit 56d2e4d

Please sign in to comment.