Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
$hash = $this->state->get('sha1_hash');
$formUrl = 'index.php?option=com_contenthistory&view=history&layout=modal&tmpl=component&item_id=' . $this->state->get('item_id') . '&' . Session::getFormToken() . '=1';

Text::script('COM_CONTENTHISTORY_BUTTON_SELECT_ONE', true);
Text::script('COM_CONTENTHISTORY_BUTTON_SELECT_TWO', true);
Text::script('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION', true);
Text::script('COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS', true);
Text::script('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST');

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
Expand Down
4 changes: 2 additions & 2 deletions administrator/language/en-GB/com_contenthistory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ COM_CONTENTHISTORY_BUTTON_LOAD="Restore"
COM_CONTENTHISTORY_BUTTON_LOAD_DESC="This button loads the selected version into the edit form."
COM_CONTENTHISTORY_BUTTON_PREVIEW="Preview"
COM_CONTENTHISTORY_BUTTON_PREVIEW_DESC="This button allows you to see a preview of the selected version."
COM_CONTENTHISTORY_BUTTON_SELECT_ONE="Please select one version."
COM_CONTENTHISTORY_BUTTON_SELECT_TWO="Please select two versions."
COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION="Please select one version."
COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS="Please select two versions."
COM_CONTENTHISTORY_CHARACTER_COUNT="Character Count"
COM_CONTENTHISTORY_COMPARE_CAPTION="Table comparing two versions."
COM_CONTENTHISTORY_COMPARE_DIFF="Changes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
} else {
// @todo use the CE Modal here
alert(Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE'));
alert(Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION'));
}
return false;
});
Expand All @@ -36,7 +36,7 @@
}
} else {
// @todo use the CE Modal here
alert(Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE'));
alert(Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION'));
}
return false;
});
Expand All @@ -55,7 +55,7 @@
}
} else {
// @todo use the CE Modal here
alert(Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_TWO'));
alert(Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS'));
}
return false;
});
Expand Down
2 changes: 1 addition & 1 deletion language/en-GB/mod_tags_similar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MOD_TAGS_SIMILAR_FIELD_ALL="All"
MOD_TAGS_SIMILAR_FIELD_HALF="Half"
MOD_TAGS_SIMILAR_FIELD_MATCHTYPE_DESC="How closely an item's tags need to match. All - requires that all tags in the displayed item be matched. Any - requires that at least one tag match. Half - requires that at least half of the tags match (rounded up in the case of decimals)."
MOD_TAGS_SIMILAR_FIELD_MATCHTYPE_LABEL="Match Type"
MOD_TAGS_SIMILAR_FIELD_ONE="Any"
MOD_TAGS_SIMILAR_FIELD_ONE_TAG="Any"
MOD_TAGS_SIMILAR_FIELD_ORDERING_COUNT="Number of matching tags"
MOD_TAGS_SIMILAR_FIELD_ORDERING_COUNT_AND_RANDOM="Number of matching tags & Random"
MOD_TAGS_SIMILAR_FIELD_ORDERING_LABEL="Order Results"
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_tags_similar/mod_tags_similar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
validate="options"
>
<option value="all">MOD_TAGS_SIMILAR_FIELD_ALL</option>
<option value="any">MOD_TAGS_SIMILAR_FIELD_ONE</option>
<option value="any">MOD_TAGS_SIMILAR_FIELD_ONE_TAG</option>
<option value="half">MOD_TAGS_SIMILAR_FIELD_HALF</option>
</field>

Expand Down