🌐 Adds translations for widget text

This commit is contained in:
Alicia Sykes 2021-12-27 21:27:34 +00:00
parent 3ffdf753cc
commit 27404f6044
10 changed files with 293 additions and 274 deletions

View File

@ -1,263 +1,275 @@
{ {
"home": { "home": {
"no-results": "No Search Results", "no-results": "No Search Results",
"no-data": "No Data Configured", "no-data": "No Data Configured",
"no-items-section": "No Items to Show Yet" "no-items-section": "No Items to Show Yet"
}, },
"search": { "search": {
"search-label": "Search", "search-label": "Search",
"search-placeholder": "Start typing to filter", "search-placeholder": "Start typing to filter",
"clear-search-tooltip": "Clear Search", "clear-search-tooltip": "Clear Search",
"enter-to-search-web": "Press enter to search the web" "enter-to-search-web": "Press enter to search the web"
}, },
"login": { "login": {
"title": "Dashy", "title": "Dashy",
"username-label": "Username", "username-label": "Username",
"password-label": "Password", "password-label": "Password",
"login-button": "Login", "login-button": "Login",
"remember-me-label": "Remember me for", "remember-me-label": "Remember me for",
"remember-me-never": "Never", "remember-me-never": "Never",
"remember-me-hour": "4 Hours", "remember-me-hour": "4 Hours",
"remember-me-day": "1 Day", "remember-me-day": "1 Day",
"remember-me-week": "1 Week", "remember-me-week": "1 Week",
"remember-me-long-time": "A long time", "remember-me-long-time": "A long time",
"error-missing-username": "Missing Username", "error-missing-username": "Missing Username",
"error-missing-password": "Missing Password", "error-missing-password": "Missing Password",
"error-incorrect-username": "User not found", "error-incorrect-username": "User not found",
"error-incorrect-password": "Incorrect Password", "error-incorrect-password": "Incorrect Password",
"success-message": "Logging in...", "success-message": "Logging in...",
"logout-message": "Logged Out", "logout-message": "Logged Out",
"already-logged-in-title": "Already Logged In", "already-logged-in-title": "Already Logged In",
"already-logged-in-text": "You're logged in as", "already-logged-in-text": "You're logged in as",
"proceed-to-dashboard": "Proceed to Dashboard", "proceed-to-dashboard": "Proceed to Dashboard",
"log-out-button": "Logout", "log-out-button": "Logout",
"proceed-guest-button": "Proceed as Guest" "proceed-guest-button": "Proceed as Guest"
}, },
"config": { "config": {
"main-tab": "Main Menu", "main-tab": "Main Menu",
"view-config-tab": "View Config", "view-config-tab": "View Config",
"edit-config-tab": "Edit Config", "edit-config-tab": "Edit Config",
"custom-css-tab": "Custom Styles", "custom-css-tab": "Custom Styles",
"heading": "Configuration Options", "heading": "Configuration Options",
"download-config-button": "View / Export Config", "download-config-button": "View / Export Config",
"edit-config-button": "Edit Config", "edit-config-button": "Edit Config",
"edit-css-button": "Edit Custom CSS", "edit-css-button": "Edit Custom CSS",
"cloud-sync-button": "Enable Cloud Sync", "cloud-sync-button": "Enable Cloud Sync",
"edit-cloud-sync-button": "Edit Cloud Sync", "edit-cloud-sync-button": "Edit Cloud Sync",
"rebuild-app-button": "Rebuild Application", "rebuild-app-button": "Rebuild Application",
"change-language-button": "Change App Language", "change-language-button": "Change App Language",
"reset-settings-button": "Reset Local Settings", "reset-settings-button": "Reset Local Settings",
"app-info-button": "App Info", "app-info-button": "App Info",
"backup-note": "It is recommend to make a backup of your configuration before making changes.", "backup-note": "It is recommend to make a backup of your configuration before making changes.",
"reset-config-msg-l1": "This will remove all user settings from local storage, but won't effect your 'conf.yml' file.", "reset-config-msg-l1": "This will remove all user settings from local storage, but won't effect your 'conf.yml' file.",
"reset-config-msg-l2": "You should first backup any changes you've made locally, if you want to use them in the future.", "reset-config-msg-l2": "You should first backup any changes you've made locally, if you want to use them in the future.",
"reset-config-msg-l3": "Are you sure you want to proceed?", "reset-config-msg-l3": "Are you sure you want to proceed?",
"data-cleared-msg": "Data cleared successfully", "data-cleared-msg": "Data cleared successfully",
"actions-label": "Actions", "actions-label": "Actions",
"copy-config-label": "Copy Config", "copy-config-label": "Copy Config",
"data-copied-msg": "Config has been copied to clipboard", "data-copied-msg": "Config has been copied to clipboard",
"reset-config-label": "Reset Config", "reset-config-label": "Reset Config",
"css-save-btn": "Save Changes", "css-save-btn": "Save Changes",
"css-note-label": "Note", "css-note-label": "Note",
"css-note-l1": "You will need to refresh the page for your changes to take effect.", "css-note-l1": "You will need to refresh the page for your changes to take effect.",
"css-note-l2": "Styles overrides are only stored locally, so it is recommended to make a copy of your CSS.", "css-note-l2": "Styles overrides are only stored locally, so it is recommended to make a copy of your CSS.",
"css-note-l3": "To remove all custom styles, delete the contents and hit Save Changes" "css-note-l3": "To remove all custom styles, delete the contents and hit Save Changes"
}, },
"alternate-views": { "alternate-views": {
"alternate-view-heading": "Switch View", "alternate-view-heading": "Switch View",
"default": "Default", "default": "Default",
"workspace": "Workspace", "workspace": "Workspace",
"minimal": "Minimal" "minimal": "Minimal"
}, },
"settings": { "settings": {
"theme-label": "Theme", "theme-label": "Theme",
"layout-label": "Layout", "layout-label": "Layout",
"layout-auto": "Auto", "layout-auto": "Auto",
"layout-horizontal": "Horizontal", "layout-horizontal": "Horizontal",
"layout-vertical": "Vertical", "layout-vertical": "Vertical",
"item-size-label": "Item Size", "item-size-label": "Item Size",
"item-size-small": "Small", "item-size-small": "Small",
"item-size-medium": "Medium", "item-size-medium": "Medium",
"item-size-large": "Large", "item-size-large": "Large",
"config-launcher-label": "Config", "config-launcher-label": "Config",
"config-launcher-tooltip": "Update Configuration", "config-launcher-tooltip": "Update Configuration",
"sign-out-tooltip": "Sign Out", "sign-out-tooltip": "Sign Out",
"sign-in-tooltip": "Log In", "sign-in-tooltip": "Log In",
"sign-in-welcome": "Hello {username}!" "sign-in-welcome": "Hello {username}!"
}, },
"updates": { "updates": {
"app-version-note": "Dashy version", "app-version-note": "Dashy version",
"up-to-date": "Up-to-Date", "up-to-date": "Up-to-Date",
"out-of-date": "Update Available", "out-of-date": "Update Available",
"unsupported-version-l1": "You are using an unsupported version of Dashy", "unsupported-version-l1": "You are using an unsupported version of Dashy",
"unsupported-version-l2": "For the best experience, and recent security patches, please update to" "unsupported-version-l2": "For the best experience, and recent security patches, please update to"
}, },
"language-switcher": { "language-switcher": {
"title": "Change Application Language", "title": "Change Application Language",
"dropdown-label": "Select a Language", "dropdown-label": "Select a Language",
"save-button": "Save", "save-button": "Save",
"success-msg": "Language Updated to" "success-msg": "Language Updated to"
}, },
"theme-maker": { "theme-maker": {
"title": "Theme Configurator", "title": "Theme Configurator",
"export-button": "Export Custom Variables", "export-button": "Export Custom Variables",
"reset-button": "Reset Styles for", "reset-button": "Reset Styles for",
"show-all-button": "Show All Variables", "show-all-button": "Show All Variables",
"change-fonts-button": "Change Fonts", "change-fonts-button": "Change Fonts",
"save-button": "Save", "save-button": "Save",
"cancel-button": "Cancel", "cancel-button": "Cancel",
"saved-toast": "{theme} Updated Successfully", "saved-toast": "{theme} Updated Successfully",
"copied-toast": "Theme data for {theme} copied to clipboard", "copied-toast": "Theme data for {theme} copied to clipboard",
"reset-toast": "Custom Colors for {theme} Removed" "reset-toast": "Custom Colors for {theme} Removed"
}, },
"config-editor": { "config-editor": {
"save-location-label": "Save Location", "save-location-label": "Save Location",
"location-local-label": "Apply Locally", "location-local-label": "Apply Locally",
"location-disk-label": "Write Changes to Config File", "location-disk-label": "Write Changes to Config File",
"save-button": "Save Changes", "save-button": "Save Changes",
"preview-button": "Preview Changes", "preview-button": "Preview Changes",
"valid-label": "Config is Valid", "valid-label": "Config is Valid",
"status-success-msg": "Task Complete", "status-success-msg": "Task Complete",
"status-fail-msg": "Task Failed", "status-fail-msg": "Task Failed",
"success-msg-disk": "Config file written to disk successfully", "success-msg-disk": "Config file written to disk successfully",
"success-msg-local": "Local changes saved successfully", "success-msg-local": "Local changes saved successfully",
"success-note-l1": "The app should rebuild automatically.", "success-note-l1": "The app should rebuild automatically.",
"success-note-l2": "This may take up to a minute.", "success-note-l2": "This may take up to a minute.",
"success-note-l3": "You will need to refresh the page for changes to take effect.", "success-note-l3": "You will need to refresh the page for changes to take effect.",
"error-msg-save-mode": "Please select a Save Mode: Local or File", "error-msg-save-mode": "Please select a Save Mode: Local or File",
"error-msg-cannot-save": "An error occurred saving config", "error-msg-cannot-save": "An error occurred saving config",
"error-msg-bad-json": "Error in JSON, possibly malformed", "error-msg-bad-json": "Error in JSON, possibly malformed",
"warning-msg-validation": "Validation Warning", "warning-msg-validation": "Validation Warning",
"not-admin-note": "You cannot write changed to disk, because you are not logged in as an admin" "not-admin-note": "You cannot write changed to disk, because you are not logged in as an admin"
}, },
"app-rebuild": { "app-rebuild": {
"title": "Rebuild Application", "title": "Rebuild Application",
"rebuild-note-l1": "A rebuild is required for changes written to the conf.yml file to take effect.", "rebuild-note-l1": "A rebuild is required for changes written to the conf.yml file to take effect.",
"rebuild-note-l2": "This should happen automatically, but if it hasn't, you can manually trigger it here.", "rebuild-note-l2": "This should happen automatically, but if it hasn't, you can manually trigger it here.",
"rebuild-note-l3": "This is not required for modifications stored locally.", "rebuild-note-l3": "This is not required for modifications stored locally.",
"rebuild-button": "Start Build", "rebuild-button": "Start Build",
"rebuilding-status-1": "Building...", "rebuilding-status-1": "Building...",
"rebuilding-status-2": "This may take a few minutes", "rebuilding-status-2": "This may take a few minutes",
"error-permission": "You don't have permission to trigger this action", "error-permission": "You don't have permission to trigger this action",
"success-msg": "Build completed successfully", "success-msg": "Build completed successfully",
"fail-msg": "Build operation failed", "fail-msg": "Build operation failed",
"reload-note": "A page reload is now required for changes to take effect", "reload-note": "A page reload is now required for changes to take effect",
"reload-button": "Reload Page" "reload-button": "Reload Page"
}, },
"cloud-sync": { "cloud-sync": {
"title": "Cloud Backup & Restore", "title": "Cloud Backup & Restore",
"intro-l1": "Cloud backup and restore is an optional feature, that enables you to upload your config to the internet, and then restore it on any other device or instance of Dashy.", "intro-l1": "Cloud backup and restore is an optional feature, that enables you to upload your config to the internet, and then restore it on any other device or instance of Dashy.",
"intro-l2": "All data is fully end-to-end encrypted with AES, using your password as the key.", "intro-l2": "All data is fully end-to-end encrypted with AES, using your password as the key.",
"intro-l3": "For more info, please see the", "intro-l3": "For more info, please see the",
"backup-title-setup": "Make a Backup", "backup-title-setup": "Make a Backup",
"backup-title-update": "Update Backup", "backup-title-update": "Update Backup",
"password-label-setup": "Choose a Password", "password-label-setup": "Choose a Password",
"password-label-update": "Enter your Password", "password-label-update": "Enter your Password",
"backup-button-setup": "Backup", "backup-button-setup": "Backup",
"backup-button-update": "Update Backup", "backup-button-update": "Update Backup",
"backup-id-label": "Your Backup ID", "backup-id-label": "Your Backup ID",
"backup-id-note": "This is used to restore from backups later. So keep it, along with your password somewhere safe.", "backup-id-note": "This is used to restore from backups later. So keep it, along with your password somewhere safe.",
"restore-title": "Restore a Backup", "restore-title": "Restore a Backup",
"restore-id-label": "Restore ID", "restore-id-label": "Restore ID",
"restore-password-label": "Password", "restore-password-label": "Password",
"restore-button": "Restore", "restore-button": "Restore",
"backup-missing-password": "Missing Password", "backup-missing-password": "Missing Password",
"backup-error-unknown": "Unable to process request", "backup-error-unknown": "Unable to process request",
"backup-error-password": "Incorrect password. Please enter your current password.", "backup-error-password": "Incorrect password. Please enter your current password.",
"backup-success-msg": "Completed Successfully", "backup-success-msg": "Completed Successfully",
"restore-success-msg": "Config Restored Successfully" "restore-success-msg": "Config Restored Successfully"
}, },
"menu": { "menu": {
"open-section-title": "Open In", "open-section-title": "Open In",
"sametab": "Current Tab", "sametab": "Current Tab",
"newtab": "New Tab", "newtab": "New Tab",
"modal": "Pop-Up Modal", "modal": "Pop-Up Modal",
"workspace": "Workspace View", "workspace": "Workspace View",
"options-section-title": "Options", "options-section-title": "Options",
"edit-item": "Edit", "edit-item": "Edit",
"move-item": "Copy or Move", "move-item": "Copy or Move",
"remove-item": "Remove" "remove-item": "Remove"
}, },
"context-menus": { "context-menus": {
"item": { "item": {
"open-section-title": "Open In", "open-section-title": "Open In",
"sametab": "Current Tab", "sametab": "Current Tab",
"newtab": "New Tab", "newtab": "New Tab",
"modal": "Pop-Up Modal", "modal": "Pop-Up Modal",
"workspace": "Workspace View", "workspace": "Workspace View",
"options-section-title": "Options", "options-section-title": "Options",
"edit-item": "Edit", "edit-item": "Edit",
"move-item": "Copy or Move", "move-item": "Copy or Move",
"remove-item": "Remove" "remove-item": "Remove"
}, },
"section": { "section": {
"open-section": "Open Section", "open-section": "Open Section",
"edit-section": "Edit", "edit-section": "Edit",
"move-section": "Move To", "move-section": "Move To",
"remove-section": "Remove" "remove-section": "Remove"
} }
}, },
"interactive-editor": { "interactive-editor": {
"menu": { "menu": {
"start-editing-tooltip": "Enter the Interactive Editor", "start-editing-tooltip": "Enter the Interactive Editor",
"edit-site-data-subheading": "Edit Site Data", "edit-site-data-subheading": "Edit Site Data",
"edit-page-info-btn": "Edit Page Info", "edit-page-info-btn": "Edit Page Info",
"edit-page-info-tooltip": "App title, description, nav links, footer text, etc", "edit-page-info-tooltip": "App title, description, nav links, footer text, etc",
"edit-app-config-btn": "Edit App Config", "edit-app-config-btn": "Edit App Config",
"edit-app-config-tooltip": "All other app configuration options", "edit-app-config-tooltip": "All other app configuration options",
"config-save-methods-subheading": "Config Saving Options", "config-save-methods-subheading": "Config Saving Options",
"save-locally-btn": "Save Locally", "save-locally-btn": "Save Locally",
"save-locally-tooltip": "Save config locally, to browser storage. This will not affect your config file, but changes will only be saved on this device", "save-locally-tooltip": "Save config locally, to browser storage. This will not affect your config file, but changes will only be saved on this device",
"save-disk-btn": "Save to Disk", "save-disk-btn": "Save to Disk",
"save-disk-tooltip": "Save config to the conf.yml file on disk. This will backup, and then over-write your existing config", "save-disk-tooltip": "Save config to the conf.yml file on disk. This will backup, and then over-write your existing config",
"export-config-btn": "Export Config", "export-config-btn": "Export Config",
"export-config-tooltip": "View and export new config, either to a file, or to clipboard", "export-config-tooltip": "View and export new config, either to a file, or to clipboard",
"cloud-backup-btn": "Backup to Cloud", "cloud-backup-btn": "Backup to Cloud",
"cloud-backup-tooltip": "Save encrypted backup of configuration to cloud", "cloud-backup-tooltip": "Save encrypted backup of configuration to cloud",
"edit-raw-config-btn": "Edit Raw Config", "edit-raw-config-btn": "Edit Raw Config",
"edit-raw-config-tooltip": "View and modify raw config via JSON editor", "edit-raw-config-tooltip": "View and modify raw config via JSON editor",
"cancel-changes-btn": "Cancel Edit", "cancel-changes-btn": "Cancel Edit",
"cancel-changes-tooltip": "Reset current modifications, and exit Edit Mode. This will not affect your saved config", "cancel-changes-tooltip": "Reset current modifications, and exit Edit Mode. This will not affect your saved config",
"edit-mode-name": "Edit Mode", "edit-mode-name": "Edit Mode",
"edit-mode-subtitle": "You are in Edit Mode", "edit-mode-subtitle": "You are in Edit Mode",
"edit-mode-description": "This means you can make modifications to your config, and preview the results, but until you save, none of your changes will be preserved.", "edit-mode-description": "This means you can make modifications to your config, and preview the results, but until you save, none of your changes will be preserved.",
"save-stage-btn": "Save", "save-stage-btn": "Save",
"cancel-stage-btn": "Cancel" "cancel-stage-btn": "Cancel"
}, },
"edit-section": { "edit-section": {
"edit-section-title": "Edit Section", "edit-section-title": "Edit Section",
"add-section-title": "Add New Section", "add-section-title": "Add New Section",
"edit-tooltip": "Click to Edit, or right-click for more options", "edit-tooltip": "Click to Edit, or right-click for more options",
"remove-confirm": "Are you sure you want to remove this section? This action can be undone later." "remove-confirm": "Are you sure you want to remove this section? This action can be undone later."
}, },
"edit-app-config": { "edit-app-config": {
"warning-msg-title": "Proceed with Caution", "warning-msg-title": "Proceed with Caution",
"warning-msg-l1": "The following options are for advanced app configuration.", "warning-msg-l1": "The following options are for advanced app configuration.",
"warning-msg-l2": "If you are unsure about any of the fields, please reference the", "warning-msg-l2": "If you are unsure about any of the fields, please reference the",
"warning-msg-docs": "documentation", "warning-msg-docs": "documentation",
"warning-msg-l3": "to avoid unintended consequences." "warning-msg-l3": "to avoid unintended consequences."
}, },
"export": { "export": {
"export-title": "Export Config", "export-title": "Export Config",
"copy-clipboard-btn": "Copy to Clipboard", "copy-clipboard-btn": "Copy to Clipboard",
"copy-clipboard-tooltip": "Copy all app config to system clipboard, in YAML format", "copy-clipboard-tooltip": "Copy all app config to system clipboard, in YAML format",
"download-file-btn": "Download as File", "download-file-btn": "Download as File",
"download-file-tooltip": "Download all app config to your device, in a YAML file", "download-file-tooltip": "Download all app config to your device, in a YAML file",
"view-title": "View Config" "view-title": "View Config"
} }
}, },
"widgets": { "widgets": {
"general": { "general": {
"loading": "Loading...", "loading": "Loading...",
"show-more": "Expand Details", "show-more": "Expand Details",
"show-less": "Show Less" "show-less": "Show Less",
}, "open-link": "Continue Reading"
"clock": {}, },
"weather": {}, "pi-hole": {
"weather-forecast": {}, "status-heading": "Status"
"tfl-status": { },
"good-service-all": "Good Service on all Lines", "stat-ping": {
"good-service-rest": "Good Service on all other Lines" "up": "Online",
} "down": "Offline"
} },
} "system-info": {
"uptime": "Uptime"
},
"flight-data": {
"arrivals": "Arrivals",
"departures": "Departures"
},
"tfl-status": {
"good-service-all": "Good Service on all Lines",
"good-service-rest": "Good Service on all other Lines"
}
}
}

