« get me outta code hell

data: Language.name simpleString -> name - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-05 22:18:49 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-06 12:50:31 -0400
commit6e7e008fa26b01a5e71574165ffd4db2d0b5c3e4 (patch)
treedf80aeec26b9030969f355866fd1b1302822bc26
parentf3b6d680c0d78583c14243bcc60d39c8f0c6014d (diff)
data: Language.name simpleString -> name
-rw-r--r--src/data/things/language.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js
index db369f7a..724448d8 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -15,7 +15,7 @@ import {
 import {
   externalFunction,
   flag,
-  simpleString,
+  name,
 } from '#composite/wiki-properties';
 
 import CacheableObject from './cacheable-object.js';
@@ -35,7 +35,7 @@ export class Language extends Thing {
 
     // Human-readable name. This should be the language's own native name, not
     // localized to any other language.
-    name: simpleString(),
+    name: name(`Unnamed Language`),
 
     // Language code specific to JavaScript's Internationalization (Intl) API.
     // Usually this will be the same as the language's general code, but it