Commit fa406839 authored by aspilicious's avatar aspilicious Committed by tim.plunkett

move @Translation back as the original strings are translatable

parent 7552e03c
......@@ -8,6 +8,7 @@
namespace Drupal\views_test\Plugin\views\access;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
use Drupal\views\Plugin\views\access\AccessPluginBase;
/**
......@@ -15,8 +16,8 @@
*
* @Plugin(
* plugin_id = "test_dynamic",
* title = "Dynamic test access plugin.",
* help = "Provides a dynamic test access plugin."
* title = @Translation("Dynamic test access plugin."),
* help = @Translation("Provides a dynamic test access plugin.")
* )
*/
class DynamicTest extends AccessPluginBase {
......
......@@ -8,6 +8,7 @@
namespace Drupal\views_test\Plugin\views\access;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
use Drupal\views\Plugin\views\access\AccessPluginBase;
/**
......@@ -15,8 +16,8 @@
*
* @Plugin(
* plugin_id = "test_static",
* title = "Static test access plugin",
* help = "Provides a static test access plugin."
* title = @Translation("Static test access plugin"),
* help = @Translation("Provides a static test access plugin.")
* )
*/
class StaticTest extends AccessPluginBase {
......
......@@ -8,6 +8,7 @@
namespace Drupal\views_test\Plugin\views\localization;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
use Drupal\views\Plugin\views\localization\LocalizationPluginBase;
/**
......@@ -15,8 +16,8 @@
*
* @Plugin(
* plugin_id = "test_localization",
* title = "Test.",
* help = "This is a test description.",
* title = @Translation("Test."),
* help = @Translation("This is a test description."),
* no_uid = TRUE
* )
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment