Commit 87794917 authored by Robert Ragas's avatar Robert Ragas

Change labels Yoast seo to Realtime seo for legal purpose

parent 8f667fa8
......@@ -16,7 +16,7 @@ function _yoast_seo_process_node_settings_form(&$form) {
if (isset($form['type'])) {
$form['yoast_seo'] = array(
'#type' => 'fieldset',
'#title' => t('Yoast SEO for Drupal settings'),
'#title' => t('Realtime SEO for Drupal settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#group' => 'additional_settings',
......@@ -57,7 +57,7 @@ function _yoast_seo_process_node_settings_form(&$form) {
$body_fields = variable_get('yoast_seo_body_fields_' . $node_type, array());
if (!isset($fields['body']) && !empty($node_type) && empty($body_fields)) {
$default = FALSE;
$description = t('Yoast SEO for Drupal cannot be enabled, because this content type does not have a body field. Add a body field !url.', array('!url' => l(t('here'), 'admin/structure/types/manage/' . $form['#node_type']->type . '/fields')));
$description = t('Realtime SEO for Drupal cannot be enabled, because this content type does not have a body field. Add a body field !url.', array('!url' => l(t('here'), 'admin/structure/types/manage/' . $form['#node_type']->type . '/fields')));
$disabled = TRUE;
$states = array(
'enabled' => array(
......@@ -71,7 +71,7 @@ function _yoast_seo_process_node_settings_form(&$form) {
$conditions = array();
}
$default = variable_get('yoast_seo_enable_node__' . $node_type, TRUE);
$description = t('Enable Yoast SEO for Drupal for this content type.');
$description = t('Enable Realtime SEO for Drupal for this content type.');
$disabled = FALSE;
$states = array(
'enabled' => array(
......@@ -100,7 +100,7 @@ function _yoast_seo_process_node_settings_form(&$form) {
$description = t('There is no filed that can be used as additional field.');
}
else {
$description = t('Select fields to use instead or in addition to body for Yoast SEO. Access to all fields must be allowed.');
$description = t('Select fields to use instead or in addition to body for Realtime SEO. Access to all fields must be allowed.');
}
$form['yoast_seo']['yoast_seo_body']['yoast_seo_body_fields'] = array(
......
Yoast SEO for Drupal
Realtime SEo for Drupal
---------------------------
Improve your Drupal SEO: Write better content and have a fully optimized Drupal content using Yoast SEO for Drupal module.
Improve your Drupal SEO: Write better content and have a fully optimized Drupal content using Realtime SEO for Drupal module.
This module is written from the ground up by joined forces from [Yoast](http://www.yoast.com) and [GoalGorilla](http://www.goalgorilla.com) to improve your site's SEO on *all* needed aspects. The [Yoast SEO for Drupal module](http://drupal.org/project/yoast_seo/) is heavily dependending on the [Metatag](http://drupal.org/project/metatag) module. Together they go the extra mile to take care of a lot technical optimization, more on that below, but it first and foremost helps you write better content. Yoast SEO forces you to choose a focus keyword when you're writing your articles, and then makes sure you use that focus keyword everywhere.
This module is written from the ground up by [GoalGorilla](http://www.goalgorilla.com) to improve your site's SEO on *all* needed aspects. The [Realtime SEO for Drupal module](http://drupal.org/project/yoast_seo/) is heavily dependending on the [Yoast](http://www.yoast.com) library and [Metatag](http://drupal.org/project/metatag) module . Together they go the extra mile to take care of a lot technical optimization, more on that below, but it first and foremost helps you write better content. Realtime SEO forces you to choose a focus keyword when you're writing your articles, and then makes sure you use that focus keyword everywhere.
......@@ -29,7 +29,7 @@ Step by step guide on how to install and use the Yoast SEO module:
Credits / Contact
------------------------------------------------------------------------------
First of all we want to give credit to the Metatag team! We decided to make this module a dependency for the Yoast SEO for Drupal module and not rebuild all of their excellent work.
First of all we want to give credit to the Metatag team! We decided to make this module a dependency for the Realtime SEO for Drupal module and not rebuild all of their excellent work.
Secondly we want to thank the Yoast team for giving us the opportunity to develop a great Drupal module in combination with their real-time page analysis solution.
......@@ -39,14 +39,14 @@ Please use the Drupal issue lists to report bugs or discuss ideas on improving t
References
------------------------------------------------------------------------------
Yoast SEO for Drupal module
* [Yoast SEO for Drupal](http://drupal.org/project/yoast_seo)
Realtime SEO for Drupal module
* [Realtime SEO for Drupal](http://drupal.org/project/yoast_seo)
Yoast SEO for Drupal module dependencies:
Realtime SEO for Drupal module dependencies:
* [Metatag](http://drupal.org/project/metatag) - requires v7.x-1.7 or newer.
* Node (Core)
* Path (Core)
Yoast SEO for Drupal module libraries:
Realtime SEO for Drupal module libraries:
* [js-text-analysis](https://github.com/Yoast/js-text-analysis)
* [Jed](https://github.com/SlexAxton/Jed)
......@@ -17,7 +17,7 @@ function yoast_seo_views_data() {
'base' => array(
'field' => 'entity_id',
'title' => t('Entity ID'),
'help' => t('The Entity ID the Yoast SEO data is attached to.'),
'help' => t('The Entity ID the Realtime SEO data is attached to.'),
),
'join' => array(
'node' => array(
......@@ -28,7 +28,7 @@ function yoast_seo_views_data() {
),
'entity_id' => array(
'title' => t('Entity ID'),
'help' => t('The Entity ID the Yoast SEO data is attached to.'),
'help' => t('The Entity ID the Realtime SEO data is attached to.'),
'relationship' => array(
'base' => 'node',
'field' => 'nid',
......@@ -52,7 +52,7 @@ function yoast_seo_views_data() {
),
'seo_status' => array(
'title' => t('SEO Score'),
'help' => t('Yoast SEO Score represented as a numeric value.'),
'help' => t('Realtime SEO Score represented as a numeric value.'),
'field' => array(
'handler' => 'views_handler_field_numeric',
'click sortable' => TRUE,
......@@ -66,7 +66,7 @@ function yoast_seo_views_data() {
),
'seo_rating' => array(
'title' => t('SEO Rating'),
'help' => t('Yoast SEO Rating represented using a traffic light system.'),
'help' => t('Realtime SEO Rating represented using a traffic light system.'),
'field' => array(
'handler' => 'yoast_seo_handler_rating',
),
......
name = Yoast SEO for Drupal
description = "Adds Yoast SEO page analysis and configuration"
name = Realtime SEO for Drupal
description = "Adds Realtime SEO page analysis and configuration"
package = SEO
core = 7.x
......
......@@ -9,13 +9,13 @@
*/
function yoast_seo_permission() {
$permissions['administer yoast seo'] = array(
'title' => t('Administer Yoast SEO for Drupal'),
'title' => t('Administer Realtime SEO for Drupal'),
'restrict access' => TRUE,
'description' => t('Control the main settings pages and configure the settings per content types.'),
);
$permissions['use yoast seo'] = array(
'title' => t('Use Yoast SEO for Drupal'),
'description' => t('Modify Yoast SEO for Drupal configuration per individual nodes.'),
'title' => t('Use Realtime SEO for Drupal'),
'description' => t('Modify Realtime SEO for Drupal configuration per individual nodes.'),
);
return $permissions;
......@@ -26,8 +26,8 @@ function yoast_seo_permission() {
*/
function yoast_seo_menu() {
$items['admin/config/search/yoast'] = array(
'title' => 'Yoast SEO for Drupal',
'description' => 'Configure Yoast SEO for Drupal settings',
'title' => 'Realtime SEO for Drupal',
'description' => 'Configure Realtime SEO for Drupal settings',
'page callback' => 'drupal_get_form',
'page arguments' => array('yoast_seo_admin_settings_form'),
'access arguments' => array('administer yoast seo'),
......@@ -81,7 +81,7 @@ function yoast_seo_configuration_form(array &$form, $instance, array $options =
$form['yoast_seo'] = array(
'#type' => 'container',
'#title' => t('Yoast SEO'),
'#title' => t('Realtime SEO'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#multilingual' => TRUE,
......@@ -257,7 +257,7 @@ function yoast_seo_configuration_form_after_build($form, &$form_state) {
$score = !empty($form['yoast_seo'][$langcode]['seo_status']['#value']) ? yoast_seo_score_rating($form['yoast_seo'][$langcode]['seo_status']['#value']) : yoast_seo_score_rating(0);
// Add the Yoast SEO title before the wrapper.
$form['yoast_seo'][$langcode]['focus_keyword']['#prefix'] = '<h3 class="wrapper-title">' . t('Yoast SEO for Drupal') . '</h3>';
$form['yoast_seo'][$langcode]['focus_keyword']['#prefix'] = '<h3 class="wrapper-title">' . t('Realtime SEO for Drupal') . '</h3>';
// Output the overall score next to the focus keyword.
$form['yoast_seo'][$langcode]['focus_keyword']['#suffix'] = '<div id="yoast-overallscore" class="overallScore ' . $score . '">
......@@ -561,7 +561,7 @@ function yoast_seo_configuration_load_multiple($entity_type, array $entity_ids,
// Also need to check if the Yoast SEO table exists since this condition could
// fire before the table has been installed yet.
if (!db_table_exists('yoast_seo')) {
watchdog('yoast_seo', 'The system tried to load Yoast SEO for Drupal data before the schema was fully loaded.', array(), WATCHDOG_WARNING);
watchdog('yoast_seo', 'The system tried to load Realtime SEO for Drupal data before the schema was fully loaded.', array(), WATCHDOG_WARNING);
return array();
}
......
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