View File

@ -9,7 +9,7 @@
<p class="copyright">{{ copyright }}</p> <p class="copyright">{{ copyright }}</p>
<p class="description">{{ truncatedDescription }}</p> <p class="description">{{ truncatedDescription }}</p>
<p @click="toggleShowFull" class="expend-details-btn"> <p @click="toggleShowFull" class="expend-details-btn">
{{ showFullDesc ? 'Show Less' : ' Expand Details' }} {{ showFullDesc ? $t('widgets.general.show-less') : $t('widgets.general.show-more') }}
</p> </p>
</div> </div>
</template> </template>

View File

@ -15,7 +15,7 @@
<p class="description"> <p class="description">
{{ cve.description | formatDescription }} {{ cve.description | formatDescription }}
<a v-if="cve.description.length > 350" class="read-more" :href="cve.url" target="_blank"> <a v-if="cve.description.length > 350" class="read-more" :href="cve.url" target="_blank">
Keep Reading {{ $t('widgets.general.open-link') }}
</a> </a>
</p> </p>
</div> </div>

View File

@ -7,7 +7,7 @@
<!-- Departures --> <!-- Departures -->
<div v-if="departures.length > 0" class="flight-group"> <div v-if="departures.length > 0" class="flight-group">
<h3 class="flight-type-subtitle" v-if="direction === 'both'"> <h3 class="flight-type-subtitle" v-if="direction === 'both'">
Departures {{ $t('widgets.flight-data.departures') }}
</h3> </h3>
<div v-for="flight in departures" :key="flight.number" class="flight" v-tooltip="tip(flight)"> <div v-for="flight in departures" :key="flight.number" class="flight" v-tooltip="tip(flight)">
<p class="info flight-time">{{ flight.time | formatDate }}</p> <p class="info flight-time">{{ flight.time | formatDate }}</p>
@ -18,7 +18,7 @@
<!-- Arrivals --> <!-- Arrivals -->
<div v-if="arrivals.length > 0" class="flight-group"> <div v-if="arrivals.length > 0" class="flight-group">
<h3 class="flight-type-subtitle" v-if="direction === 'both'"> <h3 class="flight-type-subtitle" v-if="direction === 'both'">
Arrivals {{ $t('widgets.flight-data.arrivals') }}
</h3> </h3>
<div v-for="flight in arrivals" :key="flight.number" class="flight" v-tooltip="tip(flight)"> <div v-for="flight in arrivals" :key="flight.number" class="flight" v-tooltip="tip(flight)">
<p class="info flight-time">{{ flight.time | formatDate }}</p> <p class="info flight-time">{{ flight.time | formatDate }}</p>

