Skip to content

Commit

Permalink
Merge pull request #45 from SJVAir/fix/monitor-name-translation
Browse files Browse the repository at this point in the history
Fix: Monitor Name Translation
  • Loading branch information
alexandermccormick authored Feb 26, 2024
2 parents dde26e8 + 12484a3 commit ef7de79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"files": [
"dist"
],
"version": "1.8.11",
"version": "1.8.12",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/DisplayOptions/MonitorMarkers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ function genMonitorMapMarker(monitor: Monitor): L.ShapeMarker {
<div class="is-flex is-flex-direction-column">
<p>${ dateUtil.$prettyPrint(monitor.data.latest.timestamp) }</p>
<p class="is-size-5 has-text-weight-bold is-underlined">${ monitor.data.name }</p>
<p translate="no" class="is-size-5 has-text-weight-bold is-underlined">${ monitor.data.name }</p>
<p class="is-size-6">Last updated:</p>
<p class="is-size-6">About ${ monitor.lastUpdated }</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/MonitorDetails/MonitorInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@

<template>
<div v-if="monitor" class="monitor-header is-flex is-justify-content-space-evenly is-align-items-center is-flex-direction-column box mb-0">
<p class="monitor-name is-flex-grow-1 is-size-2 has-text-centered mt-3" v-html="monitor.data.name"></p>
<p translate="no" class="monitor-name is-flex-grow-1 is-size-2 has-text-centered mt-3" v-html="monitor.data.name"></p>
<ul class="is-flex is-justify-content-space-evenly is-align-items-center my-2">
<li v-if="monitor.data.is_sjvair">
<span class="tag is-info is-light">
<span class="icon lungs-svg"></span>
<span>SJVAir</span>
<span translate="no">SJVAir</span>
</span>
</li>
<li>
<span class="tag is-light">
<span class="icon">
<span translate="no" class="material-symbols-outlined has-text-grey">router</span>
</span>
<span>{{ monitor.data.device }}</span>
<span translate="no">{{ monitor.data.device }}</span>
</span>
</li>
<li v-if="monitor.data.county">
Expand Down

0 comments on commit ef7de79

Please sign in to comment.