@@ -49,23 +49,20 @@ class Yoast_I18n_v3 {
4949 /**
5050 * Will contain the site's locale.
5151 *
52- * @access private
5352 * @var string
5453 */
5554 private $ locale ;
5655
5756 /**
5857 * Will contain the locale's name, obtained from your translation site.
5958 *
60- * @access private
6159 * @var string
6260 */
6361 private $ locale_name ;
6462
6563 /**
6664 * Will contain the percentage translated for the plugin translation project in the locale.
6765 *
68- * @access private
6966 * @var int
7067 */
7168 private $ percent_translated ;
@@ -101,15 +98,13 @@ class Yoast_I18n_v3 {
10198 /**
10299 * Indicates whether there's a translation available at all.
103100 *
104- * @access private
105101 * @var bool
106102 */
107103 private $ translation_exists ;
108104
109105 /**
110106 * Indicates whether the translation's loaded.
111107 *
112- * @access private
113108 * @var bool
114109 */
115110 private $ translation_loaded ;
@@ -171,8 +166,6 @@ private function get_admin_locale() {
171166 /**
172167 * This is where you decide where to display the messages and where you set the plugin specific variables.
173168 *
174- * @access private
175- *
176169 * @param array $args Contains the settings for the class.
177170 */
178171 private function init ( $ args ) {
@@ -184,8 +177,6 @@ private function init( $args ) {
184177 /**
185178 * Check whether the promo should be hidden or not.
186179 *
187- * @access private
188- *
189180 * @return bool
190181 */
191182 private function hide_promo () {
@@ -203,8 +194,6 @@ private function hide_promo() {
203194 /**
204195 * Returns the i18n_promo message from the i18n_module. Returns en empty string if the promo shouldn't be shown.
205196 *
206- * @access public
207- *
208197 * @return string The i18n promo message.
209198 */
210199 public function get_promo_message () {
@@ -218,9 +207,7 @@ public function get_promo_message() {
218207 /**
219208 * Generates a promo message.
220209 *
221- * @access private
222- *
223- * @return bool|string $message
210+ * @return bool|string
224211 */
225212 private function promo_message () {
226213
@@ -280,8 +267,6 @@ public function get_dismiss_i18n_message_button() {
280267
281268 /**
282269 * Outputs a promo box.
283- *
284- * @access public
285270 */
286271 public function promo () {
287272 $ message = $ this ->get_promo_message ();
@@ -306,8 +291,6 @@ public function promo() {
306291 /**
307292 * Try to find the transient for the translation set or retrieve them.
308293 *
309- * @access private
310- *
311294 * @return object|null
312295 */
313296 private function find_or_initialize_translation_details () {
@@ -323,8 +306,6 @@ private function find_or_initialize_translation_details() {
323306
324307 /**
325308 * Try to get translation details from cache, otherwise retrieve them, then parse them.
326- *
327- * @access private
328309 */
329310 private function translation_details () {
330311 $ set = $ this ->find_or_initialize_translation_details ();
@@ -360,8 +341,6 @@ private function get_api_url() {
360341 /**
361342 * Retrieve the translation details from Yoast Translate.
362343 *
363- * @access private
364- *
365344 * @return object|null
366345 */
367346 private function retrieve_translation_details () {
@@ -402,8 +381,6 @@ private function retrieve_translation_details() {
402381 * Set the needed private variables based on the results from Yoast Translate.
403382 *
404383 * @param object $set The translation set.
405- *
406- * @access private
407384 */
408385 private function parse_translation_set ( $ set ) {
409386 if ( $ this ->translation_exists && is_object ( $ set ) ) {
0 commit comments