Browse Source

Merge pull request #105 from Torijing/update

Update some descriptions, Open-falcon.org becomes Open-falcon.com
MistShi 6 years ago
parent
commit
57414061d4

+ 1 - 1
README.md

@@ -9,7 +9,7 @@ dashboard is the Open-Falcon unified default forntend component, including:
 - combine the multiple alerting.
 - user management, such as login, logout, register, ldap_login, etc.
 
-Open-Falcon homepage:[http://open-falcon.org](http://open-falcon.org)
+Open-Falcon homepage:[http://open-falcon.com](http://open-falcon.com)
 
 ## Demo site
 - TODO

+ 1 - 1
rrd/config.py

@@ -66,7 +66,7 @@ LANGUAGES   = {
 
 # portal site config
 MAINTAINERS = ['root']
-CONTACT = 'root@open-falcon.org'
+CONTACT = 'root@open-falcon.com'
 
 try:
     from rrd.local_config import *

+ 1 - 1
rrd/static/500.html

@@ -3,6 +3,6 @@
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     </head>
     <body>
-        <h1>dashboard 出错了,持续出错请联系管理员</h1>
+        <h1>Dashboard happened an error, please contact your administrator if there is a continuous error.</h1>
     </body>
 </html>

+ 1 - 1
rrd/templates/portal/cluster/creator.html

@@ -6,7 +6,7 @@
         <div class="panel panel-default">
             <div class="panel-heading">
                 {{_('create cluster monitor metric')}}
-                <a target="_blank" href="https://book.open-falcon.org/zh/usage/aggregator.html" title="aggregator{{_('configure help')}}">
+                <a target="_blank" href="https://book.open-falcon.com/zh/usage/aggregator.html" title="aggregator{{_('configure help')}}">
                     <span class="glyphicon glyphicon-question-sign"></span>
                 </a>
             </div>

+ 2 - 2
rrd/templates/portal/nodata/add.html

@@ -59,7 +59,7 @@
                     <label for="obj_type">
                         endpoint选择:
                     </label>
-                    <a target="_blank" href="http://book.open-falcon.org/zh/usage/nodata.html" title="endpoint配置说明">
+                    <a target="_blank" href="http://book.open-falcon.com/zh/usage/nodata.html" title="endpoint配置说明">
                         <span class="glyphicon glyphicon-question-sign" style="float:right;"></span>
                     </a>
                     <select class="form-control" id="obj_type" style="vertical-align:top" onchange="on_endpoint_changed()">
@@ -115,7 +115,7 @@
             </div>
         </div>    
 
-        <a class="orange" target="_blank" href="http://book.open-falcon.org/zh/usage/nodata.html">
+        <a class="orange" target="_blank" href="http://book.open-falcon.com/zh/usage/nodata.html">
             <span class="glyphicon glyphicon-question-sign"></span>
             Nodata监控用户手册
         </a>

+ 4 - 0
rrd/translations/en/LC_MESSAGES/messages.po

@@ -18,6 +18,10 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: Babel 2.4.0\n"
 
+#: rrd/static/500.html:6
+msgid "Dashboard happen an error, please contact your administrator if there is a continuous error."
+msgstr ""
+
 #: rrd/__init__.py:16
 msgid "Temporary error, please contact your administrator."
 msgstr ""

+ 4 - 0
rrd/translations/zh/LC_MESSAGES/messages.po

@@ -18,6 +18,10 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: Babel 2.4.0\n"
 
+#: rrd/static/500.html:6
+msgid "Dashboard happen an error, please contact your administrator if there is a continuous error."
+msgstr "Dashboard 出错了,持续出错请联系管理员"
+
 #: rrd/__init__.py:16
 msgid "Temporary error, please contact your administrator."
 msgstr "暂时无法访问,请联系管理员。"