From 58f5ba502364014bc7a1d7736b69e73cb5660308 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 14 Feb 2023 22:00:05 +0100 Subject: [PATCH] Make scrollbars optional and disabled by default Also add them to the communities sidebar --- resources/langs/nheko_ca.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_cs.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_de.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_el.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_en.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_eo.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_es.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_et.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_fi.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_fr.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_hu.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_id.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_ie.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_it.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_ja.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_ml.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_nl.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_pl.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_pt_BR.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_pt_PT.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_ro.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_ru.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_si.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_sr_Latn.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_sv.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_uk.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_vi.ts | 32 ++++++++++++++++++++----------- resources/langs/nheko_zh_CN.ts | 32 ++++++++++++++++++++----------- resources/qml/CommunitiesList.qml | 7 ++++++- resources/qml/RoomList.qml | 11 +++++------ src/UserSettingsPage.cpp | 31 ++++++++++++++++++++++++++++++ src/UserSettingsPage.h | 7 +++++++ 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: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file 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: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2663,7 +2663,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4179,8 +4179,8 @@ Reason: %4 UserSettings - - + + Default @@ -4188,7 +4188,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4219,6 +4219,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4513,7 +4518,7 @@ Reason: %4 - + Default @@ -4551,6 +4556,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4634,17 +4644,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4654,7 +4664,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4744,7 +4754,7 @@ This setting will take effect upon restart. - + Select a file 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 CommunitiesList - + Do not show notification counts for this community or tag. Zeige keine Benachrichtigungen für diese Gruppe oder Tag an. @@ -2668,7 +2668,7 @@ Beispiel: https://mein.server:8787 RoomList - + New tag Neuer Tag @@ -4179,8 +4179,8 @@ Grund: %4 UserSettings - - + + Default Standard @@ -4188,7 +4188,7 @@ Grund: %4 UserSettingsModel - + Theme Erscheinungsbild @@ -4219,6 +4219,11 @@ Grund: %4 + Scrollbars in room list + Srollleisten in der Raumliste + + + Send messages as Markdown Sende Nachrichten als Markdown formatiert @@ -4513,7 +4518,7 @@ Grund: %4 Mache Rauminformationen über D-Bus verfügbar - + Default Standard @@ -4553,6 +4558,11 @@ Maximaler Wert ist eine Stunde (3600 Sekunden). + Shows scrollbars in the room list and communities list. + Zeigt Scrollleisten in der Raumliste und in der Gruppenliste an. + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. 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. - + Communities sidebar Gruppenseitenleiste - + Show message counts for communities and tags Zeige Nachrichtenzahl für Gruppen und Tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Setze eine maximale Breite für Nachrichten im Chat (in Pixeln). Das kann die Lesbarkeit auf breiten Bildschirmen erhöhen. @@ -4660,7 +4670,7 @@ Normalerweise animiert das den Taskbaricon oder färbt das Fenster orange ein.Zeige eine Liste mit Gruppen und Tags neben der Raumliste. - + 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. @@ -4759,7 +4769,7 @@ This setting will take effect upon restart. Diese Einstellung benötigt einen Neustart von Nheko. - + Select a file Datei auswählen 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: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme Φόντο @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file Διάλεξε ένα αρχείο 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: CommunitiesList - + Do not show notification counts for this community or tag. Do not show notification counts for this community or tag. @@ -2668,7 +2668,7 @@ Example: https://server.my:8787 RoomList - + New tag New tag @@ -4179,8 +4179,8 @@ Reason: %4 UserSettings - - + + Default Default @@ -4188,7 +4188,7 @@ Reason: %4 UserSettingsModel - + Theme Theme @@ -4219,6 +4219,11 @@ Reason: %4 + Scrollbars in room list + Scrollbars in room list + + + Send messages as Markdown Send messages as Markdown @@ -4513,7 +4518,7 @@ Reason: %4 Expose room information via D-Bus - + Default Default @@ -4553,6 +4558,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + Shows scrollbars in the room list and communities list. + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. 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. - + Communities sidebar Communities sidebar - + Show message counts for communities and tags Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4660,7 +4670,7 @@ This usually causes the application icon in the task bar to animate in some fash Show a column containing communities and tags next to the room list. - + 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. @@ -4760,7 +4770,7 @@ This setting will take effect upon restart. This setting will take effect upon restart. - + Select a file Select a file diff --git a/resources/langs/nheko_eo.ts b/resources/langs/nheko_eo.ts index 8a292f0a..360ccf4b 100644 --- a/resources/langs/nheko_eo.ts +++ b/resources/langs/nheko_eo.ts @@ -700,7 +700,7 @@ Vi povas aldoni noton, pri kial oni akceptu vian frapadon: CommunitiesList - + Do not show notification counts for this community or tag. Ne montri nombron de sciigoj por ĉi tiu komunumo aŭ etikedo. @@ -2670,7 +2670,7 @@ Ekzemplo: https://servilo.mia:8787 RoomList - + New tag Nova etikedo @@ -4183,8 +4183,8 @@ Kialo: %4 UserSettings - - + + Default Implicita @@ -4192,7 +4192,7 @@ Kialo: %4 UserSettingsModel - + Theme Haŭto @@ -4223,6 +4223,11 @@ Kialo: %4 + Scrollbars in room list + + + + Send messages as Markdown Sendi mesaĝojn Markdaŭne @@ -4517,7 +4522,7 @@ Kialo: %4 Malkaŝi informojn pri ĉambro per D-Bus - + Default Implicita @@ -4558,6 +4563,11 @@ Maksimuma valoro estas 1 horo (3600 sekundoj) + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Permesas uzon de Markdaŭno en mesaĝoj. @@ -4646,17 +4656,17 @@ This usually causes the application icon in the task bar to animate in some fash Ĉi tio kutime movbildigas la simbolbildon sur la pleto iumaniere. - + Communities sidebar Komunuma breto - + Show message counts for communities and tags Montri nombron de mesaĝoj por komunumoj kaj etikedoj - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Agordi la maksimuman larĝecon de mesaĝoj en la historio (en bilderoj). Tio povas plibonigi legeblecon sur larĝa ekrano, kiam la fenestro de Nheko grandas. @@ -4666,7 +4676,7 @@ This usually causes the application icon in the task bar to animate in some fash Montri kolonon kun komunumoj kaj etikedoj, flanke de la listo de ĉambroj. - + 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. @@ -4766,7 +4776,7 @@ This setting will take effect upon restart. Ĉi tiu agordo efektiviĝos post restarto. - + Select a file Elektu dosieron diff --git a/resources/langs/nheko_es.ts b/resources/langs/nheko_es.ts index c0b6ace6..1f88c958 100644 --- a/resources/langs/nheko_es.ts +++ b/resources/langs/nheko_es.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2663,7 +2663,7 @@ Example: https://server.my:8787 RoomList - + New tag Nueva etiqueta @@ -4174,8 +4174,8 @@ Razón: %4 UserSettings - - + + Default Por defecto @@ -4183,7 +4183,7 @@ Razón: %4 UserSettingsModel - + Theme Tema @@ -4214,6 +4214,11 @@ Razón: %4 + Scrollbars in room list + + + + Send messages as Markdown Enviar mensajes en Markdown @@ -4508,7 +4513,7 @@ Razón: %4 - + Default Por defecto @@ -4548,6 +4553,11 @@ Si se ajusta a 0, la pantalla se desenfoca inmediatamente después de la pérdid + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Permitir usar markdown en los mensajes. @@ -4634,17 +4644,17 @@ This usually causes the application icon in the task bar to animate in some fash Esto usualmente causa que el icono de la aplicación en la barra de tareas sea animado de alguna forma. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4654,7 +4664,7 @@ Esto usualmente causa que el icono de la aplicación en la barra de tareas sea a - + 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. @@ -4745,7 +4755,7 @@ This setting will take effect upon restart. - + Select a file Seleccionar un archivo diff --git a/resources/langs/nheko_et.ts b/resources/langs/nheko_et.ts index 909d52e6..7452b88c 100644 --- a/resources/langs/nheko_et.ts +++ b/resources/langs/nheko_et.ts @@ -699,7 +699,7 @@ Kui soovid, siis võid lisada ka selgituse, miks peaks sinu koputusele reageerim CommunitiesList - + Do not show notification counts for this community or tag. Ära näita teavituste loendit selle kogukonna või sildi kohta. @@ -2668,7 +2668,7 @@ Näiteks: https://minuserver.ee:8787 RoomList - + New tag Uus silt @@ -4179,8 +4179,8 @@ Põhjus: %4 UserSettings - - + + Default Vaikimisi @@ -4188,7 +4188,7 @@ Põhjus: %4 UserSettingsModel - + Theme Teema @@ -4219,6 +4219,11 @@ Põhjus: %4 + Scrollbars in room list + + + + Send messages as Markdown Saada sõnumid kasutades Markdown vormindust @@ -4513,7 +4518,7 @@ Põhjus: %4 Jaga jututoa teavet D-Bus'i vahendusel - + Default Vaikimisi @@ -4553,6 +4558,11 @@ peale akna fookuse kadumist ajajoone vaade hägustub. + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Luba Markdown-vormingu kasutamine sõnumite koostamisel. @@ -4640,17 +4650,17 @@ This usually causes the application icon in the task bar to animate in some fash See tavaliselt tähendab, et rakenduse ikoon tegumiribal annab mingit sorti animatsiooniga sulle märku. - + Communities sidebar Kogukondade külgpaan - + Show message counts for communities and tags Näita kogukonna või sildi sõnumite arvu - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Seadista sõnumite suurim laius pikslites ajajoonel. See parandab loetavust suurel ekraanil, kui Nheko on avatud täisvaates @@ -4660,7 +4670,7 @@ See tavaliselt tähendab, et rakenduse ikoon tegumiribal annab mingit sorti anim Näita jututubade loendi kõrval veergu kogukondade ja siltidega. - + 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. @@ -4760,7 +4770,7 @@ This setting will take effect upon restart. Selle funktsionaalsuse jõustumine eeldab rakenduse uuesti käivitamist. - + Select a file Vali fail diff --git a/resources/langs/nheko_fi.ts b/resources/langs/nheko_fi.ts index 94a7ea20..1213d13c 100644 --- a/resources/langs/nheko_fi.ts +++ b/resources/langs/nheko_fi.ts @@ -699,7 +699,7 @@ Voit antaa valinnaisen syyn muiden hyväksyäkseen koputuksesi: CommunitiesList - + Do not show notification counts for this community or tag. Älä näytä ilmoitusmääriä tästä yhteisöstä tai tagista. @@ -2667,7 +2667,7 @@ Esimerkki: https://palvelime.ni:8787 RoomList - + New tag Uusi tagi @@ -4178,8 +4178,8 @@ Syy: %4 UserSettings - - + + Default Oletus @@ -4187,7 +4187,7 @@ Syy: %4 UserSettingsModel - + Theme Teema @@ -4218,6 +4218,11 @@ Syy: %4 + Scrollbars in room list + + + + Send messages as Markdown Lähetä viestit Markdownina @@ -4512,7 +4517,7 @@ Syy: %4 Paljasta huonetiedot D-Bus:in kautta - + Default Oletus @@ -4552,6 +4557,11 @@ Aseta nollaan, jotta sumennetaan heti kohdistus kadotetaan. Suurin arvo 1 tunti + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Salli Markdownin käyttö viesteissä. @@ -4639,17 +4649,17 @@ This usually causes the application icon in the task bar to animate in some fash Tämä yleensä saa sovelluksen kuvakkeen liikkumaan jollain tapaa tehtäväpalkissa. - + Communities sidebar Yhteisösivupalkki - + Show message counts for communities and tags Näytä yhteisöjen ja tagien viestimäärät - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Aseta viestien maksimileveys aikajanalla (pikseleinä). Voi auttaa luettavuudessa, kun Nheko on suurennettuna @@ -4659,7 +4669,7 @@ Tämä yleensä saa sovelluksen kuvakkeen liikkumaan jollain tapaa tehtäväpalk Näytä yhteisöt ja tagit sisältävä sarake huonelistan vieressä. - + 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. @@ -4759,7 +4769,7 @@ This setting will take effect upon restart. Tämä asetus tulee voimaan uudelleenkäynnistyksen jälkeen. - + Select a file Valitse tiedosto diff --git a/resources/langs/nheko_fr.ts b/resources/langs/nheko_fr.ts index b70d6b7f..2d71d13b 100644 --- a/resources/langs/nheko_fr.ts +++ b/resources/langs/nheko_fr.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag Nouvelle étiquette @@ -4172,8 +4172,8 @@ Raison : %4 UserSettings - - + + Default Défaut @@ -4181,7 +4181,7 @@ Raison : %4 UserSettingsModel - + Theme Thème @@ -4212,6 +4212,11 @@ Raison : %4 + Scrollbars in room list + + + + Send messages as Markdown Composer les messages au format Markdown @@ -4506,7 +4511,7 @@ Raison : %4 - + Default Défaut @@ -4545,6 +4550,11 @@ Régler à 0 pour flouter immédiatement lorsque la fenêtre devient inactive. V + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Permet l'utilisation de Markdown dans les messages. @@ -4632,17 +4642,17 @@ This usually causes the application icon in the task bar to animate in some fash Typiquement, l'icône de l'application est mise en évidence dans la barre des tâches. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4652,7 +4662,7 @@ Typiquement, l'icône de l'application est mise en évidence dans la b - + 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. @@ -4745,7 +4755,7 @@ This setting will take effect upon restart. - + Select a file Sélectionnez un fichier diff --git a/resources/langs/nheko_hu.ts b/resources/langs/nheko_hu.ts index 4bfa3446..d1a3f5e7 100644 --- a/resources/langs/nheko_hu.ts +++ b/resources/langs/nheko_hu.ts @@ -695,7 +695,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2659,7 +2659,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4157,8 +4157,8 @@ Reason: %4 UserSettings - - + + Default Alapértelmezett @@ -4166,7 +4166,7 @@ Reason: %4 UserSettingsModel - + Theme Téma @@ -4197,6 +4197,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown Üzenetek küldése Markdownként @@ -4491,7 +4496,7 @@ Reason: %4 - + Default Alapértelmezett @@ -4532,6 +4537,11 @@ Ha azonnal el legyen homályosítva fókuszvesztéskor, állítsd + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. A Markdown használatának engedélyezése az üzenetekben. @@ -4618,17 +4628,17 @@ This usually causes the application icon in the task bar to animate in some fash Ettől általában animálttá válik az alkalmazásablakok listáján szereplő ikon. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4638,7 +4648,7 @@ Ettől általában animálttá válik az alkalmazásablakok listáján szereplő - + 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. @@ -4730,7 +4740,7 @@ This setting will take effect upon restart. - + Select a file Fájl kiválasztása diff --git a/resources/langs/nheko_id.ts b/resources/langs/nheko_id.ts index cb4c862f..301d2902 100644 --- a/resources/langs/nheko_id.ts +++ b/resources/langs/nheko_id.ts @@ -698,7 +698,7 @@ Kamu dapat memberikan alasan untuk orang lain untuk menerima ketukanmu: CommunitiesList - + Do not show notification counts for this community or tag. Jangan tampilkan jumlah notifikasi untuk komunitas atau tag ini. @@ -2666,7 +2666,7 @@ Contoh: https://server.saya:8787 RoomList - + New tag Tag baru @@ -4168,8 +4168,8 @@ Alasan: %4 UserSettings - - + + Default Default @@ -4177,7 +4177,7 @@ Alasan: %4 UserSettingsModel - + Theme Tema @@ -4208,6 +4208,11 @@ Alasan: %4 + Scrollbars in room list + + + + Send messages as Markdown Kirim pesan sebagai Markdown @@ -4502,7 +4507,7 @@ Alasan: %4 Ekspos informasi ruangan via D-Bus - + Default Default @@ -4542,6 +4547,11 @@ Tetapkan ke 0 untuk memburamkan secara langsung setelah kehilangan fokus. Nilai + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Memperbolehkan menggunakan Markdown di pesan. @@ -4629,17 +4639,17 @@ This usually causes the application icon in the task bar to animate in some fash Ini biasanya menyebabkan ikon aplikasi di bilah tugas untuk beranimasi. - + Communities sidebar Bilah samping komunitas - + Show message counts for communities and tags Tampilkan hitungan pesan untuk komunitas dan tag - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Tetapkan lebar pesan di lini masa (dalam pixel). Ini dapat membantu keterbacaan di layar lebar ketika Nheko dimaksimalkan @@ -4649,7 +4659,7 @@ Ini biasanya menyebabkan ikon aplikasi di bilah tugas untuk beranimasi.Tampilkan sebuah kolom berisi komunitas dan tag di samping daftar ruangan. - + 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. @@ -4749,7 +4759,7 @@ This setting will take effect upon restart. Pengaturan ini akan ditetapkan saat dimulai ulang. - + Select a file Pilih sebuah file diff --git a/resources/langs/nheko_ie.ts b/resources/langs/nheko_ie.ts index 589a70d8..c22fbb0e 100644 --- a/resources/langs/nheko_ie.ts +++ b/resources/langs/nheko_ie.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file diff --git a/resources/langs/nheko_it.ts b/resources/langs/nheko_it.ts index ca512558..d2144e3b 100644 --- a/resources/langs/nheko_it.ts +++ b/resources/langs/nheko_it.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme Tema @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown Invia messaggi come Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file Seleziona un file diff --git a/resources/langs/nheko_ja.ts b/resources/langs/nheko_ja.ts index 50960dad..60f80848 100644 --- a/resources/langs/nheko_ja.ts +++ b/resources/langs/nheko_ja.ts @@ -695,7 +695,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2659,7 +2659,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4157,8 +4157,8 @@ Reason: %4 UserSettings - - + + Default @@ -4166,7 +4166,7 @@ Reason: %4 UserSettingsModel - + Theme テーマ @@ -4197,6 +4197,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown メッセージをMarkdownとして送信 @@ -4491,7 +4496,7 @@ Reason: %4 - + Default @@ -4529,6 +4534,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4612,17 +4622,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4632,7 +4642,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4722,7 +4732,7 @@ This setting will take effect upon restart. - + Select a file ファイルを選択 diff --git a/resources/langs/nheko_ml.ts b/resources/langs/nheko_ml.ts index 2d293794..ece960ad 100644 --- a/resources/langs/nheko_ml.ts +++ b/resources/langs/nheko_ml.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file ഒരു ഫയൽ തിരഞ്ഞെടുക്കുക diff --git a/resources/langs/nheko_nl.ts b/resources/langs/nheko_nl.ts index 6f98827d..8b78215a 100644 --- a/resources/langs/nheko_nl.ts +++ b/resources/langs/nheko_nl.ts @@ -699,7 +699,7 @@ Je kan optioneel hier een reden invoeren dat je aanklopt: CommunitiesList - + Do not show notification counts for this community or tag. Laat geen meldingteller zien voor deze groep of markering. @@ -2668,7 +2668,7 @@ Voorbeeld: https://mijn.server:8787 RoomList - + New tag Nieuwe markering @@ -4179,8 +4179,8 @@ Reden: %4 UserSettings - - + + Default Standaard @@ -4188,7 +4188,7 @@ Reden: %4 UserSettingsModel - + Theme Thema @@ -4219,6 +4219,11 @@ Reden: %4 + Scrollbars in room list + + + + Send messages as Markdown Verstuur berichten in Markdown @@ -4513,7 +4518,7 @@ Reden: %4 Maak kamerinformatie beschikbaar over D-Bus - + Default Standaard @@ -4553,6 +4558,11 @@ Kies 0 om direct te blurren. Maximale waarde is 1 uur (3600 seconden) + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Sta het gebruik van Markdown in berichten toe. @@ -4640,17 +4650,17 @@ This usually causes the application icon in the task bar to animate in some fash Meestal zorgt dit dat het icoon in de taakbalk op een manier animeert of iets dergelijks. - + Communities sidebar Zijbalk voor groepen - + Show message counts for communities and tags Laat totaalaantal berichten zien voor groepen en markeringen - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Stel de maximale breedte in van berichten in de tijdlijn (in pixels). Dit kan helpen met leesbaarheid op een breed scherm als Nheko op volledig scherm staat ingesteld @@ -4660,7 +4670,7 @@ Meestal zorgt dit dat het icoon in de taakbalk op een manier animeert of iets de Laat een zijbalk zien met groepen en markeringen naast de kamerlijst. - + 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. @@ -4760,7 +4770,7 @@ This setting will take effect upon restart. Deze instelling wordt toegepast na opnieuw starten van de applicatie. - + Select a file Selecteer een bestand diff --git a/resources/langs/nheko_pl.ts b/resources/langs/nheko_pl.ts index 97a4f9ca..cfd22a8f 100644 --- a/resources/langs/nheko_pl.ts +++ b/resources/langs/nheko_pl.ts @@ -697,7 +697,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. Nie pokazuj liczników powiadomień dla tej społeczności lub tagu. @@ -2664,7 +2664,7 @@ Example: https://server.my:8787 RoomList - + New tag Nowy tag @@ -4184,8 +4184,8 @@ Powód: %4 UserSettings - - + + Default Domyślne @@ -4193,7 +4193,7 @@ Powód: %4 UserSettingsModel - + Theme Motyw @@ -4224,6 +4224,11 @@ Powód: %4 + Scrollbars in room list + + + + Send messages as Markdown Wysyłaj wiadomości używając Markdown @@ -4518,7 +4523,7 @@ Powód: %4 Udostępnij informacje o pokojach poprzez D-Bus - + Default Domyślne @@ -4557,6 +4562,11 @@ Ustaw na 0 aby rozmywać natychmiast po przejściu okna na drugi plan. Maksymaln + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Pozwól na używanie Markdown w wiadomościach. @@ -4644,17 +4654,17 @@ This usually causes the application icon in the task bar to animate in some fash To zwykle sprawia, że ikona aplikacji na pasku zadań jest animowana. - + Communities sidebar Pasek społeczności - + Show message counts for communities and tags Pokaż liczniki wiadomości dla społeczności i tagów - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized Ustaw maksymalną szerokość wiadomości na osi czasu (w pikselach). Może to poprawić czytelność Nheko zmaksymalizowanego na szerokim ekranie @@ -4664,7 +4674,7 @@ To zwykle sprawia, że ikona aplikacji na pasku zadań jest animowana.Pokaż kolumnę zawierającą społeczności i tagi obok listy pokojów. - + 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. @@ -4761,7 +4771,7 @@ This setting will take effect upon restart. To ustawienie wejdzie w życie po restarcie aplikacji. - + Select a file Wybierz plik diff --git a/resources/langs/nheko_pt_BR.ts b/resources/langs/nheko_pt_BR.ts index 200ebed8..53a9b9f1 100644 --- a/resources/langs/nheko_pt_BR.ts +++ b/resources/langs/nheko_pt_BR.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file diff --git a/resources/langs/nheko_pt_PT.ts b/resources/langs/nheko_pt_PT.ts index 9cb73dff..59221684 100644 --- a/resources/langs/nheko_pt_PT.ts +++ b/resources/langs/nheko_pt_PT.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag Nova etiqueta @@ -4170,8 +4170,8 @@ Reason: %4 UserSettings - - + + Default Predefinido @@ -4179,7 +4179,7 @@ Reason: %4 UserSettingsModel - + Theme Tema @@ -4210,6 +4210,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown Enviar mensagens como Markdown @@ -4504,7 +4509,7 @@ Reason: %4 - + Default Predefinido @@ -4544,6 +4549,11 @@ Defina como 0 para desfocar imediatamente após perder a atenção. Valor máxim + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Permitir Markdown em mensagens. @@ -4629,17 +4639,17 @@ This usually causes the application icon in the task bar to animate in some fash Mostrar alerta quando é recebida uma mensagem. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4649,7 +4659,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4741,7 +4751,7 @@ This setting will take effect upon restart. - + Select a file Selecionar um ficheiro diff --git a/resources/langs/nheko_ro.ts b/resources/langs/nheko_ro.ts index 57255744..a90dfda7 100644 --- a/resources/langs/nheko_ro.ts +++ b/resources/langs/nheko_ro.ts @@ -697,7 +697,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2663,7 +2663,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4179,8 +4179,8 @@ Reason: %4 UserSettings - - + + Default @@ -4188,7 +4188,7 @@ Reason: %4 UserSettingsModel - + Theme Temă @@ -4219,6 +4219,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown Trimite mesaje ca Markdown @@ -4513,7 +4518,7 @@ Reason: %4 - + Default @@ -4551,6 +4556,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Permite folosirea markdown în mesaje. Când este dezactivată, mesajele sunt trimise ca text simplu. @@ -4634,17 +4644,17 @@ This usually causes the application icon in the task bar to animate in some fash Arată o alertă când primiți un mesaj. Deobicei pictograma aplicației se animează în taskbar. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4654,7 +4664,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4744,7 +4754,7 @@ This setting will take effect upon restart. - + Select a file diff --git a/resources/langs/nheko_ru.ts b/resources/langs/nheko_ru.ts index ee7123e9..27192dd3 100644 --- a/resources/langs/nheko_ru.ts +++ b/resources/langs/nheko_ru.ts @@ -697,7 +697,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2663,7 +2663,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4179,8 +4179,8 @@ Reason: %4 UserSettings - - + + Default По умолчанию @@ -4188,7 +4188,7 @@ Reason: %4 UserSettingsModel - + Theme Тема @@ -4219,6 +4219,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown Посылать сообщение в формате Markdown @@ -4513,7 +4518,7 @@ Reason: %4 - + Default По умолчанию @@ -4551,6 +4556,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Разрешить использовать markdown в сообщениях. @@ -4637,17 +4647,17 @@ This usually causes the application icon in the task bar to animate in some fash На это обычно реагирует иконка приложения в таскбаре. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4657,7 +4667,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4748,7 +4758,7 @@ This setting will take effect upon restart. - + Select a file Выберите файл diff --git a/resources/langs/nheko_si.ts b/resources/langs/nheko_si.ts index 2f765beb..e4ba7628 100644 --- a/resources/langs/nheko_si.ts +++ b/resources/langs/nheko_si.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4623,17 +4633,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4643,7 +4653,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4733,7 +4743,7 @@ This setting will take effect upon restart. - + Select a file diff --git a/resources/langs/nheko_sr_Latn.ts b/resources/langs/nheko_sr_Latn.ts index 22f82923..c8b54d06 100644 --- a/resources/langs/nheko_sr_Latn.ts +++ b/resources/langs/nheko_sr_Latn.ts @@ -697,7 +697,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2663,7 +2663,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4179,8 +4179,8 @@ Reason: %4 UserSettings - - + + Default @@ -4188,7 +4188,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4219,6 +4219,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4513,7 +4518,7 @@ Reason: %4 - + Default @@ -4551,6 +4556,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4634,17 +4644,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4654,7 +4664,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4744,7 +4754,7 @@ This setting will take effect upon restart. - + Select a file diff --git a/resources/langs/nheko_sv.ts b/resources/langs/nheko_sv.ts index 8b35256c..9319efa4 100644 --- a/resources/langs/nheko_sv.ts +++ b/resources/langs/nheko_sv.ts @@ -696,7 +696,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2661,7 +2661,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme Tema @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown Skicka meddelanden som Markdown @@ -4502,7 +4507,7 @@ Reason: %4 - + Default @@ -4540,6 +4545,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. Tillåt användning av Markdown i meddelanden. @@ -4626,17 +4636,17 @@ This usually causes the application icon in the task bar to animate in some fash Detta gör vanligtvis att ikonen i aktivitetsfältet animeras på något sätt. - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4646,7 +4656,7 @@ Detta gör vanligtvis att ikonen i aktivitetsfältet animeras på något sätt.< - + 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. @@ -4737,7 +4747,7 @@ This setting will take effect upon restart. - + Select a file Välj en fil diff --git a/resources/langs/nheko_uk.ts b/resources/langs/nheko_uk.ts index 692c4598..8a961433 100644 --- a/resources/langs/nheko_uk.ts +++ b/resources/langs/nheko_uk.ts @@ -700,7 +700,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. Не показувати кількість сповіщень для цієї спільноти чи тегу. @@ -2670,7 +2670,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4186,8 +4186,8 @@ Reason: %4 UserSettings - - + + Default @@ -4195,7 +4195,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4226,6 +4226,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4520,7 +4525,7 @@ Reason: %4 - + Default @@ -4558,6 +4563,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4641,17 +4651,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4661,7 +4671,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4751,7 +4761,7 @@ This setting will take effect upon restart. - + Select a file Вибрати файл diff --git a/resources/langs/nheko_vi.ts b/resources/langs/nheko_vi.ts index 990d0c64..6d419b3b 100644 --- a/resources/langs/nheko_vi.ts +++ b/resources/langs/nheko_vi.ts @@ -695,7 +695,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. @@ -2659,7 +2659,7 @@ Example: https://server.my:8787 RoomList - + New tag @@ -4157,8 +4157,8 @@ Reason: %4 UserSettings - - + + Default @@ -4166,7 +4166,7 @@ Reason: %4 UserSettingsModel - + Theme @@ -4197,6 +4197,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown @@ -4491,7 +4496,7 @@ Reason: %4 - + Default @@ -4529,6 +4534,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. @@ -4612,17 +4622,17 @@ This usually causes the application icon in the task bar to animate in some fash - + Communities sidebar - + Show message counts for communities and tags - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized @@ -4632,7 +4642,7 @@ This usually causes the application icon in the task bar to animate in some fash - + 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. @@ -4722,7 +4732,7 @@ This setting will take effect upon restart. - + Select a file diff --git a/resources/langs/nheko_zh_CN.ts b/resources/langs/nheko_zh_CN.ts index fc9560cd..fb974acf 100644 --- a/resources/langs/nheko_zh_CN.ts +++ b/resources/langs/nheko_zh_CN.ts @@ -698,7 +698,7 @@ You may optionally provide a reason for others to accept your knock: CommunitiesList - + Do not show notification counts for this community or tag. 不显示此社区或标签的通知计数。 @@ -2666,7 +2666,7 @@ Example: https://server.my:8787 RoomList - + New tag 新标签 @@ -4168,8 +4168,8 @@ Reason: %4 UserSettings - - + + Default 默认 @@ -4177,7 +4177,7 @@ Reason: %4 UserSettingsModel - + Theme 主题 @@ -4208,6 +4208,11 @@ Reason: %4 + Scrollbars in room list + + + + Send messages as Markdown 以 Markdown 格式发送消息 @@ -4502,7 +4507,7 @@ Reason: %4 通过 D-Bus 公开聊天室信息 - + Default 默认 @@ -4542,6 +4547,11 @@ Set to 0 to blur immediately after focus loss. Max value of 1 hour (3600 seconds + Shows scrollbars in the room list and communities list. + + + + Allow using markdown in messages. When disabled, all messages are sent as a plain text. 允许在消息中使用 Markdown。 @@ -4629,17 +4639,17 @@ This usually causes the application icon in the task bar to animate in some fash 这通常会导致任务栏中的应用程序图标以某种方式呈现动画效果。 - + Communities sidebar 社区侧边栏 - + Show message counts for communities and tags 显示社区和标签的消息计数 - + Set the max width of messages in the timeline (in pixels). This can help readability on wide screen when Nheko is maximized 设置时间线中消息的最大宽度(以像素为单位)。 当 Nheko 最大化时,这有助于提高宽屏上的可读性 @@ -4649,7 +4659,7 @@ This usually causes the application icon in the task bar to animate in some fash 在聊天室列表旁边显示包含社区和标签的列。 - + 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. @@ -4749,7 +4759,7 @@ This setting will take effect upon restart. 这个设置将在重新启动时生效。 - + Select a file 选择一个文件 diff --git a/resources/qml/CommunitiesList.qml b/resources/qml/CommunitiesList.qml index f9cea1ef..7a2e6ab7 100644 --- a/resources/qml/CommunitiesList.qml +++ b/resources/qml/CommunitiesList.qml @@ -36,6 +36,11 @@ Page { height: parent.height model: Communities.filtered() + ScrollBar { + id: scrollbar + } + ScrollBar.vertical: (!collapsed && Settings.scrollbarsInRoomlist) ? scrollbar : null + ScrollHelper { flickable: parent anchors.fill: parent @@ -83,7 +88,7 @@ Page { required property var model height: avatarSize + 2 * Nheko.paddingMedium - width: ListView.view.width + width: ListView.view.width - (scrollbar.interactive && scrollbar.visible ? scrollbar.width : 0) state: "normal" ToolTip.visible: hovered && collapsed ToolTip.text: model.tooltip diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index d51933f9..18afba8b 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -58,13 +58,12 @@ Page { anchors.right: parent.right height: parent.height model: Rooms - reuseItems: true + //reuseItems: true - ScrollBar.vertical: ScrollBar { - id: roomlistscrollbar - active: true - visible: (! collapsed) && (parent.contentHeight > parent.height) + ScrollBar { + id: scrollbar } + ScrollBar.vertical: (!collapsed && Settings.scrollbarsInRoomlist) ? scrollbar : null ScrollHelper { flickable: parent @@ -264,7 +263,7 @@ Page { } height: avatarSize + 2 * Nheko.paddingMedium - width: ListView.view.width - roomlistscrollbar.width + width: ListView.view.width - (scrollbar.interactive && scrollbar.visible ? scrollbar.width : 0) state: "normal" ToolTip.visible: hovered && collapsed ToolTip.delay: Nheko.tooltipDelay diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp index ec873e92..09e3282e 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp @@ -65,6 +65,8 @@ UserSettings::load(std::optional profile) hasAlertOnNotification_ = settings.value(QStringLiteral("user/alert_on_notification"), false).toBool(); groupView_ = settings.value(QStringLiteral("user/group_view"), true).toBool(); + scrollbarsInRoomlist_ = + settings.value(QStringLiteral("user/scrollbars_in_roomlist"), false).toBool(); buttonsInTimeline_ = settings.value(QStringLiteral("user/timeline/buttons"), true).toBool(); timelineMaxWidth_ = settings.value(QStringLiteral("user/timeline/max_width"), 0).toInt(); messageHoverHighlight_ = @@ -227,6 +229,17 @@ UserSettings::setGroupView(bool state) save(); } +void +UserSettings::setScrollbarsInRoomlist(bool state) +{ + if (scrollbarsInRoomlist_ == state) + return; + + scrollbarsInRoomlist_ = state; + emit scrollbarsInRoomlistChanged(state); + save(); +} + void UserSettings::setHiddenTags(const QStringList &hiddenTags) { @@ -862,6 +875,7 @@ UserSettings::save() settings.setValue(QStringLiteral("minor_events"), sortByImportance_); settings.setValue(QStringLiteral("read_receipts"), readReceipts_); settings.setValue(QStringLiteral("group_view"), groupView_); + settings.setValue(QStringLiteral("scrollbars_in_roomlist"), scrollbarsInRoomlist_); settings.setValue(QStringLiteral("markdown_enabled"), markdown_); settings.setValue(QStringLiteral("invert_enter_key"), invertEnterKey_); settings.setValue(QStringLiteral("bubbles_enabled"), bubbles_); @@ -969,6 +983,8 @@ UserSettingsModel::data(const QModelIndex &index, int role) const return tr("Start in tray"); case GroupView: return tr("Communities sidebar"); + case ScrollbarsInRoomlist: + return tr("Scrollbars in room list"); case Markdown: return tr("Send messages as Markdown"); case InvertEnterKey: @@ -1111,6 +1127,8 @@ UserSettingsModel::data(const QModelIndex &index, int role) const return i->startInTray(); case GroupView: return i->groupView(); + case ScrollbarsInRoomlist: + return i->scrollbarsInRoomlist(); case Markdown: return i->markdown(); case InvertEnterKey: @@ -1255,6 +1273,8 @@ UserSettingsModel::data(const QModelIndex &index, int role) const return tr("Start the application in the background without showing the client window."); case GroupView: return tr("Show a column containing communities and tags next to the room list."); + case ScrollbarsInRoomlist: + return tr("Shows scrollbars in the room list and communities list."); case Markdown: return tr( "Allow using markdown in messages.\nWhen disabled, all messages are sent as a plain " @@ -1411,6 +1431,7 @@ UserSettingsModel::data(const QModelIndex &index, int role) const case Tray: case StartInTray: case GroupView: + case ScrollbarsInRoomlist: case Markdown: case InvertEnterKey: case Bubbles: @@ -1634,6 +1655,13 @@ UserSettingsModel::setData(const QModelIndex &index, const QVariant &value, int } else return false; } + case ScrollbarsInRoomlist: { + if (value.userType() == QMetaType::Bool) { + i->setScrollbarsInRoomlist(value.toBool()); + return true; + } else + return false; + } case Markdown: { if (value.userType() == QMetaType::Bool) { i->setMarkdown(value.toBool()); @@ -2090,6 +2118,9 @@ UserSettingsModel::UserSettingsModel(QObject *p) connect(s.get(), &UserSettings::groupViewStateChanged, this, [this]() { emit dataChanged(index(GroupView), index(GroupView), {Value}); }); + connect(s.get(), &UserSettings::scrollbarsInRoomlistChanged, this, [this]() { + emit dataChanged(index(ScrollbarsInRoomlist), index(ScrollbarsInRoomlist), {Value}); + }); connect(s.get(), &UserSettings::roomSortingChanged, this, [this]() { emit dataChanged(index(SortByImportance), index(SortByImportance), {Value}); }); diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index 867568b1..b98296aa 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -39,6 +39,8 @@ class UserSettings final : public QObject Q_PROPERTY(bool tray READ tray WRITE setTray NOTIFY trayChanged) Q_PROPERTY(bool startInTray READ startInTray WRITE setStartInTray NOTIFY startInTrayChanged) Q_PROPERTY(bool groupView READ groupView WRITE setGroupView NOTIFY groupViewStateChanged) + Q_PROPERTY(bool scrollbarsInRoomlist READ scrollbarsInRoomlist WRITE setScrollbarsInRoomlist + NOTIFY scrollbarsInRoomlistChanged) Q_PROPERTY(bool markdown READ markdown WRITE setMarkdown NOTIFY markdownChanged) Q_PROPERTY( bool invertEnterKey READ invertEnterKey WRITE setInvertEnterKey NOTIFY invertEnterKeyChanged) @@ -157,6 +159,7 @@ public: void setFontFamily(QString family); void setEmojiFontFamily(QString family); void setGroupView(bool state); + void setScrollbarsInRoomlist(bool state); void setMarkdown(bool state); void setInvertEnterKey(bool state); void setBubbles(bool state); @@ -216,6 +219,7 @@ public: bool tray() const { return tray_; } bool startInTray() const { return startInTray_; } bool groupView() const { return groupView_; } + bool scrollbarsInRoomlist() const { return scrollbarsInRoomlist_; } bool avatarCircles() const { return avatarCircles_; } bool decryptSidebar() const { return decryptSidebar_; } bool decryptNotifications() const { return decryptNotifications_; } @@ -283,6 +287,7 @@ public: signals: void groupViewStateChanged(bool state); + void scrollbarsInRoomlistChanged(bool state); void roomSortingChanged(bool state); void themeChanged(QString state); void messageHoverHighlightChanged(bool state); @@ -355,6 +360,7 @@ private: bool tray_; bool startInTray_; bool groupView_; + bool scrollbarsInRoomlist_; bool markdown_; bool invertEnterKey_; bool bubbles_; @@ -436,6 +442,7 @@ class UserSettingsModel final : public QAbstractListModel UseIdenticon, PrivacyScreen, PrivacyScreenTimeout, + ScrollbarsInRoomlist, #ifdef NHEKO_DBUS_SYS ExposeDBusApi, #endif