File tree 8 files changed +691
-635
lines changed
nlightreader/widgets/NlightContainers
8 files changed +691
-635
lines changed Original file line number Diff line number Diff line change 347
347
<source >New version {result} is available! You are currently on version {APP_VERSION}.</source >
348
348
<translation >New version {result} is available! You are currently on version {APP_VERSION}.</translation >
349
349
</message >
350
+ <message >
351
+ <source >No connection</source >
352
+ <translation >No connection</translation >
353
+ </message >
354
+ <message >
355
+ <source >Nothing found</source >
356
+ <translation >Nothing found</translation >
357
+ </message >
350
358
</context >
351
359
<context >
352
360
<name >SettingsInterface</name >
Original file line number Diff line number Diff line change 347
347
<source >New version {result} is available! You are currently on version {APP_VERSION}.</source >
348
348
<translation >Новая версия {result} доступна! Вы используете версию {APP_VERSION}.</translation >
349
349
</message >
350
+ <message >
351
+ <source >No connection</source >
352
+ <translation >Нет соединения</translation >
353
+ </message >
354
+ <message >
355
+ <source >Nothing found</source >
356
+ <translation >Ничего не найдено</translation >
357
+ </message >
350
358
</context >
351
359
<context >
352
360
<name >SettingsInterface</name >
Original file line number Diff line number Diff line change 347
347
<source >New version {result} is available! You are currently on version {APP_VERSION}.</source >
348
348
<translation >Нова версія {result} доступна! Ви використовуєте версію {APP_VERSION}.</translation >
349
349
</message >
350
+ <message >
351
+ <source >No connection</source >
352
+ <translation >Немає з'єднання</translation >
353
+ </message >
354
+ <message >
355
+ <source >Nothing found</source >
356
+ <translation >Нічого не знайдено</translation >
357
+ </message >
350
358
</context >
351
359
<context >
352
360
<name >SettingsInterface</name >
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 7
7
TransparentPushButton ,
8
8
)
9
9
10
+ from nlightreader .utils .translator import translate
11
+
10
12
11
13
@unique
12
14
class ContentContainerState (Enum ):
@@ -23,15 +25,15 @@ def __init__(self):
23
25
self ._progress_ring .setVisible (False )
24
26
25
27
self ._fetch_error_widget = TransparentPushButton (
26
- FluentIcon .GLOBE ,
27
- "Fetch error" ,
28
+ FluentIcon .CLOUD ,
29
+ translate ( "Message" , "No connection" )
28
30
)
29
31
self ._fetch_error_widget .setEnabled (False )
30
32
self ._fetch_error_widget .setVisible (False )
31
33
32
34
self ._no_content_error_widget = TransparentPushButton (
33
- FluentIcon .GLOBE ,
34
- "No content error" ,
35
+ FluentIcon .CLOUD ,
36
+ translate ( "Message" , "Nothing found" ) ,
35
37
)
36
38
self ._no_content_error_widget .setEnabled (False )
37
39
self ._no_content_error_widget .setVisible (False )
You can’t perform that action at this time.
0 commit comments