scketer
Forum Replies Created
-
Forum: Plugins
In reply to: [Achievements for WordPress] TranslationsHi there.
Thanks for the answer. I replaced the code in the .php with the lines you mentioned, but unfortunately it didn’t work. Am I doing something wrong?<?php
/**
* Notifications template part; usually used for the “you’ve unlocked an achievement!” pop-ups.
*
* @package Achievements
* @since Achievements (3.5)
* @subpackage ThemeCompatibility
*/// Exit if accessed directly
if ( ! defined( ‘ABSPATH’ ) ) exit;
?><script type=”text/html” id=”tmpl-achievements-wrapper”>
<ul aria-live=”polite” id=”dpa-toaster” role=”status” style=”display: none”>
<h1><?php _e( ‘Achievement Unlocked’, ‘dpa’ ); ?></h1></script>
<script type=”text/html” id=”tmpl-achievements-item”>
<li class=”dpa-toast” id=”dpa-toast-id-{{ data.ID }}”>
<# if (data.image_url) { #>
<img class=”attachment-medium dpa-toast-image” src=”{{ data.image_url }}” style=”width: {{ data.image_width }}px” />
<# } #><h2>{{ data.title }}</h2>
<p>
<?php
( “Hey, you’ve unlocked the “{{ data.title }}†achievement. Congratulations!”, ‘dpa’ );
?>
</p><p>“><?php _e( ‘See your other achievements’, ‘dpa’ ); ?></p>
</script>
Forum: Plugins
In reply to: [Achievements for WordPress] TranslationsThanks for the answer.
Now I can translate almost everything, except the text that is shown in the pop-up label that comes with the unlock achievement.
For instance: “achievement unlock. You unlocked xxx achievement”.I checked my po and I translated everything. Can it be an update that is causing this?
Thanks in advance.