Footer with 'Website provided by mambaSoft' and translation

This commit is contained in:
Silvan Calarco 2015-04-16 11:36:38 +02:00
parent 999f9204fe
commit c211d764be
5 changed files with 249 additions and 22 deletions

86
footer.php Normal file
View File

@ -0,0 +1,86 @@
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* Footer Template
*
*
* @file footer.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2014 CyberChimps
* @license license.txt
* @version Release: 1.2
* @filesource wp-content/themes/responsive/footer.php
* @link http://codex.wordpress.org/Theme_Development#Footer_.28footer.php.29
* @since available since Release 1.0
*/
/*
* Globalize Theme options
*/
global $responsive_options;
$responsive_options = responsive_get_options();
?>
<?php responsive_wrapper_bottom(); // after wrapper content hook ?>
</div><!-- end of #wrapper -->
<?php responsive_wrapper_end(); // after wrapper hook ?>
</div><!-- end of #container -->
<?php responsive_container_end(); // after container hook ?>
<div id="footer" class="clearfix">
<?php responsive_footer_top(); ?>
<div id="footer-wrapper">
<?php get_sidebar( 'footer' ); ?>
<div class="grid col-940">
<div class="grid col-540">
<?php if ( has_nav_menu( 'footer-menu', 'responsive' ) ) {
wp_nav_menu( array(
'container' => '',
'fallback_cb' => false,
'menu_class' => 'footer-menu',
'theme_location' => 'footer-menu'
) );
} ?>
</div><!-- end of col-540 -->
<div class="grid col-380 fit">
<?php echo responsive_get_social_icons() ?>
</div><!-- end of col-380 fit -->
</div><!-- end of col-940 -->
<?php get_sidebar( 'colophon' ); ?>
<div class="grid col-300 copyright">
<?php esc_attr_e( '&copy;', 'responsive' ); ?> <?php echo date( 'Y' ); ?><a href="<?php echo home_url( '/' ) ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
<?php bloginfo( 'name' ); ?>
</a>
</div><!-- end of .copyright -->
<div class="grid col-300 scroll-top"><a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'responsive' ); ?>"><?php _e( '&uarr;', 'responsive' ); ?></a></div>
<div class="grid col-300 fit powered">
<?php esc_attr_e( 'Website provided by', 'responsive' ); ?>
<a href="<?php echo esc_url( 'http://mambasoft.it/' ); ?>" title="">
mambaSoft</a>
<!--?php esc_attr_e( 'powered by', 'responsive' ); ?> <a href="<?php echo esc_url( 'http://wordpress.org/' ); ?>" title="<?php esc_attr_e( 'WordPress', 'responsive' ); ?>">
WordPress</a-->
</div><!-- end .powered -->
</div><!-- end #footer-wrapper -->
<?php responsive_footer_bottom(); ?>
</div><!-- end #footer -->
<?php responsive_footer_after(); ?>
<?php wp_footer(); ?>
</body>
</html>

View File

