Commit graph

8 commits

Author SHA1 Message Date
Pedro Pinto Silva
c51b63510f Welcome: Refactoring: fix indentations and quotes
Avoid linting problems
- Use tabs as indentations
- use single quotes

All per browser/.eslintrc and browser/.stylelintrc.json

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1bbd425b7aaf39bca3f8d18da5092b7e27e41624
2023-06-23 08:15:35 +02:00
Szymon Kłos
23db8700b8 Improve translation in welcome dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib9daec78a60729b5ae81f1ae8cf3ae863a6fa300
2023-04-24 14:04:43 +02:00
Andras Timar
a88738e22d Fix fallback welcome dialog on phone + other backports from online welcome dialog
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifdf373c2c0b5a0962610d5fcb35f5845603a7a03
2022-04-12 14:08:39 +03:00
Henry Castro
c550a206e8 Remove the old vex-based welcome dialog code
... and make Welcome dialog optional for COOL

config: add welome url parameter

Signed-off-by: Henry Castro <hcastro@collabora.com>

config: add feedback url parameter

Signed-off-by: Henry Castro <hcastro@collabora.com>

config: add infobar-url parameter

Signed-off-by: Henry Castro <hcastro@collabora.com>

welcome: fix unhandled exceptions

Signed-off-by: Henry Castro <hcastro@collabora.com>

welcome: preprocess welcome file

added welcome-message.html

Signed-off-by: Henry Castro <hcastro@collabora.com>

welcome: clean up code related to vex welcome

Signed-off-by: Henry Castro <hcastro@collabora.com>

--enable-welcome-message is not necessary, when we specify a welcome URL, then it is enabled, otherwise it's user configurable

Signed-off-by: Andras Timar <andras.timar@collabora.com>

remove the unused welcome config settings

Signed-off-by: Andras Timar <andras.timar@collabora.com>

remove unused define ENABLE_FEEDBACK

Signed-off-by: Andras Timar <andras.timar@collabora.com>

do not install/package fallback welcome dialog, when welcome feature is not configured

Signed-off-by: Andras Timar <andras.timar@collabora.com>

remove welcome-message.html

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20aa6220362018b63aaebd114b2b661561823fbb
2022-04-04 10:53:07 +02:00
Gökay Şatır
7410e2ff85 Enable translations for paragraphs containing links.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I9b66f7b301487cf345c9a136943a6148827a2d49
2022-03-14 08:32:27 +01:00
Henry Castro
7a2b629107 welcome: add function to translate strings
Change-Id: I89112bb3c7da7cf92930bb7b6ba090adccfa5c11
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-11 15:09:50 +03:00
Henry Castro
c3ea5a8b8d welcome: add function to extract translatable strings
Change-Id: Ia55fbba97ddbbdb3856c30fd996e1fc5cd225d68
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-11 15:09:50 +03:00
Gökay Şatır
a4f53abac2 Put welcome stuff into one place.
Make the html, js and css files same with server.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iac268811c01abee3a1b313084959e0ce70666a3b
2022-02-24 19:15:35 +03:00