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',
|
DETECTED_AS_BOT: 'DETECTED_AS_BOT',
|
||||||
NOTES_CREATE: 'NOTES_CREATE',
|
NOTES_CREATE: 'NOTES_CREATE',
|
||||||
USING_LISTING_STATUS: 'USING_LISTING_STATUS',
|
USING_LISTING_STATUS: 'USING_LISTING_STATUS',
|
||||||
|
CHANGE_LANGUAGE: 'CHANGE_LANGUAGE',
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ export default async function userSettingsPlugin(fastify) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
upsertSettings({ language }, userId);
|
upsertSettings({ language }, userId);
|
||||||
|
await trackPoi(TRACKING_POIS.CHANGE_LANGUAGE);
|
||||||
return { success: true };
|
return { success: true };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error('Error updating language setting', 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":
|
"content":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"title": "Table overview for listings",
|
"title": "Fredy goes multilingual!",
|
||||||
"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.",
|
"text": "Fredy now supports multiple languages (Starting with german and english). You can select the language in the user-settings.",
|
||||||
"media": "1.png"
|
"media": "1.jpg"
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user