aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup.html
diff options
context:
space:
mode:
authorDeathamns <deathamns@gmail.com>2014-10-21 16:45:54 +0200
committerDeathamns <deathamns@gmail.com>2014-11-09 17:40:40 +0100
commit6d49ef0dac78eef45a6b5bbfc5abe52ff193587f (patch)
tree39c2fb6f8360fb6894f557cb2741e1b23108c9cd /src/popup.html
parent86222cb3687b755b80b4c5c6acc6b04eb19aad3c (diff)
downloaduBlock-6d49ef0dac78eef45a6b5bbfc5abe52ff193587f.zip
uBlock-6d49ef0dac78eef45a6b5bbfc5abe52ff193587f.tar.gz
uBlock-6d49ef0dac78eef45a6b5bbfc5abe52ff193587f.tar.bz2
Avoid using Chrome's @@bidi_* type i18n messages
... for the sake of portability. When including vapi-common.js in an HTML file, then the body element there will have a "dir" attribute filled with the current locale's direction (ltr or rtl). The following languages are considered right-to-left: ar, he, fa, ps, ur. Everything else is left-to-right. After the "dir" attribute is set, we can decide in CSS which elements should have different styling for rtl languages (e.g., body[dir=rtl] #id).
Diffstat (limited to 'src/popup.html')
-rw-r--r--src/popup.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popup.html b/src/popup.html
index c86b512..535dfc0 100644
--- a/src/popup.html
+++ b/src/popup.html
@@ -2,7 +2,7 @@
<html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta charset="utf-8">
<link rel="stylesheet" href="css/common.css" type="text/css">
<link rel="stylesheet" href="css/popup.css" type="text/css">
<title>µBlock</title>