[ja] wip (code adjustments)

This commit is contained in:
Avris 2021-11-24 23:08:14 +01:00
parent 4f25e517b9
commit 1b6ab79ff1
3 changed files with 15 additions and 1 deletions

View File

@ -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: 'よくある質問'

View File

@ -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

View File

@ -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('&') : [];