View File

@ -2,7 +2,7 @@
<div class="pi-hole-stats-wrapper"> <div class="pi-hole-stats-wrapper">
<!-- Current Status --> <!-- Current Status -->
<div v-if="status" class="status"> <div v-if="status" class="status">
<span class="status-lbl">Status:</span> <span class="status-lbl">{{ $t('widgets.pi-hole.status-heading') }}:</span>
<span :class="`status-val ${getStatusColor(status)}`">{{ status | capitalize }}</span> <span :class="`status-val ${getStatusColor(status)}`">{{ status | capitalize }}</span>
</div> </div>
<!-- Block Pie Chart --> <!-- Block Pie Chart -->

View File

@ -21,7 +21,9 @@
</div> </div>
</a> </a>
<div class="post-body" v-html="post.description"></div> <div class="post-body" v-html="post.description"></div>
<a class="continue-reading-btn" :href="post.link">Continue Reading</a> <a class="continue-reading-btn" :href="post.link">
{{ $t('widgets.general.open-link') }}
</a>
</div> </div>
</div> </div>
<!-- End Feed Content --> <!-- End Feed Content -->

View File

@ -9,8 +9,12 @@
<!-- Title --> <!-- Title -->
<p class="service-name"> <p class="service-name">
{{ service.name }}: {{ service.name }}:
<span v-if="service.online" class="status-online">Online</span> <span v-if="service.online" class="status-online">
<span v-else class="status-offline">Offline</span> {{ $t('widgets.stat-ping.up') }}
</span>
<span v-else class="status-offline">
{{ $t('widgets.stat-ping.down') }}
</span>
</p> </p>
<!-- Charts --> <!-- Charts -->
<div class="charts"> <div class="charts">

