Genesis Translations - Version 1.8.1

Version Description

  • Accidentally deleted helper function. Sorry about that folks.
Download this release

Release Info

Developer DeFries
Plugin Icon 128x128 Genesis Translations
Version 1.8.1
Comparing to
See all releases

Code changes from version 1.8.0 to 1.8.1

Files changed (2) hide show
  1. genesis-translations.php +25 -2
  2. readme.txt +14 -2
genesis-translations.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin URI: http://remkusdevries.com/plugins/genesis-translations/
10
  * Description: This plugin will translate Genesis in the available languages.
11
  * Author: Remkus de Vries
12
- * Version: 1.8.0
13
  * Author URI: http://remkusdevries.com/
14
  * License: GPLv2
15
  * Text Domain: genesis-translations
@@ -21,7 +21,7 @@
21
  *
22
  */
23
  define( 'GENTRANS_FILE','genesis-translations/genesis-translations.php' );
24
- define( 'GENTRANS_VERSION','1.8.0' );
25
 
26
  /**
27
  * The text domain for the plugin
@@ -64,6 +64,29 @@ function fst_genesis_translations_activation_check() {
64
  wp_die( sprintf( __( 'Uhm, the thing of it is, you kinda need the %1$sGenesis Framework %2$s%3$s or greater for these translations to make any sense.', GTRANS_DOMAIN ), '<a href="http://forsitemedia.net/go/genesis/" target="_new">', $latest, '</a>' ) );
65
  }
66
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  add_action( 'genesis_init','fst_set_genesis_language_dir', 1 );
69
  /**
9
  * Plugin URI: http://remkusdevries.com/plugins/genesis-translations/
10
  * Description: This plugin will translate Genesis in the available languages.
11
  * Author: Remkus de Vries
12
+ * Version: 1.8.2
13
  * Author URI: http://remkusdevries.com/
14
  * License: GPLv2
15
  * Text Domain: genesis-translations
21
  *
22
  */
23
  define( 'GENTRANS_FILE','genesis-translations/genesis-translations.php' );
24
+ define( 'GENTRANS_VERSION','1.8.2' );
25
 
26
  /**
27
  * The text domain for the plugin
64
  wp_die( sprintf( __( 'Uhm, the thing of it is, you kinda need the %1$sGenesis Framework %2$s%3$s or greater for these translations to make any sense.', GTRANS_DOMAIN ), '<a href="http://forsitemedia.net/go/genesis/" target="_new">', $latest, '</a>' ) );
65
  }
66
  }
67
+ /**
68
+ * Used to cutoff a string to a set length if it exceeds the specified length
69
+ *
70
+ * @author Nick Croft
71
+ * @link http://designsbynickthegeek.com/
72
+ *
73
+ * @since 0.1
74
+ * @version 0.2
75
+ * @param string $str Any string that might need to be shortened
76
+ * @param string $length Any whole integer
77
+ * @return string
78
+ */
79
+ function fst_genesis_translations_version_check( $str, $length=10 ) {
80
+
81
+ if ( strlen( $str ) > $length ) {
82
+ return substr( $str, 0, $length );
83
+
84
+ } else {
85
+ $res = $str;
86
+ }
87
+
88
+ return $res;
89
+ }
90
 
91
  add_action( 'genesis_init','fst_set_genesis_language_dir', 1 );
92
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://remkusdevries.com/donate/
4
  Tags: genesis, translations,
5
  Requires at least: 3.1
6
  Tested up to: 3.5.
7
- Stable tag: 1.8.1
8
 
9
  Translate your Genesis powered WordPress site into one of the available languages.
10
 
@@ -14,7 +14,7 @@ This plugin translates your Genesis powered WordPress site easily with one of th
14
 
15
  No need to fuss about with your `functions.php` file or uploading `.mo` and `.po` files. Just install this plugin et voil&aacute;!
16
 
17
- Currently the following translations are available for Genesis 1.8.x
18
 
19
  * Danish - da_DK
20
  * Dutch - nl_NL
@@ -83,6 +83,14 @@ No screenshots (yet). Let me know if you need some.
83
 
84
  == Changelog ==
85
 
 
 
 
 
 
 
 
 
86
  = 1.8.0 =
87
 
88
  * Updated the translations to reflect the changes made to in the genesis.pot file related to the Genesis 1.9 update
@@ -141,6 +149,10 @@ Fixing a typo. It happens.
141
 
142
  == Upgrade Notice ==
143
 
 
 
 
 
144
  = 1.1 =
145
 
146
  * Adding Greek to translations.
4
  Tags: genesis, translations,
5
  Requires at least: 3.1
6
  Tested up to: 3.5.
7
+ Stable tag: 1.8.2
8
 
9
  Translate your Genesis powered WordPress site into one of the available languages.
10
 
14
 
15
  No need to fuss about with your `functions.php` file or uploading `.mo` and `.po` files. Just install this plugin et voil&aacute;!
16
 
17
+ Currently the following translations are available for Genesis 1.9.x
18
 
19
  * Danish - da_DK
20
  * Dutch - nl_NL
83
 
84
  == Changelog ==
85
 
86
+ = 1.8.2 =
87
+
88
+ * Updated Hebrew and Hungarian
89
+
90
+ = 1.8.1 =
91
+
92
+ * Accidentally deleted helper function. Sorry about that folks.
93
+
94
  = 1.8.0 =
95
 
96
  * Updated the translations to reflect the changes made to in the genesis.pot file related to the Genesis 1.9 update
149
 
150
  == Upgrade Notice ==
151
 
152
+ = 1.8.1 =
153
+
154
+ * Update to reflect changes in Genesis 1.9
155
+
156
  = 1.1 =
157
 
158
  * Adding Greek to translations.