[ja] wip (code adjustments)
This commit is contained in:
parent
4f25e517b9
commit
1b6ab79ff1
|
@ -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: 'よくある質問'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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('&') : [];
|
||||
|
||||
|
|
Reference in New Issue