fix(frontend): csv viewer i18n strings
This commit is contained in:
parent
58cc874828
commit
4cbb4b73af
@ -28,23 +28,25 @@
|
|||||||
<div class="csv-footer">
|
<div class="csv-footer">
|
||||||
<div class="csv-info" v-if="data.rows.length > 100">
|
<div class="csv-info" v-if="data.rows.length > 100">
|
||||||
<i class="material-icons">info</i>
|
<i class="material-icons">info</i>
|
||||||
<span>Showing {{ data.rows.length }} rows</span>
|
<span>
|
||||||
|
{{ $t("files.showingRows", { count: data.rows.length }) }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="column-separator">
|
<div class="column-separator">
|
||||||
<label for="columnSeparator">Column Separator</label>
|
<label for="columnSeparator">{{ $t("files.columnSeparator") }}</label>
|
||||||
<select
|
<select
|
||||||
id="columnSeparator"
|
id="columnSeparator"
|
||||||
class="input input--block"
|
class="input input--block"
|
||||||
v-model="columnSeparator"
|
v-model="columnSeparator"
|
||||||
>
|
>
|
||||||
<option :value="[',']">
|
<option :value="[',']">
|
||||||
{{ $t("available_csv_separators.comma") }}
|
{{ $t("files.csvSeparators.comma") }}
|
||||||
</option>
|
</option>
|
||||||
<option :value="[';']">
|
<option :value="[';']">
|
||||||
{{ $t("available_csv_separators.semicolon") }}
|
{{ $t("files.csvSeparators.semicolon") }}
|
||||||
</option>
|
</option>
|
||||||
<option :value="[',', ';']">
|
<option :value="[',', ';']">
|
||||||
{{ $t("available_csv_separators.both") }}
|
{{ $t("files.csvSeparators.both") }}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -78,7 +78,14 @@
|
|||||||
"sortBySize": "Sort by size",
|
"sortBySize": "Sort by size",
|
||||||
"noPreview": "Preview is not available for this file.",
|
"noPreview": "Preview is not available for this file.",
|
||||||
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
"csvLoadFailed": "Failed to load CSV file."
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "select file or directory",
|
"click": "select file or directory",
|
||||||
@ -272,10 +279,5 @@
|
|||||||
"minutes": "Minutes",
|
"minutes": "Minutes",
|
||||||
"seconds": "Seconds",
|
"seconds": "Seconds",
|
||||||
"unit": "Time Unit"
|
"unit": "Time Unit"
|
||||||
},
|
|
||||||
"available_csv_separators": {
|
|
||||||
"comma": "Comma (,)",
|
|
||||||
"semicolon": "Semicolon (;)",
|
|
||||||
"both": "Both (,) and (;)"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user