Skip to content

Commit

Permalink
Fix text chat crash; added status messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Apr 10, 2022
1 parent 492738b commit 96c3b9f
Show file tree
Hide file tree
Showing 28 changed files with 469 additions and 148 deletions.
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,23 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
Expand All @@ -304,17 +314,17 @@
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_da.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,31 +289,41 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,31 +289,41 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_el.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,31 +289,41 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,31 +289,41 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,30 +289,40 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_fi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,31 +289,41 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
22 changes: 16 additions & 6 deletions source/common/translations/aspia_common_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,31 +289,41 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="218"/>
<location filename="../ui/text_chat_widget.cc" line="271"/>
<location filename="../ui/text_chat_widget.cc" line="136"/>
<source>User %1 is logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="143"/>
<source>User %1 is not logged in (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="232"/>
<location filename="../ui/text_chat_widget.cc" line="285"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../ui/text_chat_widget.cc" line="219"/>
<location filename="../ui/text_chat_widget.cc" line="233"/>
<source>The message is too long. The maximum message length is %n characters.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="260"/>
<location filename="../ui/text_chat_widget.cc" line="274"/>
<source>Save File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="262"/>
<location filename="../ui/text_chat_widget.cc" line="276"/>
<source>TXT files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/text_chat_widget.cc" line="272"/>
<location filename="../ui/text_chat_widget.cc" line="286"/>
<source>Could not open file for writing.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit 96c3b9f

Please sign in to comment.