Skip to content

Commit

Permalink
fix: Make no audio detected more exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Aug 6, 2021
1 parent aebb1fe commit 9913a3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion data/io.github.seadve.Mousai.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ Categories=GTK;GNOME;Utility;
StartupNotify=true
# Translators: These are search terms to find this application. Do NOT translate or localize the semicolons. The list MUST also end with a semicolon.
Keywords=Shazam;Music;Song;Identify;
# Translators: Do not translate or transliterate this text (these are enum types)
X-Purism-FormFactor=Workstation;Mobile;
4 changes: 2 additions & 2 deletions po/mousai.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mousai\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-06 08:31+0800\n"
"POT-Creation-Date: 2021-08-06 11:41+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -220,7 +220,7 @@ msgid "No audio detected"
msgstr ""

#: src/widgets/main_window.py:108
msgid "Your microphone may be disconnected."
msgid "Please check your audio device."
msgstr ""

#: src/widgets/main_window.py:124
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def on_peak_changed(self, recorder, peak):

def on_record_done(self, recorder, highest_peak):
if highest_peak < -349:
self.show_error(_("No audio detected"), _("Your microphone may be disconnected."))
self.show_error(_("No audio detected"), _("Please check your audio device."))
self.return_default_page()
return

Expand Down

0 comments on commit 9913a3d

Please sign in to comment.