derekovecs: localize not found dialog
diff --git a/templates/index.html.ep b/templates/index.html.ep
index ccb5ea4..4fbd8af 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -822,13 +822,9 @@
             </div>
           % } elsif($word !~ /^\s*$/) {
           <div id="wrapper">
-            <div id="not-found-dialog" title="Not found">
-              <p>ERROR: "<%= $word %>" not found in vocabluary.</p>
-              <p>If you are sure you have spelled the word as intended, you can try to increase the cutoff parameter in the options menu.</p>
-            </div>
             <script>
              $( function() {
-               $( "#not-found-dialog" ).dialog({
+               $( "<%== loc 'notfounddialog' %>").dialog({
                  autoOpen: true,
                  modal: true,
                  draggable: false,
@@ -838,14 +834,22 @@
                  buttons: {
                    "OK": function() {
                      $( this ).dialog( "close" );
-                   },
+                   } /* ,
                    "Apply": function() {
                      window.open($(location).attr('pathname')+'?'+$('form').serialize(), "_self");
-                   }
+                   }  */
                  }
                });
              });
             </script>
+            <div id="not-found-dialog_de" style="display: none" title="Nicht gefunden">
+              <p>FEHLER: Konnte "<%= $word %>" nicht finden.</p>
+              <p>Wenn Sie der Meinung sind, dass es Vokabluar enthalten sein sollte, können Sie versuchen den Cut-Off-Parameter in den Optionen zu erhöhen.</p>
+            </div>
+            <div id="not-found-dialog_en" style="display: none" title="Not found">
+              <p>ERROR: "<%= $word %>" not found in vocabluary.</p>
+              <p>If you are sure you have spelled the word as intended, you can try to increase the cutoff parameter in the options menu.</p>
+            </div>
           </div>
           % }
         </div>