summaryrefslogtreecommitdiff
path: root/resources/js/classes/Technique.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-09-01 22:32:45 +0200
committerDaniel Weipert <code@drogueronin.de>2023-09-01 22:32:45 +0200
commit1d29ee6d87d3794a9319bca5bf36afdfe176072c (patch)
tree1e7e89ca87afd313b1806fcc80d456796b0af6db /resources/js/classes/Technique.js
parent6b3a8aef783368d0ed9a2c104eea3ff5cf9984da (diff)
translations with fallback
Diffstat (limited to 'resources/js/classes/Technique.js')
-rw-r--r--resources/js/classes/Technique.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/js/classes/Technique.js b/resources/js/classes/Technique.js
index 5f01e64..0fa31c9 100644
--- a/resources/js/classes/Technique.js
+++ b/resources/js/classes/Technique.js
@@ -14,11 +14,11 @@ class Technique {
}
get name () {
- return translate(this.slug) || slugToName(this.slug);
+ return translate(this.slug);
}
get description () {
- return translate(`${this.slug}_description`) || 'TECHNIQUE_DESCRIPTION_MISSING';
+ return translate(`${this.slug}_description`);
}
get types () {