Skip to content
Snippets Groups Projects
Commit 8ea98d97 authored by Albert Gräf's avatar Albert Gräf
Browse files

Add missing translations for help browser.

parent 2c28f28e
No related branches found
No related tags found
1 merge request!22Translations
......@@ -524,7 +524,7 @@ function register_window_id(id, attrs) {
add_events();
// set file types for the file dialog
document.getElementById("file_browser").accept = filetypes.join(",");
document.getElementById("results").textContent = "Building index...";
document.getElementById("results").textContent = l("search.building_index");
document.getElementById("search_text").disabled = true;
document.getElementById("file_browser").setAttribute("nwworkingdir",
pdgui.get_gui_dir() + "/doc"); // Probably need a doc getter in pdgui
......@@ -532,7 +532,7 @@ function register_window_id(id, attrs) {
}
function display_no_results() {
document.getElementById("results").textContent = "No results found.";
document.getElementById("results").textContent = l("search.no_results");
}
function display_doc(doc) {
......
......@@ -402,6 +402,8 @@
"search": {
"browse": "browse the documentation",
"search": "search",
"building_index": "Building index...",
"no_results": "No results found.",
"search_placeholder": "Search Pd Docs"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment