mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 06:52:35 -04:00
[ja] wip (code adjustments)
This commit is contained in:
parent
8637723520
commit
975e4bb50b
@ -148,6 +148,18 @@ community:
|
|||||||
images: 'フラグのカタログの外から追加画像'
|
images: 'フラグのカタログの外から追加画像'
|
||||||
definition: '意味'
|
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:
|
faq:
|
||||||
header: 'FAQ'
|
header: 'FAQ'
|
||||||
headerLong: 'よくある質問'
|
headerLong: 'よくある質問'
|
||||||
|
@ -176,7 +176,6 @@ const reloadUser = async (req, res, next) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('reloadUser');
|
|
||||||
await req.db.get(SQL`UPDATE users SET lastActive = ${+new Date} WHERE id = ${req.user.id}`);
|
await req.db.get(SQL`UPDATE users SET lastActive = ${+new Date} WHERE id = ${req.user.id}`);
|
||||||
|
|
||||||
if (req.user.username !== dbUser.username
|
if (req.user.username !== dbUser.username
|
||||||
|
@ -300,6 +300,9 @@ export class Pronoun {
|
|||||||
nameOptions() {
|
nameOptions() {
|
||||||
const options = new Set();
|
const options = new Set();
|
||||||
const optionsN = (this.morphemes[MORPHEMES[0]] || '').split('&');
|
const optionsN = (this.morphemes[MORPHEMES[0]] || '').split('&');
|
||||||
|
if (MORPHEMES.length === 1) {
|
||||||
|
return optionsN;
|
||||||
|
}
|
||||||
const optionsG = (this.morphemes[MORPHEMES[1]] || '').split('&');
|
const optionsG = (this.morphemes[MORPHEMES[1]] || '').split('&');
|
||||||
const optionsGAlt = MORPHEMES.length > 2 ? (this.morphemes[MORPHEMES[2]] || '').split('&') : [];
|
const optionsGAlt = MORPHEMES.length > 2 ? (this.morphemes[MORPHEMES[2]] || '').split('&') : [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user