diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-14 22:00:05 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-14 22:01:00 +0100 |
commit | 58f5ba502364014bc7a1d7736b69e73cb5660308 (patch) | |
tree | 1f14b47d60296f56f70b9e366825e324eb681583 | |
parent | ac19c6c92b676f5544dc9094b26afec29768c056 (diff) |
Make scrollbars optional and disabled by default
Also add them to the communities sidebar
32 files changed, 637 insertions, 315 deletions
diff --git a/resources/langs/nheko_ca.ts b/resources/langs/nheko_ca.ts index b9c59d28..035978f3 100644 --- a/resources/langs/nheko_ca.ts +++ b/resources/langs/nheko_ca.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock:</source> <context> <name>CommunitiesList</name> <message> - <location filename="../qml/CommunitiesList.qml" line="+60"/> + <location filename="../qml/CommunitiesList.qml" line="+65"/> <source>Do not show notification counts for this community or tag.</source> <translation type="unfinished"></translation> </message> @@ -2661,7 +2661,7 @@ Example: https://server.my:8787</source> <context> <name>RoomList</name> <message> - <location filename="../qml/RoomList.qml" line="+153"/> + <location filename="../qml/RoomList.qml" line="+158"/> <source>New tag</source> <translation type="unfinished"></translation> </message> @@ -4168,8 +4168,8 @@ Reason: %4</source> <context> <name>UserSettings</name> <message> - <location filename="../../src/UserSettingsPage.cpp" line="+551"/> - <location filename="../../src/UserSettingsPage.h" line="+248"/> + <location filename="../../src/UserSettingsPage.cpp" line="+564"/> + <location filename="../../src/UserSettingsPage.h" line="+252"/> <source>Default</source> <translation type="unfinished"></translation> </message> @@ -4177,7 +4177,7 @@ Reason: %4</source> <context> <name>UserSettingsModel</name> <message> - <location line="+408"/> + <location line="+409"/> <source>Theme</source> <translation type="unfinished"></translation> </message> @@ -4208,6 +4208,11 @@ Reason: %4</source> </message> <message> <location line="+4"/> + <source>Scrollbars in room list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> <source>Send messages as Markdown</source> <translation type="unfinished"></translation> </message> @@ -4502,7 +4507,7 @@ Reason: %4</source> <translation type="unfinished"></translation> </message> <message> - <location line="+105"/> + <location line="+107"/> <source>Default</source> <translation type="unfinished"></translation> </message> @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds </message> <message> <location line="+4"/> + <source>Shows scrollbars in the room list and communities list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> <source>Allow using markdown in messages. When disabled, all messages are sent as a plain text.</source> <translation type="unfinished"></translation> @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash <translation type="unfinished"></translation> </message> <message> - <location line="-325"/> + <location line="-331"/> <source>Communities sidebar</source> <translation type="unfinished"></translation> </message> <message> - <location line="+38"/> + <location line="+40"/> <source>Show message counts for communities and tags</source> <translation type="unfinished"></translation> </message> <message> - <location line="+229"/> + <location line="+231"/> <source>Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized</source> <translation type="unfinished"></translation> </message> @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash <translation type="unfinished"></translation> </message> <message> - <location line="+21"/> + <location line="+23"/> <source>Display rooms with new messages first. If this is off, the list of rooms will only be sorted by the timestamp of the last message in a room. If this is on, rooms which have active notifications (the small circle with a number in it) will be sorted on top. Rooms that you have muted will still be sorted by timestamp, since you don't seem to consider them as important as the other rooms.</source> @@ -4733,7 +4743,7 @@ This setting will take effect upon restart.</source> <translation type="unfinished"></translation> </message> <message> - <location line="+451"/> + <location line="+459"/> <source>Select a file</source> <translation type="unfinished"></translation> </message> diff --git a/resources/langs/nheko_cs.ts b/resources/langs/nheko_cs.ts index 4eb3d93d..9c4af145 100644 --- a/resources/langs/nheko_cs.ts +++ b/resources/langs/nheko_cs.ts @@ -697,7 +697,7 @@ You may optionally provide a reason for others to accept your knock:</source> <context> <name>CommunitiesList</name> <message> - <location filename="../qml/CommunitiesList.qml" line="+60"/> + <location filename="../qml/CommunitiesList.qml" line="+65"/> <source>Do not show notification counts for this community or tag.</source> <translation type="unfinished"></translation> </message> @@ -2663,7 +2663,7 @@ Example: https://server.my:8787</source> <context> <name>RoomList</name> <message> - <location filename="../qml/RoomList.qml" line="+153"/> + <location filename="../qml/RoomList.qml" line="+158"/> <source>New tag</source> <translation type="unfinished"></translation> </message> @@ -4179,8 +4179,8 @@ Reason: %4</source> <context> <name>UserSettings</name> <message> - <location filename="../../src/UserSettingsPage.cpp" line="+551"/> - <location filename="../../src/UserSettingsPage.h" line="+248"/> + <location filename="../../src/UserSettingsPage.cpp" line="+564"/> + <location filename="../../src/UserSettingsPage.h" line="+252"/> <source>Default</source> <translation type="unfinished"></translation> </message> @@ -4188,7 +4188,7 @@ Reason: %4</source> <context> <name>UserSettingsModel</name> <message> - <location line="+408"/> + <location line="+409"/> <source>Theme</source> <translation type="unfinished"></translation> </message> @@ -4219,6 +4219,11 @@ Reason: %4</source> </message> <message> <location line="+4"/> + <source>Scrollbars in room list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> <source>Send messages as Markdown</source> <translation type="unfinished"></translation> </message> @@ -4513,7 +4518,7 @@ Reason: %4</source> <translation type="unfinished"></translation> </message> <message> - <location line="+105"/> + <location line="+107"/> <source>Default</source> <translation type="unfinished"></translation> </message> @@ -4551,6 +4556,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds </message> <message> <location line="+4"/> + <source>Shows scrollbars in the room list and communities list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> <source>Allow using markdown in messages. When disabled, all messages are sent as a plain text.</source> <translation type="unfinished"></translation> @@ -4634,17 +4644,17 @@ This usually causes the application icon in the task bar to animate in some fash <translation type="unfinished"></translation> </message> <message> - <location line="-325"/> + <location line="-331"/> <source>Communities sidebar</source> <translation type="unfinished"></translation> </message> <message> - <location line="+38"/> + <location line="+40"/> <source>Show message counts for communities and tags</source> <translation type="unfinished"></translation> </message> <message> - <location line="+229"/> + <location line="+231"/> <source>Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized</source> <translation type="unfinished"></translation> </message> @@ -4654,7 +4664,7 @@ This usually causes the application icon in the task bar to animate in some fash <translation type="unfinished"></translation> </message> <message> - <location line="+21"/> + <location line="+23"/> <source>Display rooms with new messages first. If this is off, the list of rooms will only be sorted by the timestamp of the last message in a room. If this is on, rooms which have active notifications (the small circle with a number in it) will be sorted on top. Rooms that you have muted will still be sorted by timestamp, since you don't seem to consider them as important as the other rooms.</source> @@ -4744,7 +4754,7 @@ This setting will take effect upon restart.</source> <translation type="unfinished"></translation> </message> <message> - <location line="+451"/> + <location line="+459"/> <source>Select a file</source> <translation type="unfinished"></translation> </message> diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts index 7a28a811..86d79b9e 100644 --- a/resources/langs/nheko_de.ts +++ b/resources/langs/nheko_de.ts @@ -699,7 +699,7 @@ Du kannst zusätzlich einen Grund angeben, warum die anderen dein Anklopfen anne <context> <name>CommunitiesList</name> <message> - <location filename="../qml/CommunitiesList.qml" line="+60"/> + <location filename="../qml/CommunitiesList.qml" line="+65"/> <source>Do not show notification counts for this community or tag.</source> <translation>Zeige keine Benachrichtigungen für diese Gruppe oder Tag an.</translation> </message> @@ -2668,7 +2668,7 @@ Beispiel: https://mein.server:8787</translation> <context> <name>RoomList</name> <message> - <location filename="../qml/RoomList.qml" line="+153"/> + <location filename="../qml/RoomList.qml" line="+158"/> <source>New tag</source> <translation>Neuer Tag</translation> </message> @@ -4179,8 +4179,8 @@ Grund: %4</translation> <context> <name>UserSettings</name> <message> - <location filename="../../src/UserSettingsPage.cpp" line="+551"/> - <location filename="../../src/UserSettingsPage.h" line="+248"/> + <location filename="../../src/UserSettingsPage.cpp" line="+564"/> + <location filename="../../src/UserSettingsPage.h" line="+252"/> <source>Default</source> <translation>Standard</translation> </message> @@ -4188,7 +4188,7 @@ Grund: %4</translation> <context> <name>UserSettingsModel</name> <message> - <location line="+408"/> + <location line="+409"/> <source>Theme</source> <translation>Erscheinungsbild</translation> </message> @@ -4219,6 +4219,11 @@ Grund: %4</translation> </message> <message> <location line="+4"/> + <source>Scrollbars in room list</source> + <translation>Srollleisten in der Raumliste</translation> + </message> + <message> + <location line="+2"/> <source>Send messages as Markdown</source> <translation>Sende Nachrichten als Markdown formatiert</translation> </message> @@ -4513,7 +4518,7 @@ Grund: %4</translation> <translation>Mache Rauminformationen über D-Bus verfügbar</translation> </message> <message> - <location line="+105"/> + <location line="+107"/> <source>Default</source> <translation>Standard</translation> </message> @@ -4553,6 +4558,11 @@ Maximaler Wert ist eine Stunde (3600 Sekunden).</translation> </message> <message> <location line="+4"/> + <source>Shows scrollbars in the room list and communities list.</source> + <translation>Zeigt Scrollleisten in der Raumliste und in der Gruppenliste an.</translation> + </message> + <message> + <location line="+2"/> <source>Allow using markdown in messages. When disabled, all messages are sent as a plain text.</source> <translation>Nutze Markdown als Format für Nachrichten. @@ -4640,17 +4650,17 @@ This usually causes the application icon in the task bar to animate in some fash Normalerweise animiert das den Taskbaricon oder färbt das Fenster orange ein.</translation> </message> <message> - <location line="-325"/> + <location line="-331"/> <source>Communities sidebar</source> <translation>Gruppenseitenleiste</translation> </message> <message> - <location line="+38"/> + <location line="+40"/> <source>Show message counts for communities and tags</source> <translation>Zeige Nachrichtenzahl für Gruppen und Tags</translation> </message> <message> - <location line="+229"/> + <location line="+231"/> <source>Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized</source> <translation>Setze eine maximale Breite für Nachrichten im Chat (in Pixeln). Das kann die Lesbarkeit auf breiten Bildschirmen erhöhen.</translation> </message> @@ -4660,7 +4670,7 @@ Normalerweise animiert das den Taskbaricon oder färbt das Fenster orange ein.</ <translation>Zeige eine Liste mit Gruppen und Tags neben der Raumliste.</translation> </message> <message> - <location line="+21"/> + <location line="+23"/> <source>Display rooms with new messages first. If this is off, the list of rooms will only be sorted by the timestamp of the last message in a room. If this is on, rooms which have active notifications (the small circle with a number in it) will be sorted on top. Rooms that you have muted will still be sorted by timestamp, since you don't seem to consider them as important as the other rooms.</source> @@ -4759,7 +4769,7 @@ This setting will take effect upon restart.</source> Diese Einstellung benötigt einen Neustart von Nheko.</translation> </message> <message> - <location line="+451"/> + <location line="+459"/> <source>Select a file</source> <translation>Datei auswählen</translation> </message> diff --git a/resources/langs/nheko_el.ts b/resources/langs/nheko_el.ts index 40f85724..07c89a3e 100644 --- a/resources/langs/nheko_el.ts +++ b/resources/langs/nheko_el.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock:</source> <context> <name>CommunitiesList</name> <message> - <location filename="../qml/CommunitiesList.qml" line="+60"/> + <location filename="../qml/CommunitiesList.qml" line="+65"/> <source>Do not show notification counts for this community or tag.</source> <translation type="unfinished"></translation> </message> @@ -2661,7 +2661,7 @@ Example: https://server.my:8787</source> <context> <name>RoomList</name> <message> - <location filename="../qml/RoomList.qml" line="+153"/> + <location filename="../qml/RoomList.qml" line="+158"/> <source>New tag</source> <translation type="unfinished"></translation> </message> @@ -4168,8 +4168,8 @@ Reason: %4</source> <context> <name>UserSettings</name> <message> - <location filename="../../src/UserSettingsPage.cpp" line="+551"/> - <location filename="../../src/UserSettingsPage.h" line="+248"/> + <location filename="../../src/UserSettingsPage.cpp" line="+564"/> + <location filename="../../src/UserSettingsPage.h" line="+252"/> <source>Default</source> <translation type="unfinished"></translation> </message> @@ -4177,7 +4177,7 @@ Reason: %4</source> <context> <name>UserSettingsModel</name> <message> - <location line="+408"/> + <location line="+409"/> <source>Theme</source> <translation type="unfinished">Φόντο</translation> </message> @@ -4208,6 +4208,11 @@ Reason: %4</source> </message> <message> <location line="+4"/> + <source>Scrollbars in room list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> <source>Send messages as Markdown</source> <translation type="unfinished"></translation> </message> @@ -4502,7 +4507,7 @@ Reason: %4</source> <translation type="unfinished"></translation> </message> <message> - <location line="+105"/> + <location line="+107"/> <source>Default</source> <translation type="unfinished"></translation> </message> @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds </message> <message> <location line="+4"/> + <source>Shows scrollbars in the room list and communities list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> <source>Allow using markdown in messages. When disabled, all messages are sent as a plain text.</source> <translation type="unfinished"></translation> @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash <translation type="unfinished"></translation> </message> <message> - <location line="-325"/> + <location line="-331"/> <source>Communities sidebar</source> <translation type="unfinished"></translation> </message> <message> - <location line="+38"/> + <location line="+40"/> <source>Show message counts for communities and tags</source> <translation type="unfinished"></translation> </message> <message> - <location line="+229"/> + <location line="+231"/> <source>Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized</source> <translation type="unfinished"></translation> </message> @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash <translation type="unfinished"></translation> </message> <message> - <location line="+21"/> + <location line="+23"/> <source>Display rooms with new messages first. If this is off, the list of rooms will only be sorted by the timestamp of the last message in a room. If this is on, rooms which have active notifications (the small circle with a number in it) will be sorted on top. Rooms that you have muted will still be sorted by timestamp, since you don't seem to consider them as important as the other rooms.</source> @@ -4733,7 +4743,7 @@ This setting will take effect upon restart.</source> <translation type="unfinished"></translation> </message> <message> - <location line="+451"/> + <location line="+459"/> <source>Select a file</source> <translation type="unfinished">Διάλεξε ένα αρχείο</translation> </message> diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts index 32a18c82..d0197fea 100644 --- a/resources/langs/nheko_en.ts +++ b/resources/langs/nheko_en.ts @@ -699,7 +699,7 @@ You may optionally provide a reason for others to accept your knock:</translatio <context> <name>CommunitiesList</name> <message> - <location filename="../qml/CommunitiesList.qml" line="+60"/> + <location filename="../qml/CommunitiesList.qml" line="+65"/> <source>Do not show notification counts for this community or tag.</source> <translation>Do not show notification counts for this community or tag.</translation> </message> @@ -2668,7 +2668,7 @@ Example: https://server.my:8787</translation> <context> <name>RoomList</name> <message> - <location filename="../qml/RoomList.qml" line="+153"/> + <location filename="../qml/RoomList.qml" line="+158"/> <source>New tag</source> <translation>New tag</translation> </message> @@ -4179,8 +4179,8 @@ Reason: %4</translation> <context> <name>UserSettings</name> <message> - <location filename="../../src/UserSettingsPage.cpp" line="+551"/> - <location filename="../../src/UserSettingsPage.h" line="+248"/> + <location filename="../../src/UserSettingsPage.cpp" line="+564"/> + <location filename="../../src/UserSettingsPage.h" line="+252"/> <source>Default</source> <translation>Default</translation> </message> @@ -4188,7 +4188,7 @@ Reason: %4</translation> <context> <name>UserSettingsModel</name> <message> - <location line="+408"/> + <location line="+409"/> <source>Theme</source> <translation>Theme</translation> </message> @@ -4219,6 +4219,11 @@ Reason: %4</translation> </message> <message> <location line="+4"/> + <source>Scrollbars in room list</source> + <translation>Scrollbars in room list</translation> + </message> + <message> + <location line="+2"/> <source>Send messages as Markdown</source> <translation>Send messages as Markdown</translation> </message> @@ -4513,7 +4518,7 @@ Reason: %4</translation> <translation>Expose room information via D-Bus</translation> </message> <message> - <location line="+105"/> + <location line="+107"/> <source>Default</source> <translation>Default</translation> </message> @@ -4553,6 +4558,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds </message> <message> <location line="+4"/> + <source>Shows scrollbars in the room list and communities list.</source> + <translation>Shows scrollbars in the room list and communities list.</translation> + </message> + <message> + <location line="+2"/> <source>Allow using markdown in messages. When disabled, all messages are sent as a plain text.</source> <translation>Allow using markdown in messages. @@ -4640,17 +4650,17 @@ This usually causes the application icon in the task bar to animate in some fash This usually causes the application icon in the task bar to animate in some fashion.</translation> </message> <message> - <location line="-325"/> + <location line="-331"/> <source>Communities sidebar</source> <translation>Communities sidebar</translation> </message> <message> - <location line="+38"/> + <location line="+40"/> <source>Show message counts for communities and tags</source> <translation>Show message counts for communities and tags</translation> </message> <message> - <location line="+229"/> + <location line="+231"/> <source>Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized</source> <translation>Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized</translation> </message> @@ -4660,7 +4670,7 @@ This usually causes the application icon in the task bar to animate in some fash <translation>Show a column containing communities and tags next to the room list.</translation> </message> <message> - <location line="+21"/> + <location line="+23"/> <source>Display rooms with new messages first. If this is off, the list of rooms will only be sorted by the timestamp of the last message in a room. If this is on, rooms which have active notifications (the small circle with a number in it) will be sorted on top. Rooms that you have muted will still be sorted by timestamp, since you don't seem to consider them as important as the other rooms.</source> @@ -4760,7 +4770,7 @@ This setting will take effect upon restart.</source> This setting will take effect upon restart.</translation> </message> <message> - <location line="+451"/> + <location line="+459"/> <source>Select a file</source> |