Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
"Fix" gettext issue by not using __ in template strings.
  • Loading branch information
aleho committed Oct 4, 2020
1 parent 885240a commit 24a5471
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [email protected]/lib/widget/volume.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ var InputSlider = class extends StreamSlider
}
}

this._label.text = text || `[${__('unknown')}]`;
this._label.text = text || '[%s]'.format(__('unknown'));
}
};

Expand Down
14 changes: 7 additions & 7 deletions [email protected]/locale/translations.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ msgstr ""
msgid "Helper script did not return valid card data."
msgstr ""

#: [email protected]/lib/widget/volume.js:296
#: [email protected]/lib/widget/volume.js:298
msgid "Inputs"
#: [email protected]/lib/utils/cards.js:84
msgid "Querying PulseAudio sound cards failed, disabling extension"
msgstr ""

#: [email protected]/lib/widget/volume.js:435
msgid "unknown"
#: [email protected]/lib/widget/volume.js:289
#: [email protected]/lib/widget/volume.js:291
msgid "Inputs"
msgstr ""

#: [email protected]/lib/utils/cards.js:84
msgid "Querying PulseAudio sound cards failed, disabling extension"
#: [email protected]/lib/widget/volume.js:429
msgid "unknown"
msgstr ""

#: [email protected]/prefs.ui:50
Expand Down

0 comments on commit 24a5471

Please sign in to comment.