| @@ -173,8 +173,10 @@ | ||
| 173 | 173 | if ($plugin['slug'] === $activation::slug()) { |
| 174 | 174 | return array_merge($plugin, [ |
| 175 | 175 | 'scriptData' => $activation::scriptData(), |
| 176 | 176 | 'eligible' => $activation::isEligible(), |
| 177 | + 'endpoint' => Config::$slug . '/' . Config::$apiVersion | |
| 178 | + . $activation::createAccountRoute(), | |
| 177 | 179 | ]); |
| 178 | 180 | } |
| 179 | 181 | } |
| 180 | 182 | |
| @@ -185,10 +187,10 @@ | ||
| 185 | 187 | $switchedLocale = \switch_to_locale(\get_locale()); |
| 186 | 188 | // translators: Short label stamped onto an image marking it as AI-generated. |
| 187 | 189 | // Give the all-caps form your language uses. |
| 188 | 190 | $aiImageLabel = \_x('AI GENERATED', 'uppercase', 'extendify-local'); |
| 189 | - // translators: %s is the image description. Alt text prefix marking an image as AI-generated. | |
| 190 | - $aiImageAltPattern = \__('AI Generated: %s', 'extendify-local'); | |
| 191 | + // translators: %s is the image description. Keep it first; the note after it marks the image as AI-generated. | |
| 192 | + $aiImageAltPattern = \__('%s (AI-generated)', 'extendify-local'); | |
| 191 | 193 | if ($switchedLocale) { |
| 192 | 194 | \restore_previous_locale(); |
| 193 | 195 | } |
| 194 | 196 | |