diff --git a/locale/ja/translations.suml b/locale/ja/translations.suml index 59045f17..9a3d8a83 100644 --- a/locale/ja/translations.suml +++ b/locale/ja/translations.suml @@ -148,6 +148,18 @@ community: images: 'フラグのカタログの外から追加画像' definition: '意味' +terminology: + header: 'Terminology' + headerLong: 'Dictionary of queer terminology' + info: + - > + A dictionary of terms related to the LGBTQ+ community. + term: 'Term' + original: 'Etymology' + category: 'Category' + images: 'Additional images, from outside the flag catalogue' + definition: 'Definition' + faq: header: 'FAQ' headerLong: 'よくある質問' diff --git a/server/routes/user.js b/server/routes/user.js index 9b867085..f68dfbd6 100644 --- a/server/routes/user.js +++ b/server/routes/user.js @@ -176,7 +176,6 @@ const reloadUser = async (req, res, next) => { return; } - console.log('reloadUser'); await req.db.get(SQL`UPDATE users SET lastActive = ${+new Date} WHERE id = ${req.user.id}`); if (req.user.username !== dbUser.username diff --git a/src/classes.js b/src/classes.js index 6250a0fb..7f64d8f0 100644 --- a/src/classes.js +++ b/src/classes.js @@ -300,6 +300,9 @@ export class Pronoun { nameOptions() { const options = new Set(); const optionsN = (this.morphemes[MORPHEMES[0]] || '').split('&'); + if (MORPHEMES.length === 1) { + return optionsN; + } const optionsG = (this.morphemes[MORPHEMES[1]] || '').split('&'); const optionsGAlt = MORPHEMES.length > 2 ? (this.morphemes[MORPHEMES[2]] || '').split('&') : [];