[profile] more flags
|
@ -161,7 +161,7 @@ nouns:
|
||||||
Odmiana jest prosta, wg podanego niżej schematu.
|
Odmiana jest prosta, wg podanego niżej schematu.
|
||||||
- >
|
- >
|
||||||
Niestety, Dukaj nie używa postpłciowych rzeczowników w liczbie mnogiej
|
Niestety, Dukaj nie używa postpłciowych rzeczowników w liczbie mnogiej
|
||||||
(poza np. odmienianym męskoosobowo „phoebe'wie”).
|
(poza np. odmienianym męskoosobowo „phoebe'owie”).
|
||||||
Jeśli masz propozycje, jak odmieniać dukatywy w liczbie mnogiej, daj nam znać.
|
Jeśli masz propozycje, jak odmieniać dukatywy w liczbie mnogiej, daj nam znać.
|
||||||
extended:
|
extended:
|
||||||
header: 'Przykład odmiany'
|
header: 'Przykład odmiany'
|
||||||
|
|
|
@ -67,7 +67,7 @@ router.post('/profile/save/:locale', async (req, res) => {
|
||||||
await req.db.get(SQL`DELETE FROM profiles WHERE userId = ${userId} AND locale = ${req.params.locale}`);
|
await req.db.get(SQL`DELETE FROM profiles WHERE userId = ${userId} AND locale = ${req.params.locale}`);
|
||||||
await req.db.get(SQL`INSERT INTO profiles (id, userId, locale, names, pronouns, description, birthday, links, flags, words, active)
|
await req.db.get(SQL`INSERT INTO profiles (id, userId, locale, names, pronouns, description, birthday, links, flags, words, active)
|
||||||
VALUES (${ulid()}, ${userId}, ${req.params.locale}, ${JSON.stringify(req.body.names)}, ${JSON.stringify(req.body.pronouns)},
|
VALUES (${ulid()}, ${userId}, ${req.params.locale}, ${JSON.stringify(req.body.names)}, ${JSON.stringify(req.body.pronouns)},
|
||||||
${req.body.description}, ${req.body.birthday || null}, ${JSON.stringify(req.body.links)}, ${JSON.stringify(req.body.flags)},
|
${req.body.description}, ${req.body.birthday || null}, ${JSON.stringify(req.body.links.filter(x => !!x))}, ${JSON.stringify(req.body.flags)},
|
||||||
${JSON.stringify(req.body.words)}, 1
|
${JSON.stringify(req.body.words)}, 1
|
||||||
)`);
|
)`);
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 7.4 KiB |
After Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 6.0 KiB |