[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [styleguide/master] Fix typo



commit 8853470cb50d8e82525dc8e87efb513450b45a14
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Fri Nov 2 14:19:57 2018 +0100

    Fix typo
---
 babel.cfg                                 |   3 ++
 configs/i18n.ini                          |   4 +++
 content/components/contents+en.lr         |   8 +++++
 content/contents+en.lr                    |  19 +++++++++++
 content/getting-started/contents+en.lr    |  27 +++++++++++++++
 content/visuals/contents+en.lr            |   9 +++++
 i18n/_compiled/en/LC_MESSAGES/contents.mo | Bin 0 -> 363 bytes
 i18n/contents+en.po                       |  55 ++++++++++++++++++++++++++++++
 i18n/contents.pot                         |  13 +++++++
 styleguide.tar.gz                         | Bin 5207599 -> 0 bytes
 templates/visuals.html                    |   2 +-
 11 files changed, 139 insertions(+), 1 deletion(-)

diff --git a/babel.cfg b/babel.cfg
new file mode 100644
index 0000000..8124ff4
--- /dev/null
+++ b/babel.cfg
@@ -0,0 +1,3 @@
+[jinja2: **/templates/**.html]
+encoding = utf-8
+extensions=jinja2.ext.autoescape,jinja2.ext.with_
\ No newline at end of file
diff --git a/configs/i18n.ini b/configs/i18n.ini
new file mode 100644
index 0000000..2b298ae
--- /dev/null
+++ b/configs/i18n.ini
@@ -0,0 +1,4 @@
+content = en
+translations = en
+i18npath = i18n
+translate_paragraphwise = True
diff --git a/content/components/contents+en.lr b/content/components/contents+en.lr
new file mode 100644
index 0000000..938393a
--- /dev/null
+++ b/content/components/contents+en.lr
@@ -0,0 +1,8 @@
+_model: page
+---
+title: Components | Tor Styleguide
+---
+body:
+
+---
+_template: components.html
diff --git a/content/contents+en.lr b/content/contents+en.lr
new file mode 100644
index 0000000..a22e4f2
--- /dev/null
+++ b/content/contents+en.lr
@@ -0,0 +1,19 @@
+title: Tor Styleguide | The Tor Project
+---
+body:
+
+The visual identity of software is an integral part of its user experience. Correctly using a consistent and attractive style is important to the Tor Project <mark>to build user trust in our work.</mark>
+
+This guide can help you create materials and answer questions you might have about using the Tor brand. <p class="text-black small text-muted">Conventions</p>
+
+<p>This guide aims to show by doing. The main body of each page contains examples of graphic elements that are (and, in some cases, are not) conformant with the style
+ being described. The column on the left specifies the details of each style and offers guidance on when and how to use it. </p>
+
+<p class="text-black small text-muted">Contact</p>
+
+<p class="purple"> Please reach out to the UX team if you encounter a situation this guide does not cover. We will work with you to help you find a solution for your design problem, and your feedback will also help us expand and refine the guide to help it better meet the Tor Communityâ??s needs. You can also reach out to the UX team for any
+other styleguide related questions or inquiries.</p>
+
+
+---
+_template: about.html
diff --git a/content/getting-started/contents+en.lr b/content/getting-started/contents+en.lr
new file mode 100644
index 0000000..601ca98
--- /dev/null
+++ b/content/getting-started/contents+en.lr
@@ -0,0 +1,27 @@
+_model: page
+---
+title: Getting Started | Tor Styleguide
+---
+body:
+
+The Tor Styleguide is based on [Bootstrap](https://getbootstrap.com/), an open-source toolkit for developing with HTML, CSS, and JS. We are currently implementing [v4.0.0-beta.2](https://github.com/twbs/bootstrap/releases/tag/v4.0.0-beta.2).
+
+To use the Tor styleguide, you can download our [css style](https://gitweb.torproject.org/project/web/styleguide.git/tree/assets/static) and import it in your project. Alternatively, you can also clone this repository and use our SASS files. [SASS](http://sass-lang.com/) is a CSS extension language. Bootstrap and this styleguide are based on [v3.5.4](http://sass-lang.com/documentation/file.SASS_CHANGELOG.html#3_5_4__15_December_2017_).
+
+<p class="purple"> If you want to use SASS you can download the complete archive for the <a href="https://gitweb.torproject.org/project/web/styleguide.git";>styleguide</a>. The <a href="https://gitweb.torproject.org/project/web/styleguide.git";>scss folder under assets</a> contains all the sass files. Since we use bootstrap, we only add a few styles without modifying bootstrap core or defining new elements whenever possible. These are <a href="https://gitweb.torproject.org/project/web/styleguide.git/tree/assets/scss/_tor-variables.scss";>_tor_variables.scss</a> and <a href="https://gitweb.torproject.org/project/web/styleguide.git/tree/assets/scss/_tor.scss";>_tor.scss</a>. These are imported in the main bootstrap scss file and compiled into the final css. </p>
+
+Bootstrap contains a few JavaScript libraries for extra interaction with the DOM. We use these libraries but do not add extra JavaScript. You might notice that if you run Tor Browser with high security mode, JavaScript is disabled by default.
+<mark>This styleguide is designed to also work for users using Tor Browser in high security mode</mark>, so that only few elements are affected if you disable JavaScript.
+
+This styleguide has been built using [Lektor](https://www.getlektor.com/). Lektor is a static content management system. You can build this yourself by [installing Lektor](https://www.getlektor.com/downloads/).
+
+We also provide a minimal Lektor template website that you can start modifying. This is available at this [repository](https://gitweb.torproject.org/project/web/template.git/).
+
+<div class="border p-5 mb-3">
+<h6>Use The Tor Project Styleguide</h6>
+<p class="m-0">This package includes .scss and .css files</p>
+<a class="btn btn-lg btn-link p-0" title="Tor Media Repo" href="https://oniongit.eu/infra/styleguide"; target="_blank">Visit Repo</a>
+</div>
+
+---
+_template: getting-started.html
diff --git a/content/visuals/contents+en.lr b/content/visuals/contents+en.lr
new file mode 100644
index 0000000..65d42cd
--- /dev/null
+++ b/content/visuals/contents+en.lr
@@ -0,0 +1,9 @@
+_model: page
+---
+title: Visuals | Tor Styleguide
+---
+body:
+
+
+---
+_template: visuals.html
diff --git a/i18n/_compiled/en/LC_MESSAGES/contents.mo b/i18n/_compiled/en/LC_MESSAGES/contents.mo
new file mode 100644
index 0000000..f5521a5
Binary files /dev/null and b/i18n/_compiled/en/LC_MESSAGES/contents.mo differ
diff --git a/i18n/contents+en.po b/i18n/contents+en.po
new file mode 100644
index 0000000..47a3ee3
--- /dev/null
+++ b/i18n/contents+en.po
@@ -0,0 +1,55 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-11-02 14:17+CET\n"
+"PO-Revision-Date: 2018-11-02 14:16+CET\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#~ msgid "Our mission:"
+#~ msgstr "Our mission:"
+
+#~ msgid ""
+#~ "to advance human rights and freedoms by creating and deploying free and "
+#~ "open source anonymity and privacy technologies, supporting their "
+#~ "unrestricted availability and use, and furthering their scientific and "
+#~ "popular understanding."
+#~ msgstr ""
+#~ "to advance human rights and freedoms by creating and deploying free and "
+#~ "open source anonymity and privacy technologies, supporting their "
+#~ "unrestricted availability and use, and furthering their scientific and "
+#~ "popular understanding."
+
+#~ msgid "Subscribe to our Newsletter"
+#~ msgstr "Subscribe to our Newsletter"
+
+#~ msgid "Get monthly updates and opportunities from the Tor Project"
+#~ msgstr "Get monthly updates and opportunities from the Tor Project"
+
+#~ msgid ""
+#~ "Trademark, copyright notices, and rules for use by third parties can be "
+#~ "found in our "
+#~ msgstr ""
+#~ "Trademark, copyright notices, and rules for use by third parties can be "
+#~ "found in our "
+
+#~ msgid "Tor Project | Support"
+#~ msgstr "Tor Project | Support"
+
+#~ msgid "Tor Logo"
+#~ msgstr "Tor Logo"
+
+#~ msgid "Download Tor Browser"
+#~ msgstr "Download Tor Browser"
+
+#~ msgid "Search"
+#~ msgstr "Search"
+
+#~ msgid "Permalink"
+#~ msgstr "Permalink"
diff --git a/i18n/contents.pot b/i18n/contents.pot
new file mode 100644
index 0000000..0a8a1f9
--- /dev/null
+++ b/i18n/contents.pot
@@ -0,0 +1,13 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-11-02 14:19+CET\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: en <LL@xxxxxx>\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/styleguide.tar.gz b/styleguide.tar.gz
deleted file mode 100644
index 29ee1db..0000000
Binary files a/styleguide.tar.gz and /dev/null differ
diff --git a/templates/visuals.html b/templates/visuals.html
index 8b3bce0..a620660 100644
--- a/templates/visuals.html
+++ b/templates/visuals.html
@@ -28,7 +28,7 @@
       </div>
       <div class="col-4">
           <div class="rounded pt-5 pl-2 pb-2 mt-3 mb-2 bg-secondary text-white small">#59316B</div>
-          <h6 class="pt-3 text-left">Dark Gray</h6>
+          <h6 class="pt-3 text-left">Dark Grey</h6>
       </div>
       <div class="col-4">
           <div class="rounded pt-5 pl-2 pb-2 mt-3 mb-2 bg-success text-white small">#68B030</div>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits