From 6ab06aec72816f394adc1a00eecae858af3314c0 Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Sun, 6 Jan 2013 20:26:42 +0100 Subject: [PATCH] Patched theme Path --- wp-content/themes/path/functions.php | 6 +++--- .../path/languages/hybrid-core-en_EN.mo | Bin 575 -> 576 bytes .../path/languages/hybrid-core-en_EN.po | 4 ++-- .../themes/path/languages/hybrid-core-fi.mo | Bin 12812 -> 12877 bytes .../themes/path/languages/hybrid-core-fi.po | 8 ++++---- .../path/languages/hybrid-core-pl_PL.po | 13 ++++--------- .../themes/path/languages/path-en_EN.po | 4 ++-- wp-content/themes/path/languages/path-fi.po | 7 +++---- .../themes/path/languages/path-pl_PL.po | 6 +++--- .../path/library/functions/settings.php | 4 ++-- 10 files changed, 23 insertions(+), 29 deletions(-) diff --git a/wp-content/themes/path/functions.php b/wp-content/themes/path/functions.php index d95515364..7acf14854 100644 --- a/wp-content/themes/path/functions.php +++ b/wp-content/themes/path/functions.php @@ -290,7 +290,7 @@ function path_scripts() { */ function path_google_fonts() { - wp_enqueue_style( 'font-oswald', 'http://fonts.googleapis.com/css?family=Oswald:400,300,700', false, 1.0, 'screen' ); + // wp_enqueue_style( 'font-oswald', 'http://fonts.googleapis.com/css?family=Oswald:400,300,700', false, 1.0, 'screen' ); } @@ -321,7 +321,7 @@ function path_url_grabber() { */ function path_default_footer_settings( $settings ) { - $settings['footer_insert'] = '<p class="copyright">' . _x( 'Copyright © [the-year] [site-link].', 'Filter footer info', 'path' ) . '</p>' . "\n\n" . '<p class="credit">' . _x( 'Powered by [wp-link] and [theme-link].', 'Filter footer info', 'path' ) . __( ' <a class="top" href="#container">Back to Top</a>', 'path' ) . '</p>'; + $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright © [the-year] [site-link].', 'path' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by <a href="http://www.autistici.org">R*</a> and [theme-link].', 'path' ) . __( ' <a class="top" href="#container">Back to Top</a>', 'path' ) . '</p>'; return $settings; } @@ -618,4 +618,4 @@ function path_add_menu_parent_class( $items ) { } -?> \ No newline at end of file +?> diff --git a/wp-content/themes/path/languages/hybrid-core-en_EN.mo b/wp-content/themes/path/languages/hybrid-core-en_EN.mo index adc51d95cb542422dbbac2653b0eed0bfabde870..ac808248a15766acfba302dcb4abddf116a3d1c3 100644 GIT binary patch delta 9 Qcmdnba)4!nJrg4r01&nUga7~l delta 7 OcmX@WvY%yxJre*6x&nCs diff --git a/wp-content/themes/path/languages/hybrid-core-en_EN.po b/wp-content/themes/path/languages/hybrid-core-en_EN.po index 37a482840..9d11c2701 100644 --- a/wp-content/themes/path/languages/hybrid-core-en_EN.po +++ b/wp-content/themes/path/languages/hybrid-core-en_EN.po @@ -753,11 +753,11 @@ msgid "Copyright © [the-year] [site-link]." msgstr "" #: functions/settings.php:76 -msgid "Powered by [wp-link], [theme-link], and [child-link]." +msgid "Powered by <a href="http://www.autistici.org">R*</a>, [theme-link], and [child-link]." msgstr "" #: functions/settings.php:80 -msgid "Powered by [wp-link] and [theme-link]." +msgid "Powered by <a href="http://www.autistici.org">R*</a> and [theme-link]." msgstr "" #: functions/shortcodes.php:93 diff --git a/wp-content/themes/path/languages/hybrid-core-fi.mo b/wp-content/themes/path/languages/hybrid-core-fi.mo index 707cbea6d9dc9605884d8a862ae5580612652a4e..7fc325c635b2840a6454680754d5ea99c75bfe8d 100644 GIT binary patch delta 103 zcmeB4Ih(SfRZ7z)Q6Zx!HO*Ejqokz3N?*Ucyj(A_v?Q~*Br`cvFTW^V$u3CCMnBPR SbDz{z0TPtwXfI%6<N^SX)+4L{ delta 31 ncmX?`(vz~GRci7XDbCI7q^=5ZMwb`p=49q&$8KJuy?_k>+$#+R diff --git a/wp-content/themes/path/languages/hybrid-core-fi.po b/wp-content/themes/path/languages/hybrid-core-fi.po index c76246a2c..853600d41 100644 --- a/wp-content/themes/path/languages/hybrid-core-fi.po +++ b/wp-content/themes/path/languages/hybrid-core-fi.po @@ -759,12 +759,12 @@ msgid "Copyright © [the-year] [site-link]." msgstr "Copyright © [the-year] [site-link]." #: functions/settings.php:76 -msgid "Powered by [wp-link], [theme-link], and [child-link]." -msgstr "Alustana [wp-link], [theme-link] ja [child-link]." +msgid "Powered by <a href="http://www.autistici.org">R*</a>, [theme-link], and [child-link]." +msgstr "Alustana <a href="http://www.autistici.org">R*</a>, [theme-link] ja [child-link]." #: functions/settings.php:80 -msgid "Powered by [wp-link] and [theme-link]." -msgstr "Alustana [wp-link] ja [theme-link]." +msgid "Powered by <a href="http://www.autistici.org">R*</a> and [theme-link]." +msgstr "Alustana <a href="http://www.autistici.org">R*</a> ja [theme-link]." #: functions/shortcodes.php:93 msgid "State-of-the-art semantic personal publishing platform" diff --git a/wp-content/themes/path/languages/hybrid-core-pl_PL.po b/wp-content/themes/path/languages/hybrid-core-pl_PL.po index 51be0f412..53ac94769 100644 --- a/wp-content/themes/path/languages/hybrid-core-pl_PL.po +++ b/wp-content/themes/path/languages/hybrid-core-pl_PL.po @@ -766,17 +766,12 @@ msgid "Subsidiary" msgstr "Pomocniczy" #: functions/settings.php:76 -#: functions/settings.php:80 -msgid "Copyright © [the-year] [site-link]." -msgstr "Prawa autorskie © [the-year] [site-link]." - -#: functions/settings.php:76 -msgid "Powered by [wp-link], [theme-link], and [child-link]." -msgstr "Stworzone dzięki [wp-link], [theme-link], oraz [child-link]." +msgid "Powered by <a href="http://www.autistici.org">R*</a>, [theme-link], and [child-link]." +msgstr "Oparte na <a href="http://www.autistici.org">R*</a>, [theme-link], oraz [child-link]." #: functions/settings.php:80 -msgid "Powered by [wp-link] and [theme-link]." -msgstr "Stworzone dzięki [wp-link] i [theme-link]." +msgid "Powered by <a href="http://www.autistici.org">R*</a> and [theme-link]." +msgstr "Oparte na <a href="http://www.autistici.org">R*</a> i [theme-link]." #: functions/shortcodes.php:93 #, fuzzy diff --git a/wp-content/themes/path/languages/path-en_EN.po b/wp-content/themes/path/languages/path-en_EN.po index d8cb7beae..069df3bde 100644 --- a/wp-content/themes/path/languages/path-en_EN.po +++ b/wp-content/themes/path/languages/path-en_EN.po @@ -162,8 +162,8 @@ msgstr "" msgid "Copyright © [the-year] [site-link]." msgstr "" -#: functions.php:322 -msgid "Powered by [wp-link] and [theme-link]." +#: functions.php:328 +msgid "Powered by <a href="http://www.autistici.org">R*</a> and [theme-link]." msgstr "" #: functions.php:322 diff --git a/wp-content/themes/path/languages/path-fi.po b/wp-content/themes/path/languages/path-fi.po index 32afbd068..f4cca85de 100644 --- a/wp-content/themes/path/languages/path-fi.po +++ b/wp-content/themes/path/languages/path-fi.po @@ -187,10 +187,9 @@ msgctxt "Filter footer info" msgid "Copyright © [the-year] [site-link]." msgstr "Copyright © [the-year] [site-link]." -#: functions.php:323 -msgctxt "Filter footer info" -msgid "Powered by [wp-link] and [theme-link]." -msgstr "Alustana [wp-link] ja [theme-link]." +#: functions.php:328 +msgid "Powered by <a href="http://www.autistici.org">R*</a> and [theme-link]." +msgstr "Alustana <a href="http://www.autistici.org">R*</a> ja [theme-link]." #: functions.php:323 msgid " <a class=\"top\" href=\"#container\">Back to Top</a>" diff --git a/wp-content/themes/path/languages/path-pl_PL.po b/wp-content/themes/path/languages/path-pl_PL.po index 9b1c90290..cbc022454 100644 --- a/wp-content/themes/path/languages/path-pl_PL.po +++ b/wp-content/themes/path/languages/path-pl_PL.po @@ -184,9 +184,9 @@ msgstr "" msgid "Copyright © [the-year] [site-link]." msgstr "Copyright © [the-year] [site-link]." -#: functions.php:322 -msgid "Powered by [wp-link] and [theme-link]." -msgstr "Oparte na [wp-link] oraz [theme-link]." +#: functions.php:328 +msgid "Powered by <a href="http://www.autistici.org">R*</a> and [theme-link]." +msgstr "Oparte na <a href="http://www.autistici.org">R*</a> oraz [theme-link]." #: functions.php:322 msgid " <a class=\"top\" href=\"#container\">Back to Top</a>" diff --git a/wp-content/themes/path/library/functions/settings.php b/wp-content/themes/path/library/functions/settings.php index fc6b01269..235715422 100644 --- a/wp-content/themes/path/library/functions/settings.php +++ b/wp-content/themes/path/library/functions/settings.php @@ -80,11 +80,11 @@ function hybrid_get_default_theme_settings() { /* If there is a child theme active, add the [child-link] shortcode to the $footer_insert. */ if ( is_child_theme() ) - $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright © [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', 'hybrid-core' ) . '</p>'; + $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright © [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by <a href="http://www.autistici.org">R*</a>, [theme-link], and [child-link].', 'hybrid-core' ) . '</p>'; /* If no child theme is active, leave out the [child-link] shortcode. */ else - $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright © [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', 'hybrid-core' ) . '</p>'; + $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright © [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by <a href="http://www.autistici.org">R*</a> and [theme-link].', 'hybrid-core' ) . '</p>'; } /* Return the $settings array and provide a hook for overwriting the default settings. */ -- GitLab