Skip to content

Commit 31741ef

Browse files
committed
small bug fixing
1 parent 098a519 commit 31741ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

po/tr.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ msgstr "Lütfen farklı bir isim girin"
944944

945945
#: src/MainWindow.py:319 src/MainWindow.py:321
946946
msgid "Please don't type whitespace"
947-
msgstr "Lütfen boşluk burakmayın"
947+
msgstr "Lütfen boşluk bırakmayın"
948948

949949
#: src/MainWindow.py:326 src/MainWindow.py:328
950950
msgid "Please don't type spacial character(.*/şüİ~)"

src/MainWindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def is_same_avd(self):
314314
def is_word(self):
315315
name = self.entry_name.get_text()
316316
Turkish_c = "ğĞıİşŞüÜöÖçÇ"
317-
if any(char.isspace() for char in name):
317+
if any(char.isspace() for char in name) or name=="":
318318
self.entry_name.set_text("")
319319
self.open_info_dialog(_("Please don't type whitespace"))
320320
self.entry_name.set_placeholder_text(

ui/MainWindow.glade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Ali Rıza Keskin</property>
9191
</packing>
9292
</child>
9393
<child>
94-
<object class="GtkLabel" id="lb_dialo_info">
94+
<object class="GtkLabel" id="lb_dialog_info">
9595
<property name="visible">True</property>
9696
<property name="can-focus">False</property>
9797
<property name="margin-start">7</property>

0 commit comments

Comments
 (0)