From 6dc53c4a92dc3cf5380003628ba490e3ad184322 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 2 Apr 2015 19:16:29 -0300 Subject: [PATCH] Fixed the textdomain, cretaed initial .pot file and added transifex config file #5 --- .tx/config | 8 + assets/scss/style.scss | 9 +- header.php | 4 +- inc/class-horizon-theme-nav-walker.php | 2 +- languages/horizon-theme.pot | 246 +++++++++++++++++++++++++ style.css | 1 + 6 files changed, 263 insertions(+), 7 deletions(-) create mode 100644 .tx/config create mode 100644 languages/horizon-theme.pot diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000..96dffb7 --- /dev/null +++ b/.tx/config @@ -0,0 +1,8 @@ +[main] +host = https://www.transifex.com + +[horizon-theme.horizon-theme] +file_filter = languages/.po +source_file = languages/horizon-theme.pot +source_lang = en +type = PO diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 41dc8ec..5946770 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -9,6 +9,7 @@ Tags: License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: horizon-theme +Domain Path: languages/ */ //Variables configuration. @@ -119,7 +120,7 @@ html { padding: 0px 30px; } -.navbar-default .navbar-nav>li{ +.navbar-default .navbar-nav>li{ padding: 45px 0px; padding-bottom: 42px; border-bottom: 3px transparent solid; @@ -129,7 +130,7 @@ html { font-weight: bold; padding: 0px 30px; border-right: 1px $primaryColor solid; - line-height: 1; + line-height: 1; } &:last-child a{ border-right: 0px; @@ -160,7 +161,7 @@ html { min-width: 100%; max-width: 100%; height: auto; - .active > a, .active > a:focus, .active > a:hover{ + .active > a, .active > a:focus, .active > a:hover{ background-color: $primaryColor; } } @@ -170,7 +171,7 @@ html { a{ font-size: 12px; color: #fff; - text-align: center; + text-align: center; text-transform: uppercase; padding: 15px; line-height: 1.5; diff --git a/header.php b/header.php index 981d558..4e52021 100644 --- a/header.php +++ b/header.php @@ -25,7 +25,7 @@