@ -1,7 +1,7 @@
Translation management: Translation management:
----------------------- -----------------------
1) 1)
xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --sort-by-file --copyright-holder="Silvan Calarco" --package-name=openmamba --package-version=1.0 --msgid-bugs-address="bugs@openmamba.org" ../*.php xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --keyword=esc_attr_e --sort-by-file --copyright-holder="Silvan Calarco" --package-name=openmamba --package-version=1.0 --msgid-bugs-address="bugs@openmamba.org" ../*.php
2) 2)
msgmerge it.po responsive.po -o it.po msgmerge it.po responsive.po -o it.po

Binary file not shown.

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Responsive Theme\n" "Project-Id-Version: Responsive Theme\n"
"Report-Msgid-Bugs-To: bugs@openmamba.org\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n"
"POT-Creation-Date: 2015-01-04 16:16+0100\n" "POT-Creation-Date: 2015-04-16 11:32+0200\n"
"PO-Revision-Date: 2014-12-08 16:25+0100\n" "PO-Revision-Date: 2014-12-08 16:25+0100\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n" "Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: Italian, Italy\n" "Language-Team: Italian, Italy\n"
@ -16,27 +16,49 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: ../bbpress.php:41 ../webbuild-page.php:54 ../webbuild-status-page.php:41 #: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:54
#: ../webbuild-status-page.php:41
msgid "Read more &#8250;" msgid "Read more &#8250;"
msgstr "Leggi di più &#8250;" msgstr "Leggi di più &#8250;"
#: ../bbpress.php:42 ../webbuild-page.php:55 ../webbuild-status-page.php:42 #: ../bbpress.php:42 ../search-page.php:43 ../webbuild-page.php:55
#: ../webbuild-status-page.php:42
msgid "Pages:" msgid "Pages:"
msgstr "Pagine:" msgstr "Pagine:"
#: ../functions.php:35 ../functions.php:46 #: ../footer.php:63
msgid "&copy;"
msgstr "&copy;"
#: ../footer.php:68
msgid "&uarr;"
msgstr "&uarr;"
#: ../footer.php:68
msgid "scroll to top"
msgstr "scorri all'inizio"
#: ../footer.php:71
msgid "Website provided by"
msgstr "Sito web fornito da"
#: ../footer.php:74
msgid "WordPress"
msgstr "WordPress"
#: ../functions.php:53 ../functions.php:64
msgid "for" msgid "for"
msgstr "per" msgstr "per"
#: ../functions.php:37 #: ../functions.php:55
msgid "File size:" msgid "File size:"
msgstr "Dimensione file:" msgstr "Dimensione file:"
#: ../functions.php:38 #: ../functions.php:56
msgid "Date" msgid "Date"
msgstr "Data" msgstr "Data"
#: ../functions.php:48 #: ../functions.php:66
msgid "" msgid ""
"Sorry, download is temporary unavailable. If the problem persists please " "Sorry, download is temporary unavailable. If the problem persists please "
"report the problem." "report the problem."
@ -44,26 +66,34 @@ msgstr ""
"Il download non è temporaneamente disponibile. Se il problema persiste ti " "Il download non è temporaneamente disponibile. Se il problema persiste ti "
"ringraziamo se ci puoi segnalare il problema." "ringraziamo se ci puoi segnalare il problema."
#: ../functions.php:106 #: ../functions.php:146
msgid "Features"
msgstr "Caratteristiche"
#: ../functions.php:110
msgid "Requirements"
msgstr "Requisiti"
#: ../functions.php:114
msgid "Preparation"
msgstr "Preparazione"
#: ../functions.php:140
msgid "More languages..." msgid "More languages..."
msgstr "Altre lingue..." msgstr "Altre lingue..."
#: ../header-webbuild.php:87 #: ../functions.php:149
msgid "Features"
msgstr "Caratteristiche"
#: ../functions.php:153
msgid "Requirements"
msgstr "Requisiti"
#: ../functions.php:157
msgid "Preparation"
msgstr "Preparazione"
#: ../header-webbuild.php:89
msgid "&darr; Skip to Main Content" msgid "&darr; Skip to Main Content"
msgstr "&darr; Salta al contenuto principale" msgstr "&darr; Salta al contenuto principale"
#: ../post-data.php:27
msgid "Tagged with:"
msgstr "Taggato con:"
#: ../post-data.php:32
msgid "Edit"
msgstr "Modifica"
#: ../sidebar-top.php:34 #: ../sidebar-top.php:34
msgid "Login" msgid "Login"
msgstr "Accedi" msgstr "Accedi"

111
languages/responsive.po Normal file
View File

@ -0,0 +1,111 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Silvan Calarco
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: openmamba 1.0\n"
"Report-Msgid-Bugs-To: bugs@openmamba.org\n"
"POT-Creation-Date: 2015-04-16 11:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:54
#: ../webbuild-status-page.php:41
msgid "Read more &#8250;"
msgstr ""
#: ../bbpress.php:42 ../search-page.php:43 ../webbuild-page.php:55
#: ../webbuild-status-page.php:42
msgid "Pages:"
msgstr ""
#: ../footer.php:63
msgid "&copy;"
msgstr ""
#: ../footer.php:68
msgid "&uarr;"
msgstr ""
#: ../footer.php:68
msgid "scroll to top"
msgstr ""
#: ../footer.php:71
msgid "Website provided by"
msgstr ""
#: ../footer.php:74
msgid "WordPress"
msgstr ""
#: ../functions.php:53 ../functions.php:64
msgid "for"
msgstr ""
#: ../functions.php:55
msgid "File size:"
msgstr ""
#: ../functions.php:56
msgid "Date"
msgstr ""
#: ../functions.php:66
msgid ""
"Sorry, download is temporary unavailable. If the problem persists please "
"report the problem."
msgstr ""
#: ../functions.php:146
msgid "More languages..."
msgstr ""
#: ../functions.php:149
msgid "Features"
msgstr ""
#: ../functions.php:153
msgid "Requirements"
msgstr ""
#: ../functions.php:157
msgid "Preparation"
msgstr ""
#: ../header-webbuild.php:89
msgid "&darr; Skip to Main Content"
msgstr ""
#: ../post-data.php:27
msgid "Tagged with:"
msgstr ""
#: ../post-data.php:32
msgid "Edit"
msgstr ""
#: ../sidebar-top.php:34
msgid "Login"
msgstr ""
#: ../sidebar-top.php:35
msgid "Register"
msgstr ""
#: ../sidebar-top.php:38
#, php-format
msgid "Howdy, %1$s"
msgstr ""
#: ../sidebar-top.php:40
msgid "Logout"
msgstr ""