View File

@ -5,7 +5,8 @@
{{ info.username | isUsername }}{{ info.hostname }} {{ info.username | isUsername }}{{ info.hostname }}
</p> </p>
<p class="system"> <p class="system">
{{ info.system }} <span class="gap">|</span> Uptime: {{ info.uptime | makeUptime }} {{ info.system }} <span class="gap">|</span>
{{ $t('widgets.system-info.uptime') }}: {{ info.uptime | makeUptime }}
</p> </p>
</div> </div>
<div class="some-charts"> <div class="some-charts">

View File

@ -17,7 +17,7 @@
</div> </div>
<!-- Show/ hide toggle button --> <!-- Show/ hide toggle button -->
<p class="more-details-btn" @click="toggleDetails" v-if="weatherDetails.length > 0"> <p class="more-details-btn" @click="toggleDetails" v-if="weatherDetails.length > 0">
{{ showDetails ? 'Show Less' : ' Expand Details' }} {{ showDetails ? $t('widgets.general.show-less') : $t('widgets.general.show-more') }}
</p> </p>
</div> </div>
</template> </template>

View File

@ -25,7 +25,7 @@
</div> </div>
</div> </div>
<p class="more-details-btn" @click="toggleDetails" v-if="showDetails"> <p class="more-details-btn" @click="toggleDetails" v-if="showDetails">
Show Less {{ $t('widgets.general.show-less') }}
</p> </p>
</div> </div>
</template> </template>