Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
Fix missing translator call in nameFromPath and nameFromUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Jul 6, 2020
1 parent 555cf62 commit 27e5569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/common.d
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ string nameFromPath(const string[string] browsers, const string path) {
if (browser.value == path)
return browser.key;

return "Custom";
return Translator.text("option.custom_browser");
}

/// Get the engine name by an engine URL from the known list
Expand All @@ -440,7 +440,7 @@ string nameFromUrl(const string[string] engines, const string url) {
if (engine.value == url)
return engine.key;

return "Custom";
return Translator.text("option.custom_engine");
}

/// Format a string by replacing each key with a value in replacements.
Expand Down

0 comments on commit 27e5569

Please sign in to comment.