mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
adding poi for new multilingual support & add news for the new feature
This commit is contained in:
@@ -14,4 +14,5 @@ export const TRACKING_POIS = {
|
||||
DETECTED_AS_BOT: 'DETECTED_AS_BOT',
|
||||
NOTES_CREATE: 'NOTES_CREATE',
|
||||
USING_LISTING_STATUS: 'USING_LISTING_STATUS',
|
||||
CHANGE_LANGUAGE: 'CHANGE_LANGUAGE',
|
||||
};
|
||||
|
||||
@@ -179,6 +179,7 @@ export default async function userSettingsPlugin(fastify) {
|
||||
|
||||
try {
|
||||
upsertSettings({ language }, userId);
|
||||
await trackPoi(TRACKING_POIS.CHANGE_LANGUAGE);
|
||||
return { success: true };
|
||||
} catch (error) {
|
||||
logger.error('Error updating language setting', error);
|
||||
|
||||
BIN
ui/src/assets/news/1.jpg
Normal file
BIN
ui/src/assets/news/1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 835 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 367 KiB |
@@ -1,16 +1,11 @@
|
||||
{
|
||||
"key": "00e6b81777a275f5a140fc9101cb943810db6a69f6eb3927319c5aee0c876221",
|
||||
"key": "00e6b81777a275f5a140fc9101cb94eef0db6a69f6eb3927319c5aee0c876221",
|
||||
"content":
|
||||
[
|
||||
{
|
||||
"title": "Table overview for listings",
|
||||
"text": "Thanks to https://github.com/datenwurm, we now have a table overview for listings. If you decide to use the table view, the decision will be stored.",
|
||||
"media": "1.png"
|
||||
},
|
||||
{
|
||||
"title": "Table overview for jobs",
|
||||
"text": "Based on datenwurm's, work, I created a table overview for jobs. If you decide to use the table view, the decision will be stored.",
|
||||
"media": "2.png"
|
||||
"title": "Fredy goes multilingual!",
|
||||
"text": "Fredy now supports multiple languages (Starting with german and english). You can select the language in the user-settings.",
|
||||
"media": "1.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user