Version 2.0 imminent

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2407529 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Mark Cheret 2020-10-27 11:56:49 +00:00
parent cf553462a6
commit 6cef45746d
24 changed files with 1298 additions and 1542 deletions

View file

@ -15,299 +15,299 @@
*/ */
class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
/** /**
* Returns a Priority index. Lower numbers have a higher Priority. * Returns a Priority index. Lower numbers have a higher Priority.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @return int * @return int
*/ */
public function getPriority() { public function getPriority() {
return 10; return 10;
} }
/** /**
* Returns the unique slug of the sub page. * Returns the unique slug of the sub page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @return string * @return string
*/ */
protected function getSubPageSlug() { protected function getSubPageSlug() {
return "-" . MCI_Footnotes_Config::C_STR_PLUGIN_NAME; return "-" . MCI_Footnotes_Config::C_STR_PLUGIN_NAME;
} }
/** /**
* Returns the title of the sub page. * Returns the title of the sub page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @return string * @return string
*/ */
protected function getSubPageTitle() { protected function getSubPageTitle() {
return MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME; return MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME;
} }
/** /**
* Returns an array of all registered sections for the sub page. * Returns an array of all registered sections for the sub page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @return array * @return array
*/ */
protected function getSections() { protected function getSections() {
$l_arr_Tabs = array(); $l_arr_Tabs = array();
$l_arr_Tabs[] = $this->addSection("settings", __("Settings", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 0, true); $l_arr_Tabs[] = $this->addSection("settings", __("Settings", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 0, true);
$l_arr_Tabs[] = $this->addSection("customize", __("Customize", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 1, true); $l_arr_Tabs[] = $this->addSection("customize", __("Customize", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 1, true);
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE))) { if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE))) {
$l_arr_Tabs[] = $this->addSection("expert", __("Expert mode", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 2, true); $l_arr_Tabs[] = $this->addSection("expert", __("Expert mode", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 2, true);
} }
$l_arr_Tabs[] = $this->addSection("how-to", __("Preview", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), null, false); $l_arr_Tabs[] = $this->addSection("how-to", __("How to", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), null, false);
return $l_arr_Tabs; return $l_arr_Tabs;
} }
/** /**
* Returns an array of all registered meta boxes for each section of the sub page. * Returns an array of all registered meta boxes for each section of the sub page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @return array * @return array
*/ */
protected function getMetaBoxes() { protected function getMetaBoxes() {
return array( return array(
$this->addMetaBox("settings", "reference-container", __("References Container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "ReferenceContainer"), $this->addMetaBox("settings", "reference-container", __("References Container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "ReferenceContainer"),
$this->addMetaBox("settings", "styling", sprintf(__("%s styling", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME), "Styling"), $this->addMetaBox("settings", "styling", sprintf(__("%s styling", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME), "Styling"),
$this->addMetaBox("settings", "love", MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME . ' ' . MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, "Love"), $this->addMetaBox("settings", "love", MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME . ' ' . MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, "Love"),
$this->addMetaBox("settings", "other", __("Other", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Other"), $this->addMetaBox("settings", "other", __("Other", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Other"),
$this->addMetaBox("customize", "superscript", __("Superscript layout", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Superscript"), $this->addMetaBox("customize", "superscript", __("Superscript layout", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Superscript"),
$this->addMetaBox("customize", "mouse-over-box", __("Mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "MouseOverBox"), $this->addMetaBox("customize", "mouse-over-box", __("Mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "MouseOverBox"),
$this->addMetaBox("customize", "hyperlink-arrow", __("Hyperlink symbol in the Reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "HyperlinkArrow"),
$this->addMetaBox("customize", "custom-css", __("Add custom CSS to the public page", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "CustomCSS"), $this->addMetaBox("customize", "custom-css", __("Add custom CSS to the public page", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "CustomCSS"),
$this->addMetaBox("expert", "lookup", __("WordPress hooks to look for Footnote short codes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "lookupHooks"), $this->addMetaBox("expert", "lookup", __("WordPress hooks to look for Footnote short codes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "lookupHooks"),
$this->addMetaBox("how-to", "help", __("Brief introduction in how to use the plugin", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Help"), $this->addMetaBox("how-to", "help", __("Brief introduction in how to use the plugin", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Help"),
$this->addMetaBox("how-to", "donate", __("Help us to improve our Plugin", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Donate") $this->addMetaBox("how-to", "donate", __("Help us to improve our Plugin", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Donate")
); );
} }
/** /**
* Displays all settings for the reference container. * Displays all settings for the reference container.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function ReferenceContainer() { public function ReferenceContainer() {
// options for the positioning of the reference container // options for the positioning of the reference container
$l_arr_Positions = array( $l_arr_Positions = array(
"footer" => __("in the footer", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "footer" => __("in the footer", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"post_end" => __("at the end of the post", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "post_end" => __("at the end of the post", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"widget" => __("in the widget area", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "widget" => __("in the widget area", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-reference-container"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-reference-container");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-name" => $this->addLabel(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME, __("References label", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-name" => $this->addLabel(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME, __("References label", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"name" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME), "name" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME),
"label-collapse" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE, __("Collapse references by default", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-collapse" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE, __("Collapse references by default", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"collapse" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE), "collapse" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE),
"label-position" => $this->addLabel(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION, __("Where shall the reference container appear", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-position" => $this->addLabel(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION, __("Where shall the reference container appear", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"position" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION, $l_arr_Positions) "position" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION, $l_arr_Positions)
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all settings for the footnotes styling. * Displays all settings for the footnotes styling.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function Styling() { public function Styling() {
// define some space for the output // define some space for the output
$l_str_Space = "     "; $l_str_Space = "     ";
// options for the combination of identical footnotes // options for the combination of identical footnotes
$l_arr_CombineIdentical = array( $l_arr_CombineIdentical = array(
"yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// options for the start of the footnotes short code // options for the start of the footnotes short code
$l_arr_ShortCodeStart = array( $l_arr_ShortCodeStart = array(
"((" => "((", "((" => "((",
htmlspecialchars("<fn>") => htmlspecialchars("<fn>"), htmlspecialchars("<fn>") => htmlspecialchars("<fn>"),
"[ref]" => "[ref]", "[ref]" => "[ref]",
"userdefined" => __('user defined', MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "userdefined" => __('user defined', MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// options for the end of the footnotes short code // options for the end of the footnotes short code
$l_arr_ShortCodeEnd = array( $l_arr_ShortCodeEnd = array(
"))" => "))", "))" => "))",
htmlspecialchars("</fn>") => htmlspecialchars("</fn>"), htmlspecialchars("</fn>") => htmlspecialchars("</fn>"),
"[/ref]" => "[/ref]", "[/ref]" => "[/ref]",
"userdefined" => __('user defined', MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "userdefined" => __('user defined', MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// options for the counter style of the footnotes // options for the counter style of the footnotes
$l_arr_CounterStyle = array( $l_arr_CounterStyle = array(
"arabic_plain" => __("Arabic Numbers - Plain", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "1, 2, 3, 4, 5, ...", "arabic_plain" => __("Arabic Numbers - Plain", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "1, 2, 3, 4, 5, ...",
"arabic_leading" => __("Arabic Numbers - Leading 0", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "01, 02, 03, 04, 05, ...", "arabic_leading" => __("Arabic Numbers - Leading 0", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "01, 02, 03, 04, 05, ...",
"latin_low" => __("Latin Character - lower case", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "a, b, c, d, e, ...", "latin_low" => __("Latin Character - lower case", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "a, b, c, d, e, ...",
"latin_high" => __("Latin Character - upper case", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "A, B, C, D, E, ...", "latin_high" => __("Latin Character - upper case", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "A, B, C, D, E, ...",
"romanic" => __("Roman Numerals", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "I, II, III, IV, V, ..." "romanic" => __("Roman Numerals", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "I, II, III, IV, V, ..."
); );
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-styling"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-styling");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-identical" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES, __("Combine identical footnotes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-identical" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES, __("Combine identical footnotes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"identical" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES, $l_arr_CombineIdentical), "identical" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES, $l_arr_CombineIdentical),
"label-short-code-start" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, __("Footnote tag starts with", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-short-code-start" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, __("Footnote tag starts with", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"short-code-start" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, $l_arr_ShortCodeStart), "short-code-start" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, $l_arr_ShortCodeStart),
"label-short-code-end" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, __("and ends with", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-short-code-end" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, __("and ends with", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"short-code-end" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, $l_arr_ShortCodeEnd), "short-code-end" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, $l_arr_ShortCodeEnd),
"label-short-code-start-user" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED, ""), "label-short-code-start-user" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED, ""),
"short-code-start-user" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED), "short-code-start-user" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED),
"label-short-code-end-user" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED, ""), "label-short-code-end-user" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED, ""),
"short-code-end-user" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED), "short-code-end-user" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED),
"label-counter-style" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE, __("Counter style", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-counter-style" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE, __("Counter style", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"counter-style" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE, $l_arr_CounterStyle), "counter-style" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE, $l_arr_CounterStyle),
"short-code-start-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, "short-code-start-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START,
"short-code-end-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, "short-code-end-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END,
"short-code-start-user-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED, "short-code-start-user-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED,
"short-code-end-user-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED, "short-code-end-user-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED,
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all settings for 'I love Footnotes'. * Displays all settings for 'I love Footnotes'.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function Love() { public function Love() {
// options for the positioning of the reference container // options for the positioning of the reference container
$l_arr_Love = array( $l_arr_Love = array(
"text-1" => sprintf(__('I %s %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME), "text-1" => sprintf(__('I %s %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME),
"text-2" => sprintf(__('this site uses the awesome %s Plugin', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME), "text-2" => sprintf(__('this site uses the awesome %s Plugin', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME),
"text-3" => sprintf(__('extra smooth %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME), "text-3" => sprintf(__('extra smooth %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME),
"random" => __('random text', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "random" => __('random text', MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => sprintf(__("Don't display a %s %s text in my footer.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME, MCI_Footnotes_Config::C_STR_LOVE_SYMBOL) "no" => sprintf(__("Don't display a %s %s text in my footer.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME, MCI_Footnotes_Config::C_STR_LOVE_SYMBOL)
); );
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-love"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-love");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-love" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE, sprintf(__("Tell the world you're using %s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME)), "label-love" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE, sprintf(__("Tell the world you're using %s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME)),
"love" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE, $l_arr_Love), "love" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE, $l_arr_Love),
"label-no-love" => $this->addText(sprintf(__("Don't tell the world you're using %s on specific pages by adding the following short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME)), "label-no-love" => $this->addText(sprintf(__("Don't tell the world you're using %s on specific pages by adding the following short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME)),
"no-love" => $this->addText(MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG) "no-love" => $this->addText(MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG)
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all settings that are not grouped in special meta boxes. * Displays all settings that are not grouped in special meta boxes.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function Other() { public function Other() {
// options for the Footnotes to be replaced in excerpt // options for the Footnotes to be replaced in excerpt
$l_arr_Enabled = array( $l_arr_Enabled = array(
"yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-other"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-other");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT, __("Allow footnotes on Summarized Posts", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT, __("Allow footnotes on Summarized Posts", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"excerpt" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT, $l_arr_Enabled), "excerpt" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT, $l_arr_Enabled),
"label-expert-mode" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE, __("Enable the Expert mode", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-expert-mode" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE, __("Enable the Expert mode", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"expert-mode" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE, $l_arr_Enabled) "expert-mode" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE, $l_arr_Enabled)
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all settings for the footnotes Superscript. * Displays all settings for the footnotes Superscript.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function Superscript() { public function Superscript() {
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-superscript"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-superscript");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-before" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE, __("Before Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-before" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE, __("Before Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"before" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE), "before" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE),
"label-after" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER, __("After Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-after" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER, __("After Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"after" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER) "after" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER)
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all settings for the footnotes mouse-over box. * Displays all settings for the footnotes mouse-over box.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.2 * @since 1.5.2
*/ */
public function MouseOverBox() { public function MouseOverBox() {
// options for the Footnotes to be replaced in excerpt // options for the Footnotes to be replaced in excerpt
$l_arr_Enabled = array( $l_arr_Enabled = array(
"yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// options for the Mouse-over box position // options for the Mouse-over box position
$l_arr_Position = array( $l_arr_Position = array(
"top left" => __("top left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "top left" => __("top left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"top center" => __("top center", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "top center" => __("top center", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"top right" => __("top right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "top right" => __("top right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"center right" => __("center right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "center right" => __("center right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"bottom right" => __("bottom right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "bottom right" => __("bottom right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"bottom center" => __("bottom center", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "bottom center" => __("bottom center", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"bottom left" => __("bottom left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "bottom left" => __("bottom left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"center left" => __("center left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "center left" => __("center left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
); );
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-mouse-over-box"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-mouse-over-box");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-enable" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, __("Enable the mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-enable" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, __("Enable the mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"enable" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, $l_arr_Enabled), "enable" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, $l_arr_Enabled),
"label-activate-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, __("Display only an excerpt", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-activate-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, __("Display only an excerpt", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"activate-excerpt" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, $l_arr_Enabled), "activate-excerpt" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, $l_arr_Enabled),
@ -315,18 +315,18 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
"label-excerpt-length" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, __("Maximum characters for the excerpt", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-excerpt-length" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, __("Maximum characters for the excerpt", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"excerpt-length" => $this->addTextBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH), "excerpt-length" => $this->addTextBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH),
"label-position" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, __("Position", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-position" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, __("Position", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"position" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, $l_arr_Position), "position" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, $l_arr_Position),
"label-offset-x" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, __("Offset X (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-offset-x" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, __("Offset X (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"offset-x" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, -50, 50), "offset-x" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, -50, 50),
"notice-offset-x" => __("Offset (X axis) in px (may be negative)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "notice-offset-x" => __("Offset (X axis) in px (may be negative)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-offset-y" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, __("Offset Y (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-offset-y" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, __("Offset Y (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"offset-y" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, -50, 50), "offset-y" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, -50, 50),
"notice-offset-y" => __("Offset (Y axis) in px (may be negative)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "notice-offset-y" => __("Offset (Y axis) in px (may be negative)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-color" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR, __("Color", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-color" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR, __("Color", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR), "color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR),
"notice-color" => __("Empty color will use the default color defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "notice-color" => __("Empty color will use the default color defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
@ -354,72 +354,45 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
"box-shadow-color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR), "box-shadow-color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR),
"notice-box-shadow-color" => __("Empty color will use the default box shadow defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "notice-box-shadow-color" => __("Empty color will use the default box shadow defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all settings for the hyperlink arrow. * Displays the custom css box.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function HyperlinkArrow() { public function CustomCSS() {
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-hyperlink-arrow"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-css");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-symbol" => $this->addLabel(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW, __("Hyperlink symbol", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-css" => $this->addLabel(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS, __("Add custom CSS", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"symbol" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW, MCI_Footnotes_Convert::getArrow()), "css" => $this->addTextArea(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS),
"label-user-defined" => $this->addLabel(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED, __("or enter a user defined symbol", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "headline" => $this->addText(__("Available CSS classes to customize the footnotes and the reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"user-defined" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED),
"comment" => __("if set it overrides the hyperlink symbol above", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/** "label-class-1" => ".footnote_plugin_tooltip_text",
* Displays the custom css box. "class-1" => $this->addText(__("superscript, Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function CustomCSS() {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-css");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-css" => $this->addLabel(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS, __("Add custom CSS", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"css" => $this->addTextArea(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS),
"headline" => $this->addText(__("Available CSS classes to customize the footnotes and the reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "label-class-2" => ".footnote_tooltip",
"class-2" => $this->addText(__("mouse-over box, tooltip for each superscript", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-1" => ".footnote_plugin_tooltip_text", "label-class-3" => ".footnote_plugin_index",
"class-1" => $this->addText(__("superscript, Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "class-3" => $this->addText(__("1st column of the Reference Container, Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-2" => ".footnote_tooltip", "label-class-4" => ".footnote_plugin_text",
"class-2" => $this->addText(__("mouse-over box, tooltip for each superscript", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "class-4" => $this->addText(__("2nd column of the Reference Container, Footnote text", MCI_Footnotes_Config::C_STR_PLUGIN_NAME))
)
"label-class-3" => ".footnote_plugin_index", );
"class-3" => $this->addText(__("1st column of the Reference Container, Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), // display template with replaced placeholders
echo $l_obj_Template->getContent();
"label-class-4" => ".footnote_plugin_link", }
"class-4" => $this->addText(__("2nd column of the Reference Container, Arrow / Hyperlink", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-5" => ".footnote_plugin_text",
"class-5" => $this->addText(__("3rd column of the Reference Container, Footnote text", MCI_Footnotes_Config::C_STR_PLUGIN_NAME))
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/** /**
* Displays available Hooks to look for Footnote short codes. * Displays available Hooks to look for Footnote short codes.
@ -466,71 +439,71 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays a short introduction of the Plugin. * Displays a short introduction of the Plugin.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function Help() { public function Help() {
global $g_obj_MCI_Footnotes; global $g_obj_MCI_Footnotes;
// load footnotes starting and end tag // load footnotes starting and end tag
$l_arr_Footnote_StartingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START); $l_arr_Footnote_StartingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START);
$l_arr_Footnote_EndingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END); $l_arr_Footnote_EndingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END);
if ($l_arr_Footnote_StartingTag["value"] == "userdefined" || $l_arr_Footnote_EndingTag["value"] == "userdefined") { if ($l_arr_Footnote_StartingTag["value"] == "userdefined" || $l_arr_Footnote_EndingTag["value"] == "userdefined") {
// load user defined starting and end tag // load user defined starting and end tag
$l_arr_Footnote_StartingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED); $l_arr_Footnote_StartingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED);
$l_arr_Footnote_EndingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED); $l_arr_Footnote_EndingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED);
} }
$l_str_Example = "Hello" . $l_arr_Footnote_StartingTag["value"] . $l_str_Example = "Hello" . $l_arr_Footnote_StartingTag["value"] .
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,". "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,".
" sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.". " sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.".
" Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,". " Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,".
" consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.". " consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.".
" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." " At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
. $l_arr_Footnote_EndingTag["value"] . " World!"; . $l_arr_Footnote_EndingTag["value"] . " World!";
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "how-to-help"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "how-to-help");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"label-start" => __("Start your footnote with the following short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "label-start" => __("Start your footnote with the following short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"start" => $l_arr_Footnote_StartingTag["value"], "start" => $l_arr_Footnote_StartingTag["value"],
"label-end" => __("...and end your footnote with this short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "label-end" => __("...and end your footnote with this short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"end" => $l_arr_Footnote_EndingTag["value"], "end" => $l_arr_Footnote_EndingTag["value"],
"example-code" => $l_str_Example, "example-code" => $l_str_Example,
"example-string" => "<br/>" . __("will be displayed as:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "example-string" => "<br/>" . __("will be displayed as:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"example" => $g_obj_MCI_Footnotes->a_obj_Task->exec($l_str_Example, true), "example" => $g_obj_MCI_Footnotes->a_obj_Task->exec($l_str_Example, true),
"information" => sprintf(__("For further information please check out our %ssupport forum%s on WordPress.org.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '<a href="http://wordpress.org/support/plugin/footnotes" target="_blank" class="footnote_plugin">', '</a>') "information" => sprintf(__("For further information please check out our %ssupport forum%s on WordPress.org.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '<a href="http://wordpress.org/support/plugin/footnotes" target="_blank" class="footnote_plugin">', '</a>')
) )
); );
// call wp_head function to get the Styling of the mouse-over box // call wp_head function to get the Styling of the mouse-over box
$g_obj_MCI_Footnotes->a_obj_Task->wp_head(); $g_obj_MCI_Footnotes->a_obj_Task->wp_head();
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
/** /**
* Displays all Donate button to support the developers. * Displays all Donate button to support the developers.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function Donate() { public function Donate() {
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "how-to-donate"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "how-to-donate");
// replace all placeholders // replace all placeholders
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"caption" => __('Donate now',MCI_Footnotes_Config::C_STR_PLUGIN_NAME) "caption" => __('Donate now',MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
) )
); );
// display template with replaced placeholders // display template with replaced placeholders
echo $l_obj_Template->getContent(); echo $l_obj_Template->getContent();
} }
} }

View file

@ -6,7 +6,8 @@
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56 * @since 1.5.0 12.09.14 10:56
*/ */
// Added jQueryUI on 2020-10-26T1907+0100
// Following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
/** /**
* Entry point of the Plugin. Loads the Dashboard and executes the Task. * Entry point of the Plugin. Loads the Dashboard and executes the Task.
@ -90,9 +91,17 @@ class MCI_Footnotes {
* @since 1.5.0 * @since 1.5.0
*/ */
public function registerPublic() { public function registerPublic() {
// Add jQueryUI following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>:
wp_register_script( 'jQueryUI', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js', null, null, true );
wp_enqueue_script( 'jQueryUI' );
wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__)); wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__));
// add the jQuery plugin (already registered by WordPress) // add the jQuery plugin (already registered by WordPress)
wp_enqueue_script('jquery'); wp_enqueue_script('jquery');
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__));
// Finish adding jQueryUI:
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__), ['jQueryUI']);
} }
} }

View file

@ -31,7 +31,12 @@ class MCI_Footnotes_Language {
*/ */
public static function loadTextDomain() { public static function loadTextDomain() {
// language file with localization exists // language file with localization exists
if (self::load(apply_filters('plugin_locale', get_locale()))) { if (self::load(apply_filters('plugin_locale', get_locale(), ''))) {
// added 3rd (empty) parameter as a PHP-related bug fix thanks to MatKus (@matkus) in
// <https://wordpress.org/support/topic/error-missing-parameter-if-using-php-7-1-or-later/>
// <https://www.php.net/manual/en/migration71.incompatible.php>
// "Fatal error: Uncaught ArgumentCountError: Too few arguments […]"
// 2020-10-26T1609+0100
return; return;
} }
// fallback to english // fallback to english
@ -50,4 +55,4 @@ class MCI_Footnotes_Language {
return load_textdomain(MCI_Footnotes_Config::C_STR_PLUGIN_NAME, return load_textdomain(MCI_Footnotes_Config::C_STR_PLUGIN_NAME,
dirname(__FILE__) . "/../languages/" . $p_str_LanguageCode . '.mo'); dirname(__FILE__) . "/../languages/" . $p_str_LanguageCode . '.mo');
} }
} }

View file

@ -6,7 +6,19 @@
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
/*
Customization: 2020-06-23T0613+0200 custom styles, fixed print output [now in public.css]
Customization: 2020-09-09T2140+0200 raised scroll level, shorter scroll time [reference-container.html]
Customization: 2020-09-09T2140+0200 changed parameters off dashboard [tooltip.html]
Debugging: 2020-09-09T2140+0200 fixed missing or wrong links #0#
Usability: 2020-09-09T2140+0200 voided $a_str_Prefix #1#
Usability: 2020-09-09T2140+0200 added line breaks #2#
Translation: 2020-09-10T2104+0200 fix infobox text and missing setting #0#
Upgrade v1.6.5: 2020-10-23T0252+0200 #3#
Last modified: 2020-10-23T0611+0200
*/
// If called directly, abort:
defined( 'ABSPATH' ) or die;
/** /**
* Looks for Footnotes short codes and replaces them. Also displays the Reference Container. * Looks for Footnotes short codes and replaces them. Also displays the Reference Container.
@ -16,45 +28,45 @@
*/ */
class MCI_Footnotes_Task { class MCI_Footnotes_Task {
/** /**
* Contains all footnotes found on current public page. * Contains all footnotes found on current public page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @var array * @var array
*/ */
public static $a_arr_Footnotes = array(); public static $a_arr_Footnotes = array();
/** /**
* Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page. * Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @var bool * @var bool
*/ */
public static $a_bool_AllowLoveMe = true; public static $a_bool_AllowLoveMe = true;
/** /**
* Prefix for the Footnote html element ID. * Prefix for the Footnote html element ID.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.8 * @since 1.5.8
* @var string * @var string
*/ */
public static $a_str_Prefix = ""; public static $a_str_Prefix = "";
/** /**
* Register WordPress Hooks to replace Footnotes in the content of a public page. * Register WordPress Hooks to replace Footnotes in the content of a public page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function registerHooks() { public function registerHooks() {
// append custom css to the header // append custom css to the header
add_filter('wp_head', array($this, "wp_head"), PHP_INT_MAX); add_filter('wp_head', array($this, "wp_head"), PHP_INT_MAX);
// append the love and share me slug to the footer // append the love and share me slug to the footer
add_filter('wp_footer', array($this, "wp_footer"), PHP_INT_MAX); add_filter('wp_footer', array($this, "wp_footer"), PHP_INT_MAX);
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_TITLE))) { if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_TITLE))) {
add_filter('the_title', array($this, "the_title"), PHP_INT_MAX); add_filter('the_title', array($this, "the_title"), PHP_INT_MAX);
@ -77,24 +89,24 @@ class MCI_Footnotes_Task {
// reset stored footnotes when displaying the header // reset stored footnotes when displaying the header
self::$a_arr_Footnotes = array(); self::$a_arr_Footnotes = array();
self::$a_bool_AllowLoveMe = true; self::$a_bool_AllowLoveMe = true;
} }
/** /**
* Outputs the custom css to the header of the public page. * Outputs the custom css to the header of the public page.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function wp_head() { public function wp_head() {
$l_str_Color = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR); $l_str_Color = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR);
$l_str_Background = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND); $l_str_Background = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND);
$l_int_BorderWidth = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH); $l_int_BorderWidth = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH);
$l_str_BorderColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR); $l_str_BorderColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR);
$l_int_BorderRadius = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS); $l_int_BorderRadius = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS);
$l_int_MaxWidth = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH); $l_int_MaxWidth = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH);
$l_str_BoxShadowColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR); $l_str_BoxShadowColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR);
?> ?>
<style type="text/css" media="screen"> <style type="text/css" media="screen">
<?php <?php
echo MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS); echo MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS);
echo '.footnote_tooltip { display: none; padding: 12px; font-size: 13px;'; echo '.footnote_tooltip { display: none; padding: 12px; font-size: 13px;';
@ -124,45 +136,45 @@ class MCI_Footnotes_Task {
echo '}'; echo '}';
?> ?>
</style> </style>
<?php <?php
} }
/** /**
* Displays the 'LOVE FOOTNOTES' slug if enabled. * Displays the 'LOVE FOOTNOTES' slug if enabled.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
*/ */
public function wp_footer() { public function wp_footer() {
if (MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "footer") { if (MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "footer") {
echo $this->ReferenceContainer(); echo $this->ReferenceContainer();
} }
// get setting for love and share this plugin // get setting for love and share this plugin
$l_str_LoveMeIndex = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE); $l_str_LoveMeIndex = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE);
// check if the admin allows to add a link to the footer // check if the admin allows to add a link to the footer
if (empty($l_str_LoveMeIndex) || strtolower($l_str_LoveMeIndex) == "no" || !self::$a_bool_AllowLoveMe) { if (empty($l_str_LoveMeIndex) || strtolower($l_str_LoveMeIndex) == "no" || !self::$a_bool_AllowLoveMe) {
return; return;
} }
// set a hyperlink to the word "footnotes" in the Love slug // set a hyperlink to the word "footnotes" in the Love slug
$l_str_LinkedName = sprintf('<a href="http://wordpress.org/plugins/footnotes/" target="_blank" style="text-decoration:none;">%s</a>',MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME); $l_str_LinkedName = sprintf('<a href="http://wordpress.org/plugins/footnotes/" target="_blank" style="text-decoration:none;">%s</a>',MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME);
// get random love me text // get random love me text
if (strtolower($l_str_LoveMeIndex) == "random") { if (strtolower($l_str_LoveMeIndex) == "random") {
$l_str_LoveMeIndex = "text-" . rand(1,3); $l_str_LoveMeIndex = "text-" . rand(1,3);
} }
switch ($l_str_LoveMeIndex) { switch ($l_str_LoveMeIndex) {
case "text-1": case "text-1":
$l_str_LoveMeText = sprintf(__('I %s %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, $l_str_LinkedName); $l_str_LoveMeText = sprintf(__('I %s %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, $l_str_LinkedName);
break; break;
case "text-2": case "text-2":
$l_str_LoveMeText = sprintf(__('this site uses the awesome %s Plugin', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), $l_str_LinkedName); $l_str_LoveMeText = sprintf(__('this site uses the awesome %s Plugin', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), $l_str_LinkedName);
break; break;
case "text-3": case "text-3":
default: default:
$l_str_LoveMeText = sprintf(__('extra smooth %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), $l_str_LinkedName); $l_str_LoveMeText = sprintf(__('extra smooth %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), $l_str_LinkedName);
break; break;
} }
echo sprintf('<div style="text-align:center; color:#acacac;">%s</div>', $l_str_LoveMeText); echo sprintf('<div style="text-align:center; color:#acacac;">%s</div>', $l_str_LoveMeText);
} }
/** /**
* Replaces footnotes in the post/page title. * Replaces footnotes in the post/page title.
@ -177,30 +189,30 @@ class MCI_Footnotes_Task {
return $this->exec($p_str_Content, false); return $this->exec($p_str_Content, false);
} }
/** /**
* Replaces footnotes in the content of the current page/post. * Replaces footnotes in the content of the current page/post.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @param string $p_str_Content Page/Post content. * @param string $p_str_Content Page/Post content.
* @return string Content with replaced footnotes. * @return string Content with replaced footnotes.
*/ */
public function the_content($p_str_Content) { public function the_content($p_str_Content) {
// appends the reference container if set to "post_end" // appends the reference container if set to "post_end"
return $this->exec($p_str_Content, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "post_end" ? true : false); return $this->exec($p_str_Content, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "post_end" ? true : false);
} }
/** /**
* Replaces footnotes in the excerpt of the current page/post. * Replaces footnotes in the excerpt of the current page/post.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @param string $p_str_Content Page/Post content. * @param string $p_str_Content Page/Post content.
* @return string Content with replaced footnotes. * @return string Content with replaced footnotes.
*/ */
public function the_excerpt($p_str_Content) { public function the_excerpt($p_str_Content) {
return $this->exec($p_str_Content, false, !MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT))); return $this->exec($p_str_Content, false, !MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT)));
} }
/** /**
* Replaces footnotes in the widget title. * Replaces footnotes in the widget title.
@ -215,18 +227,18 @@ class MCI_Footnotes_Task {
return $this->exec($p_str_Content, false); return $this->exec($p_str_Content, false);
} }
/** /**
* Replaces footnotes in the content of the current widget. * Replaces footnotes in the content of the current widget.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @param string $p_str_Content Widget content. * @param string $p_str_Content Widget content.
* @return string Content with replaced footnotes. * @return string Content with replaced footnotes.
*/ */
public function widget_text($p_str_Content) { public function widget_text($p_str_Content) {
// appends the reference container if set to "post_end" // appends the reference container if set to "post_end"
return $this->exec($p_str_Content, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "post_end" ? true : false); return $this->exec($p_str_Content, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "post_end" ? true : false);
} }
/** /**
* Replaces footnotes in each Content var of the current Post object. * Replaces footnotes in each Content var of the current Post object.
@ -263,105 +275,106 @@ class MCI_Footnotes_Task {
return $p_obj_Post; return $p_obj_Post;
} }
/** /**
* Replaces all footnotes that occur in the given content. * Replaces all footnotes that occur in the given content.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @param string $p_str_Content Any string that may contain footnotes to be replaced. * @param string $p_str_Content Any string that may contain footnotes to be replaced.
* @param bool $p_bool_OutputReferences Appends the Reference Container to the output if set to true, default true. * @param bool $p_bool_OutputReferences Appends the Reference Container to the output if set to true, default true.
* @param bool $p_bool_HideFootnotesText Hide footnotes found in the string. * @param bool $p_bool_HideFootnotesText Hide footnotes found in the string.
* @return string * @return string
*/ */
public function exec($p_str_Content, $p_bool_OutputReferences = false, $p_bool_HideFootnotesText = false) { public function exec($p_str_Content, $p_bool_OutputReferences = false, $p_bool_HideFootnotesText = false) {
// replace all footnotes in the content, settings are converted to html characters // replace all footnotes in the content, settings are converted to html characters
$p_str_Content = $this->search($p_str_Content, true, $p_bool_HideFootnotesText); $p_str_Content = $this->search($p_str_Content, true, $p_bool_HideFootnotesText);
// replace all footnotes in the content, settings are NOT converted to html characters // replace all footnotes in the content, settings are NOT converted to html characters
$p_str_Content = $this->search($p_str_Content, false, $p_bool_HideFootnotesText); $p_str_Content = $this->search($p_str_Content, false, $p_bool_HideFootnotesText);
// append the reference container // append the reference container
if ($p_bool_OutputReferences) { if ($p_bool_OutputReferences) {
$p_str_Content = $p_str_Content . $this->ReferenceContainer(); $p_str_Content = $p_str_Content . $this->ReferenceContainer();
} }
// take a look if the LOVE ME slug should NOT be displayed on this page/post, remove the short code if found // take a look if the LOVE ME slug should NOT be displayed on this page/post, remove the short code if found
if (strpos($p_str_Content, MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG) !== false) { if (strpos($p_str_Content, MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG) !== false) {
self::$a_bool_AllowLoveMe = false; self::$a_bool_AllowLoveMe = false;
$p_str_Content = str_replace(MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG, "", $p_str_Content); $p_str_Content = str_replace(MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG, "", $p_str_Content);
} }
// return the content with replaced footnotes and optional reference container append // return the content with replaced footnotes and optional reference container append
return $p_str_Content; return $p_str_Content;
} }
/** /**
* Replaces all footnotes in the given content and appends them to the static property. * Replaces all footnotes in the given content and appends them to the static property.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @param string $p_str_Content Content to be searched for footnotes. * @param string $p_str_Content Content to be searched for footnotes.
* @param bool $p_bool_ConvertHtmlChars html encode settings, default true. * @param bool $p_bool_ConvertHtmlChars html encode settings, default true.
* @param bool $p_bool_HideFootnotesText Hide footnotes found in the string. * @param bool $p_bool_HideFootnotesText Hide footnotes found in the string.
* @return string * @return string
*/ */
public function search($p_str_Content, $p_bool_ConvertHtmlChars, $p_bool_HideFootnotesText) { public function search($p_str_Content, $p_bool_ConvertHtmlChars, $p_bool_HideFootnotesText) {
// contains the index for the next footnote on this page // contains the index for the next footnote on this page
$l_int_FootnoteIndex = count(self::$a_arr_Footnotes) + 1; $l_int_FootnoteIndex = count(self::$a_arr_Footnotes) + 1;
// contains the starting position for the lookup of a footnote // contains the starting position for the lookup of a footnote
$l_int_PosStart = 0; $l_int_PosStart = 0;
// get start and end tag for the footnotes short code // get start and end tag for the footnotes short code
$l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START); $l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START);
$l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END); $l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END);
if ($l_str_StartingTag == "userdefined" || $l_str_EndingTag == "userdefined") { if ($l_str_StartingTag == "userdefined" || $l_str_EndingTag == "userdefined") {
$l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED); $l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED);
$l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED); $l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED);
} }
// decode html special chars // decode html special chars
if ($p_bool_ConvertHtmlChars) { if ($p_bool_ConvertHtmlChars) {
$l_str_StartingTag = htmlspecialchars($l_str_StartingTag); $l_str_StartingTag = htmlspecialchars($l_str_StartingTag);
$l_str_EndingTag = htmlspecialchars($l_str_EndingTag); $l_str_EndingTag = htmlspecialchars($l_str_EndingTag);
} }
// if footnotes short code is empty, return the content without changes // if footnotes short code is empty, return the content without changes
if (empty($l_str_StartingTag) || empty($l_str_EndingTag)) { if (empty($l_str_StartingTag) || empty($l_str_EndingTag)) {
return $p_str_Content; return $p_str_Content;
} }
if (!$p_bool_HideFootnotesText) { if (!$p_bool_HideFootnotesText) {
// load template file // load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "footnote"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "footnote");
$l_obj_TemplateTooltip = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "tooltip"); $l_obj_TemplateTooltip = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "tooltip");
} else { } else {
$l_obj_Template = null; $l_obj_Template = null;
$l_obj_TemplateTooltip = null; $l_obj_TemplateTooltip = null;
} }
// search footnotes short codes in the content // search footnotes short codes in the content
do { do {
// get first occurrence of the footnote short code [start] // get first occurrence of the footnote short code [start]
$i_int_len_Content = strlen($p_str_Content); $i_int_len_Content = strlen($p_str_Content);
if ($l_int_PosStart > $i_int_len_Content) $l_int_PosStart = $i_int_len_Content; // #3# upgrade v1.6.5:
$l_int_PosStart = strpos($p_str_Content, $l_str_StartingTag, $l_int_PosStart); if ($l_int_PosStart > $i_int_len_Content) $l_int_PosStart = $i_int_len_Content;
// no short code found, stop here $l_int_PosStart = strpos($p_str_Content, $l_str_StartingTag, $l_int_PosStart);
if ($l_int_PosStart === false) { // no short code found, stop here
break; if ($l_int_PosStart === false) {
} break;
// get first occurrence of a footnote short code [end] }
$l_int_PosEnd = strpos($p_str_Content, $l_str_EndingTag, $l_int_PosStart); // get first occurrence of a footnote short code [end]
// no short code found, stop here $l_int_PosEnd = strpos($p_str_Content, $l_str_EndingTag, $l_int_PosStart);
if ($l_int_PosEnd === false) { // no short code found, stop here
break; if ($l_int_PosEnd === false) {
} break;
// calculate the length of the footnote }
$l_int_Length = $l_int_PosEnd - $l_int_PosStart; // calculate the length of the footnote
// get footnote text $l_int_Length = $l_int_PosEnd - $l_int_PosStart;
$l_str_FootnoteText = substr($p_str_Content, $l_int_PosStart + strlen($l_str_StartingTag), $l_int_Length - strlen($l_str_StartingTag)); // get footnote text
// Text to be displayed instead of the footnote $l_str_FootnoteText = substr($p_str_Content, $l_int_PosStart + strlen($l_str_StartingTag), $l_int_Length - strlen($l_str_StartingTag));
$l_str_FootnoteReplaceText = ""; // Text to be displayed instead of the footnote
// display the footnote as mouse-over box $l_str_FootnoteReplaceText = "";
if (!$p_bool_HideFootnotesText) { // display the footnote as mouse-over box
$l_str_Index = MCI_Footnotes_Convert::Index($l_int_FootnoteIndex, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)); if (!$p_bool_HideFootnotesText) {
$l_str_Index = MCI_Footnotes_Convert::Index($l_int_FootnoteIndex, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
// display only an excerpt of the footnotes text if enabled // display only an excerpt of the footnotes text if enabled
$l_str_ExcerptText = $l_str_FootnoteText; $l_str_ExcerptText = $l_str_FootnoteText;
$l_bool_EnableExcerpt = MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED)); $l_bool_EnableExcerpt = MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED));
$l_int_MaxLength = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH)); $l_int_MaxLength = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH));
if ($l_bool_EnableExcerpt) { if ($l_bool_EnableExcerpt) {
@ -369,137 +382,148 @@ class MCI_Footnotes_Task {
if (is_int($l_int_MaxLength) && strlen($l_str_DummyText) > $l_int_MaxLength) { if (is_int($l_int_MaxLength) && strlen($l_str_DummyText) > $l_int_MaxLength) {
$l_str_ExcerptText = substr($l_str_DummyText, 0, $l_int_MaxLength); $l_str_ExcerptText = substr($l_str_DummyText, 0, $l_int_MaxLength);
$l_str_ExcerptText = substr($l_str_ExcerptText, 0, strrpos($l_str_ExcerptText, ' ')); $l_str_ExcerptText = substr($l_str_ExcerptText, 0, strrpos($l_str_ExcerptText, ' '));
$l_str_ExcerptText .= " ..." . sprintf(__("%scontinue%s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '<a href="" onclick="footnote_moveToAnchor(\'footnote_plugin_reference_'.$l_str_Index.'\');">', '</a>'); // #0#
// col 48: replaced space with no-break space.
// col 54: replaced three dots with horizontal ellipsis (&hellip;): “use the single Unicode …, and not three dots” <https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices>
// col 139: added class.
// col 162: added fragment id, or the footnote wont work if JS is disabled.
// col 294: added the random prefix for consistency, even if disabled.
$l_str_ExcerptText .= '&nbsp;&#x2026; ' . sprintf(__("%scontinue%s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '<a class="continue" href="#footnote_plugin_reference_' . self::$a_str_Prefix.$l_str_Index . '" onclick="footnote_moveToAnchor(\'footnote_plugin_reference_' . self::$a_str_Prefix . $l_str_Index . '\');">', '</a>');
} }
} }
// fill the footnotes template // fill the footnotes template
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"id" => self::$a_str_Prefix . $l_str_Index, "id" => self::$a_str_Prefix . $l_str_Index,
"index" => $l_str_Index, "index" => $l_str_Index,
"text" => MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED)) ? $l_str_ExcerptText : "", "text" => MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED)) ? $l_str_ExcerptText : "",
"before" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE), "before" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE),
"after" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER) "after" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER)
) )
); );
$l_str_FootnoteReplaceText = $l_obj_Template->getContent(); $l_str_FootnoteReplaceText = $l_obj_Template->getContent();
// reset the template // reset the template
$l_obj_Template->reload(); $l_obj_Template->reload();
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED))) { if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED))) {
$l_int_OffsetY = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y)); $l_int_OffsetY = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y));
$l_int_OffsetX = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X)); $l_int_OffsetX = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X));
$l_obj_TemplateTooltip->replace( $l_obj_TemplateTooltip->replace(
array( array(
"id" => self::$a_str_Prefix . $l_str_Index, "id" => self::$a_str_Prefix . $l_str_Index,
"position" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION), "position" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION),
"offset-y" => !empty($l_int_OffsetY) ? $l_int_OffsetY : 0, "offset-y" => !empty($l_int_OffsetY) ? $l_int_OffsetY : 0,
"offset-x" => !empty($l_int_OffsetX) ? $l_int_OffsetX : 0 "offset-x" => !empty($l_int_OffsetX) ? $l_int_OffsetX : 0
) )
); );
$l_str_FootnoteReplaceText .= $l_obj_TemplateTooltip->getContent(); $l_str_FootnoteReplaceText .= $l_obj_TemplateTooltip->getContent();
$l_obj_TemplateTooltip->reload(); $l_obj_TemplateTooltip->reload();
} }
} }
// replace the footnote with the template // replace the footnote with the template
$p_str_Content = substr_replace($p_str_Content, $l_str_FootnoteReplaceText, $l_int_PosStart, $l_int_Length + strlen($l_str_EndingTag)); $p_str_Content = substr_replace($p_str_Content, $l_str_FootnoteReplaceText, $l_int_PosStart, $l_int_Length + strlen($l_str_EndingTag));
// add footnote only if not empty // add footnote only if not empty
if (!empty($l_str_FootnoteText)) { if (!empty($l_str_FootnoteText)) {
// set footnote to the output box at the end // set footnote to the output box at the end
self::$a_arr_Footnotes[] = $l_str_FootnoteText; self::$a_arr_Footnotes[] = $l_str_FootnoteText;
// increase footnote index // increase footnote index
$l_int_FootnoteIndex++; $l_int_FootnoteIndex++;
} }
// add offset to the new starting position // add offset to the new starting position
$l_int_PosStart += $l_int_Length + strlen($l_str_EndingTag); $l_int_PosStart += $l_int_Length + strlen($l_str_EndingTag);
$l_int_PosStart = $l_int_Length + strlen($l_str_FootnoteReplaceText); $l_int_PosStart = $l_int_Length + strlen($l_str_FootnoteReplaceText);
} while (true); } while (true);
// return content // return content
return $p_str_Content; return $p_str_Content;
} }
/** /**
* Generates the reference container. * Generates the reference container.
* *
* @author Stefan Herndler * @author Stefan Herndler
* @since 1.5.0 * @since 1.5.0
* @return string * @return string
*/ */
public function ReferenceContainer() { public function ReferenceContainer() {
// no footnotes has been replaced on this page // no footnotes has been replaced on this page
if (empty(self::$a_arr_Footnotes)) { if (empty(self::$a_arr_Footnotes)) {
return ""; return "";
} }
// get html arrow // get html arrow
$l_str_Arrow = MCI_Footnotes_Convert::getArrow(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW)); $l_str_Arrow = MCI_Footnotes_Convert::getArrow(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW));
// set html arrow to the first one if invalid index defined // set html arrow to the first one if invalid index defined
if (is_array($l_str_Arrow)) { if (is_array($l_str_Arrow)) {
$l_str_Arrow = MCI_Footnotes_Convert::getArrow(0); $l_str_Arrow = MCI_Footnotes_Convert::getArrow(0);
} }
// get user defined arrow // get user defined arrow
$l_str_ArrowUserDefined = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED); $l_str_ArrowUserDefined = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED);
if (!empty($l_str_ArrowUserDefined)) { if (!empty($l_str_ArrowUserDefined)) {
$l_str_Arrow = $l_str_ArrowUserDefined; $l_str_Arrow = $l_str_ArrowUserDefined;
} }
// load template file // load template file
$l_str_Body = ""; $l_str_Body = "";
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "reference-container-body"); $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "reference-container-body");
// loop through all footnotes found in the page // loop through all footnotes found in the page
for ($l_str_Index = 0; $l_str_Index < count(self::$a_arr_Footnotes); $l_str_Index++) { for ($l_str_Index = 0; $l_str_Index < count(self::$a_arr_Footnotes); $l_str_Index++) {
// get footnote text // get footnote text
$l_str_FootnoteText = self::$a_arr_Footnotes[$l_str_Index]; $l_str_FootnoteText = self::$a_arr_Footnotes[$l_str_Index];
// if footnote is empty, get to the next one // if footnote is empty, get to the next one
if (empty($l_str_FootnoteText)) { if (empty($l_str_FootnoteText)) {
continue; continue;
} }
// get footnote index // get footnote index
$l_str_FirstFootnoteIndex = ($l_str_Index + 1); $l_str_FirstFootnoteIndex = ($l_str_Index + 1);
$l_str_FootnoteIndex = MCI_Footnotes_Convert::Index(($l_str_Index + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)); $l_str_FootnoteIndex = MCI_Footnotes_Convert::Index(($l_str_Index + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
// check if it isn't the last footnote in the array // check if it isn't the last footnote in the array
if ($l_str_FirstFootnoteIndex < count(self::$a_arr_Footnotes) && MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES))) { if ($l_str_FirstFootnoteIndex < count(self::$a_arr_Footnotes) && MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES))) {
// get all footnotes that I haven't passed yet // get all footnotes that I haven't passed yet
for ($l_str_CheckIndex = $l_str_FirstFootnoteIndex; $l_str_CheckIndex < count(self::$a_arr_Footnotes); $l_str_CheckIndex++) { for ($l_str_CheckIndex = $l_str_FirstFootnoteIndex; $l_str_CheckIndex < count(self::$a_arr_Footnotes); $l_str_CheckIndex++) {
// check if a further footnote is the same as the actual one // check if a further footnote is the same as the actual one
if ($l_str_FootnoteText == self::$a_arr_Footnotes[$l_str_CheckIndex]) { if ($l_str_FootnoteText == self::$a_arr_Footnotes[$l_str_CheckIndex]) {
// set the further footnote as empty so it won't be displayed later // set the further footnote as empty so it won't be displayed later
self::$a_arr_Footnotes[$l_str_CheckIndex] = ""; self::$a_arr_Footnotes[$l_str_CheckIndex] = "";
// add the footnote index to the actual index // add the footnote index to the actual index
$l_str_FootnoteIndex .= ", " . MCI_Footnotes_Convert::Index(($l_str_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)); $l_str_FootnoteIndex .= ", " . MCI_Footnotes_Convert::Index(($l_str_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
} }
} }
} }
// replace all placeholders in the template // replace all placeholders in the template
$l_obj_Template->replace( $l_obj_Template->replace(
array( array(
"index" => $l_str_FootnoteIndex, "index" => $l_str_FootnoteIndex,
"id" => self::$a_str_Prefix . MCI_Footnotes_Convert::Index($l_str_FirstFootnoteIndex, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)), "id" => self::$a_str_Prefix . MCI_Footnotes_Convert::Index($l_str_FirstFootnoteIndex, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)),
"arrow" => $l_str_Arrow, "arrow" => $l_str_Arrow,
"text" => $l_str_FootnoteText "text" => $l_str_FootnoteText
) )
); );
$l_str_Body .= $l_obj_Template->getContent(); // #2# added line breaks for source code legibility:
$l_obj_Template->reload(); $footnote_item_temp = $l_obj_Template->getContent();
} $footnote_item_temp .= "\r\n\r\n";
$l_str_Body .= $footnote_item_temp;
$l_obj_Template->reload();
}
// load template file // load template file
$l_obj_TemplateContainer = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "reference-container"); $l_obj_TemplateContainer = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "reference-container");
$l_obj_TemplateContainer->replace( $l_obj_TemplateContainer->replace(
array( array(
"label" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME), "label" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME),
"button-style" => !MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE)) ? 'display: none;' : '', "button-style" => !MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE)) ? 'display: none;' : '',
"id" => "footnote_references_container", "id" => "footnote_references_container",
"style" => MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE)) ? 'display: none;' : '', "style" => MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE)) ? 'display: none;' : '',
"content" => $l_str_Body "content" => $l_str_Body
) )
); );
// free all found footnotes if reference container will be displayed // free all found footnotes if reference container will be displayed
self::$a_arr_Footnotes = array(); self::$a_arr_Footnotes = array();
self::$a_str_Prefix = rand(1000, 9999) . "_";
return $l_obj_TemplateContainer->getContent(); // #1# Disabled the random prefix preventing fn refs from being shared.
} //self::$a_str_Prefix = rand(1000, 9999) . "_";
return $l_obj_TemplateContainer->getContent();
}
} }

View file

@ -6,6 +6,13 @@
* Version: 1.0.7 * Version: 1.0.7
* Since: 1.0 * Since: 1.0
*/ */
/*
* On the basis of version 1.6.5
* v1.6.6 unchanged.
* bug fixes prior to v1.7.0-beta of 2020-10-26T0547+0100
* Support Forum bug fixes from 2020-10-26T0622+0100 on.
* Last modified: 2020-10-26T0651+0100
*/
/* Footnotes */ /* Footnotes */
.footnote_tag_styling, .footnote_tag_styling:hover { .footnote_tag_styling, .footnote_tag_styling:hover {
@ -26,7 +33,8 @@
vertical-align: top !important; vertical-align: top !important;
position: relative !important; position: relative !important;
top: 0.4em !important; top: 0.4em !important;
cursor: pointer; cursor: pointer;
z-index: 1;
} }
/* reference container label */ /* reference container label */
@ -75,18 +83,33 @@
max-width:10% !important; max-width:10% !important;
} }
/* arrow */
.footnote_plugin_link {
vertical-align: top;
white-space: nowrap;
padding-right: 5px;
text-align: left;
cursor: pointer;
}
/* text */ /* text */
.footnote_plugin_text { .footnote_plugin_text {
vertical-align: top; vertical-align: top;
width: 99%; width: 99%;
text-align: left; text-align: left;
} }
@media print {
.footnote_tooltip {
display: none;
}
}
.footnote_tooltip {
text-align: left;
z-index: 99;
}
.footnote_plugin_index {
width: 9px;
cursor: pointer;
color: #000099;
border: none;
}
.footnote_plugin_text {
border: none;
}
/*fix for https://wordpress.org/support/topic/box-around-c-references-container/#post-13579381 */
.footnote_plugin_text a {
color: #000099;
}

View file

@ -4,13 +4,13 @@
Plugin URI: http://wordpress.org/plugins/footnotes/ Plugin URI: http://wordpress.org/plugins/footnotes/
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine. Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
Author: Mark Cheret Author: Mark Cheret
Version: 1.6.4 Version: 2.0.0
Author URI: http://cheret.de/plugins/footnotes-2/ Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes Text Domain: footnotes
Domain Path: /languages Domain Path: /languages
*/ */
/* /*
Copyright 2019 Mark Cheret (email : mark@cheret.de) Copyright 2020 Mark Cheret (email : mark@cheret.de)
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 3, as it under the terms of the GNU General Public License, version 3, as
@ -25,6 +25,8 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
// Forked on GitHub by @pewgeuges
// Last modified: 2020-10-26T1913+0100
/** /**
* @filesource * @filesource
* @author Stefan Herndler * @author Stefan Herndler

View file

@ -21,13 +21,17 @@
* *
* ----- * -----
* *
* Added jQueryUI and checks whether a.browser exists
* Following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
* 2020-10-26T2005+0100
* Last modified: 2020-10-26T2006+0100
*/ */
(function (a) { (function (a) {
a.tools = a.tools || {version: "v1.2.7"}; a.tools = a.tools || {version: "v1.2.7"};
var b; var b;
b = a.tools.expose = {conf: {maskId: "exposeMask", loadSpeed: "slow", closeSpeed: "fast", closeOnClick: !0, closeOnEsc: !0, zIndex: 9998, opacity: .8, startOpacity: 0, color: "#fff", onLoad: null, onClose: null}}; b = a.tools.expose = {conf: {maskId: "exposeMask", loadSpeed: "slow", closeSpeed: "fast", closeOnClick: !0, closeOnEsc: !0, zIndex: 9998, opacity: .8, startOpacity: 0, color: "#fff", onLoad: null, onClose: null}};
function c() { function c() {
if (a.browser.msie) { if (a.browser && a.browser.msie) {
var b = a(document).height(), c = a(window).height(); var b = a(document).height(), c = a(window).height();
return[window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, b - c < 20 ? c : b] return[window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, b - c < 20 ? c : b]
} }
@ -199,7 +203,7 @@
(function (a) { (function (a) {
var b, c, d, e; var b, c, d, e;
a.tools = a.tools || {version: "v1.2.7"}, a.tools.history = {init: function (g) { a.tools = a.tools || {version: "v1.2.7"}, a.tools.history = {init: function (g) {
e || (a.browser.msie && a.browser.version < "8" ? c || (c = a("<iframe/>").attr("src", "javascript:false;").hide().get(0), a("body").append(c), setInterval(function () { e || (a.browser && a.browser.msie && a.browser.version < "8" ? c || (c = a("<iframe/>").attr("src", "javascript:false;").hide().get(0), a("body").append(c), setInterval(function () {
var d = c.contentWindow.document, e = d.location.hash; var d = c.contentWindow.document, e = d.location.hash;
b !== e && a(window).trigger("hash", e) b !== e && a(window).trigger("hash", e)
}, 100), f(location.hash || "#")) : setInterval(function () { }, 100), f(location.hash || "#")) : setInterval(function () {
@ -239,7 +243,9 @@
}, teardown: function () { }, teardown: function () {
a.event.remove(this, b, c) a.event.remove(this, b, c)
}}; }};
var b = a.browser.mozilla ? "DOMMouseScroll" + (a.browser.version < "1.9" ? " mousemove" : "") : "mousewheel"; if (a.browser) {
var b = a.browser.mozilla ? "DOMMouseScroll" + (a.browser.version < "1.9" ? " mousemove" : "") : "mousewheel";
}
function c(b) { function c(b) {
switch (b.type) { switch (b.type) {
@ -266,10 +272,10 @@
this.getTip().hide(), a.call() this.getTip().hide(), a.call()
}], fade: [function (b) { }], fade: [function (b) {
var c = this.getConf(); var c = this.getConf();
!a.browser.msie || c.fadeIE ? this.getTip().fadeTo(c.fadeInSpeed, c.opacity, b) : (this.getTip().show(), b()) !(a.browser && a.browser.msie) || c.fadeIE ? this.getTip().fadeTo(c.fadeInSpeed, c.opacity, b) : (this.getTip().show(), b())
}, function (b) { }, function (b) {
var c = this.getConf(); var c = this.getConf();
!a.browser.msie || c.fadeIE ? this.getTip().fadeOut(c.fadeOutSpeed, b) : (this.getTip().hide(), b()) !(a.browser && a.browser.msie) || c.fadeIE ? this.getTip().fadeOut(c.fadeOutSpeed, b) : (this.getTip().hide(), b())
}]}; }]};
function c(b, c, d) { function c(b, c, d) {
@ -393,7 +399,7 @@
})(jQuery); })(jQuery);
(function (a) { (function (a) {
var b = a.tools.tooltip; var b = a.tools.tooltip;
a.extend(b.conf, {direction: "up", bounce: !1, slideOffset: 10, slideInSpeed: 200, slideOutSpeed: 200, slideFade: !a.browser.msie}); a.extend(b.conf, {direction: "up", bounce: !1, slideOffset: 10, slideInSpeed: 200, slideOutSpeed: 200, slideFade: !(a.browser && a.browser.msie)});
var c = {up: ["-", "top"], down: ["+", "top"], left: ["-", "left"], right: ["+", "left"]}; var c = {up: ["-", "top"], down: ["+", "top"], left: ["-", "left"], right: ["+", "left"]};
b.addEffect("slide", function (a) { b.addEffect("slide", function (a) {
var b = this.getConf(), d = this.getTip(), e = b.slideFade ? {opacity: b.opacity} : {}, f = c[b.direction] || c.up; var b = this.getConf(), d = this.getTip(), e = b.slideFade ? {opacity: b.opacity} : {}, f = c[b.direction] || c.up;

Binary file not shown.

View file

@ -1,8 +1,9 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid "" msgid ""
msgstr "" msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"Project-Id-Version: footnotes\n"
"POT-Creation-Date: 2014-10-18 20:57+0100\n" "POT-Creation-Date: 2014-10-18 20:57+0100\n"
"PO-Revision-Date: 2014-10-18 20:58+0100\n" "PO-Revision-Date: 2020-10-25T2210+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n" "Last-Translator: Stefan Herndler <support@herndler.org>\n"
"Language-Team: SHE <s.herndler@methis.at>\n" "Language-Team: SHE <s.herndler@methis.at>\n"
"Language: de_AT\n" "Language: de_AT\n"
@ -32,7 +33,7 @@ msgstr "Installieren"
#: class/dashboard/init.php:174 #: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date." msgid "This Plugin is already installed and up to date."
msgstr "Das Plugin ist bereits installiert." msgstr "Dieses Plugin ist bereits installiert upd auf dem neusten Stand."
#: class/dashboard/init.php:174 #: class/dashboard/init.php:174
msgid "Installed" msgid "Installed"
@ -40,11 +41,11 @@ msgstr "bereits installiert"
#: class/dashboard/init.php:193 #: class/dashboard/init.php:193
msgid "More Details" msgid "More Details"
msgstr "weitere Details" msgstr "Weitere Details"
#: class/dashboard/init.php:194 #: class/dashboard/init.php:194
msgid "Last Updated" msgid "Last Updated"
msgstr "zuletzt aktualisiert" msgstr "Zuletzt aktualisiert"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "rating based on" msgid "rating based on"
@ -81,7 +82,7 @@ msgstr "User Agent"
#: class/dashboard/subpage-diagnostics.php:119 #: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time" msgid "Max execution time"
msgstr "max. Ausführungsdauer" msgstr "Maximale Ausführungsdauer"
#: class/dashboard/subpage-diagnostics.php:120 #: class/dashboard/subpage-diagnostics.php:120
msgid "seconds" msgid "seconds"
@ -109,19 +110,19 @@ msgstr "Einstellungen"
#: class/dashboard/subpage-main.php:61 #: class/dashboard/subpage-main.php:61
msgid "Customize" msgid "Customize"
msgstr "Personalisieren" msgstr "Anpassen"
#: class/dashboard/subpage-main.php:63 #: class/dashboard/subpage-main.php:63
msgid "Expert mode" msgid "Expert mode"
msgstr "Experten Modus" msgstr "Experten-Modus"
#: class/dashboard/subpage-main.php:65 #: class/dashboard/subpage-main.php:65
msgid "How to" msgid "How to"
msgstr "Hilfe" msgstr "Kurzanleitung"
#: class/dashboard/subpage-main.php:78 #: class/dashboard/subpage-main.php:78
msgid "References Container" msgid "References Container"
msgstr "Einzelnachweise" msgstr "Liste der Einzelnachweise"
#: class/dashboard/subpage-main.php:79 #: class/dashboard/subpage-main.php:79
#, php-format #, php-format
@ -130,19 +131,15 @@ msgstr "%s Design"
#: class/dashboard/subpage-main.php:81 #: class/dashboard/subpage-main.php:81
msgid "Other" msgid "Other"
msgstr "Andere" msgstr "Andere Einstellungen"
#: class/dashboard/subpage-main.php:83 #: class/dashboard/subpage-main.php:83
msgid "Superscript layout" msgid "Superscript layout"
msgstr "Layout des Fußnoten Index" msgstr "Ausstattung der Fußnotenanker im Text"
#: class/dashboard/subpage-main.php:84 #: class/dashboard/subpage-main.php:84
msgid "Mouse-over box" msgid "Mouse-over box"
msgstr "Tooltip Popup Fenster" msgstr "Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:85
msgid "Hyperlink symbol in the Reference container"
msgstr "Einzelnachweis - Symbol für den Link zur Fußnote im Text"
#: class/dashboard/subpage-main.php:86 #: class/dashboard/subpage-main.php:86
msgid "Add custom CSS to the public page" msgid "Add custom CSS to the public page"
@ -154,11 +151,11 @@ msgstr "WordPress hooks in welchen nach Fußnoten gesucht wird"
#: class/dashboard/subpage-main.php:90 #: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin" msgid "Brief introduction in how to use the plugin"
msgstr "Kurze Anleitung für die Verwendung des Plugins." msgstr "Kurze Anleitung für die Verwendung des Plugins"
#: class/dashboard/subpage-main.php:91 #: class/dashboard/subpage-main.php:91
msgid "Help us to improve our Plugin" msgid "Help us to improve our Plugin"
msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins." msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins"
#: class/dashboard/subpage-main.php:104 #: class/dashboard/subpage-main.php:104
msgid "in the footer" msgid "in the footer"
@ -166,23 +163,23 @@ msgstr "am Ende der Seite"
#: class/dashboard/subpage-main.php:105 #: class/dashboard/subpage-main.php:105
msgid "at the end of the post" msgid "at the end of the post"
msgstr "nach einem Beitrag" msgstr "nach dem Beitrag"
#: class/dashboard/subpage-main.php:106 #: class/dashboard/subpage-main.php:106
msgid "in the widget area" msgid "in the widget area"
msgstr "im Widget" msgstr "in einem Widget"
#: class/dashboard/subpage-main.php:114 #: class/dashboard/subpage-main.php:114
msgid "References label" msgid "References label"
msgstr "Überschrift für den Einzelnachweis" msgstr "Überschrift"
#: class/dashboard/subpage-main.php:117 #: class/dashboard/subpage-main.php:117
msgid "Collapse references by default" msgid "Collapse references by default"
msgstr "Zeige Einzelnachweise zunächst zusammengeklappt" msgstr "Zunächst zusammengeklappt"
#: class/dashboard/subpage-main.php:120 #: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear" msgid "Where shall the reference container appear"
msgstr "Positionierung der Einzelnachweise" msgstr "Positionierung"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239 #: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290 #: class/dashboard/subpage-main.php:290
@ -200,27 +197,27 @@ msgstr "benutzerdefiniert"
#: class/dashboard/subpage-main.php:158 #: class/dashboard/subpage-main.php:158
msgid "Arabic Numbers - Plain" msgid "Arabic Numbers - Plain"
msgstr "arabische Ziffern" msgstr "Arabische Zahlen"
#: class/dashboard/subpage-main.php:159 #: class/dashboard/subpage-main.php:159
msgid "Arabic Numbers - Leading 0" msgid "Arabic Numbers - Leading 0"
msgstr "arabisch Ziffern - führende Null" msgstr "Arabische Zahlen, mindestens zweistellig"
#: class/dashboard/subpage-main.php:160 #: class/dashboard/subpage-main.php:160
msgid "Latin Character - lower case" msgid "Latin Character - lower case"
msgstr "alphabetisch - Kleinschreibung" msgstr "Lateinische Kleinbuchstaben"
#: class/dashboard/subpage-main.php:161 #: class/dashboard/subpage-main.php:161
msgid "Latin Character - upper case" msgid "Latin Character - upper case"
msgstr "alphabetisch - Großschreibung" msgstr "Lateinische Großbuchstaben"
#: class/dashboard/subpage-main.php:162 #: class/dashboard/subpage-main.php:162
msgid "Roman Numerals" msgid "Roman Numerals"
msgstr "Römische Ziffern" msgstr "Römische Zahlen"
#: class/dashboard/subpage-main.php:170 #: class/dashboard/subpage-main.php:170
msgid "Combine identical footnotes" msgid "Combine identical footnotes"
msgstr "Kombiniere identische Fußnoten" msgstr "Identische Fußnoten kombinieren"
#: class/dashboard/subpage-main.php:173 #: class/dashboard/subpage-main.php:173
msgid "Footnote tag starts with" msgid "Footnote tag starts with"
@ -228,11 +225,11 @@ msgstr "Start-Shortcode"
#: class/dashboard/subpage-main.php:176 #: class/dashboard/subpage-main.php:176
msgid "and ends with" msgid "and ends with"
msgstr "endet mit" msgstr "End-Shortcode"
#: class/dashboard/subpage-main.php:185 #: class/dashboard/subpage-main.php:185
msgid "Counter style" msgid "Counter style"
msgstr "Fußnoten Zähler" msgstr "Zählweise"
#: class/dashboard/subpage-main.php:207 class/task.php:154 #: class/dashboard/subpage-main.php:207 class/task.php:154
#, php-format #, php-format
@ -242,115 +239,111 @@ msgstr "Ich %s %s"
#: class/dashboard/subpage-main.php:208 class/task.php:157 #: class/dashboard/subpage-main.php:208 class/task.php:157
#, php-format #, php-format
msgid "this site uses the awesome %s Plugin" msgid "this site uses the awesome %s Plugin"
msgstr "Diese Seite verwendet das Plugin %s" msgstr "Diese Website verwendet das tolle %s Plugin."
#: class/dashboard/subpage-main.php:209 class/task.php:161 #: class/dashboard/subpage-main.php:209 class/task.php:161
#, php-format #, php-format
msgid "extra smooth %s" msgid "extra smooth %s"
msgstr "besonders feine %s" msgstr "%s"
#: class/dashboard/subpage-main.php:210 #: class/dashboard/subpage-main.php:210
msgid "random text" msgid "random text"
msgstr "zufälliger Text" msgstr "zufallsbestimmte Anzeige einer der 3 Varianten"
#: class/dashboard/subpage-main.php:211 #: class/dashboard/subpage-main.php:211
#, php-format #, php-format
msgid "Don't display a %s %s text in my footer." msgid "Don't display a %s %s text in my footer."
msgstr "Verstecke %s %s am Ende meiner Seite." msgstr "keinerlei Erwähnung von „%s %s“ im Seitenfuß"
#: class/dashboard/subpage-main.php:219 #: class/dashboard/subpage-main.php:219
#, php-format #, php-format
msgid "Tell the world you're using %s" msgid "Tell the world you're using %s"
msgstr "Teilen Sie der Welt mit, dass Sie %s verwenden" msgstr "Der Welt mitteilen, dass Sie %s verwenden"
#: class/dashboard/subpage-main.php:222 #: class/dashboard/subpage-main.php:222
#, php-format #, php-format
msgid "" msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
"Don't tell the world you're using %s on specific pages by adding the " msgstr "Shortcode zur Unterdrückung der %s-Erwähnung in bestimmten Seiten:"
"following short code:"
msgstr ""
"Platzhalter um der Welt an einzelnen Seiten nicht mitzuteilen, dass Sie %s "
"verwenden:"
#: class/dashboard/subpage-main.php:248 #: class/dashboard/subpage-main.php:248
msgid "Allow footnotes on Summarized Posts" msgid "Allow footnotes on Summarized Posts"
msgstr "Erlaube Fußnoten in Zusammenfassungen" msgstr "Fußnoten auch in Zusammenfassungen anzeigen"
#: class/dashboard/subpage-main.php:250 #: class/dashboard/subpage-main.php:250
msgid "Enable the Expert mode" msgid "Enable the Expert mode"
msgstr "Aktiviere den Experten Modus" msgstr "Experten-Modus aktivieren"
#: class/dashboard/subpage-main.php:270 #: class/dashboard/subpage-main.php:270
msgid "Before Footnotes index" msgid "Before Footnotes index"
msgstr "Symbol nach Fußnoten" msgstr "Vor dem Fußnotenanker"
#: class/dashboard/subpage-main.php:273 #: class/dashboard/subpage-main.php:273
msgid "After Footnotes index" msgid "After Footnotes index"
msgstr "Symbole nach Fußnoten" msgstr "Nach dem Fußnotenanker"
#: class/dashboard/subpage-main.php:295 #: class/dashboard/subpage-main.php:295
msgid "top left" msgid "top left"
msgstr "oben, links" msgstr "oben links"
#: class/dashboard/subpage-main.php:296 #: class/dashboard/subpage-main.php:296
msgid "top center" msgid "top center"
msgstr "oben, zentriert" msgstr "oben zentriert"
#: class/dashboard/subpage-main.php:297 #: class/dashboard/subpage-main.php:297
msgid "top right" msgid "top right"
msgstr "oben, rechts" msgstr "oben rechts"
#: class/dashboard/subpage-main.php:298 #: class/dashboard/subpage-main.php:298
msgid "center right" msgid "center right"
msgstr "zentriert, rechts" msgstr "rechts zentriert"
#: class/dashboard/subpage-main.php:299 #: class/dashboard/subpage-main.php:299
msgid "bottom right" msgid "bottom right"
msgstr "unten, rechts" msgstr "unten rechts"
#: class/dashboard/subpage-main.php:300 #: class/dashboard/subpage-main.php:300
msgid "bottom center" msgid "bottom center"
msgstr "unten, zentriert" msgstr "unten zentriert"
#: class/dashboard/subpage-main.php:301 #: class/dashboard/subpage-main.php:301
msgid "bottom left" msgid "bottom left"
msgstr "unten, links" msgstr "unten links"
#: class/dashboard/subpage-main.php:302 #: class/dashboard/subpage-main.php:302
msgid "center left" msgid "center left"
msgstr "zentriert, links" msgstr "links zentriert"
#: class/dashboard/subpage-main.php:309 #: class/dashboard/subpage-main.php:309
msgid "Enable the mouse-over box" msgid "Enable the mouse-over box"
msgstr "Aktiviere das Tooltip Popup Fenster" msgstr "Die Tooltipp-Infobox aktivieren"
#: class/dashboard/subpage-main.php:312 #: class/dashboard/subpage-main.php:312
msgid "Display only an excerpt" msgid "Display only an excerpt"
msgstr "Zeigt nur eine Zusammenfassung" msgstr "Darin längere Fußnoten kürzen"
#: class/dashboard/subpage-main.php:315 #: class/dashboard/subpage-main.php:315
msgid "Maximum characters for the excerpt" msgid "Maximum characters for the excerpt"
msgstr "Maximale Zeichenlänge der Zusammenfasung" msgstr "Maximale Anzahl Zeichen in der Infobox"
#: class/dashboard/subpage-main.php:318 #: class/dashboard/subpage-main.php:318
msgid "Position" msgid "Position"
msgstr "Positionierung" msgstr "Position"
#: class/dashboard/subpage-main.php:321 #: class/dashboard/subpage-main.php:321
msgid "Offset X (px)" msgid "Offset X (px)"
msgstr "Versatz X (Pixel)" msgstr "Waagerechter Versatz"
#: class/dashboard/subpage-main.php:323 #: class/dashboard/subpage-main.php:323
msgid "Offset (X axis) in px (may be negative)" msgid "Offset (X axis) in px (may be negative)"
msgstr "Versatz (X-Achse) in Pixel (negativer Wert ist möglich)" msgstr "Pixel; negativer Wert für Linksversatz"
#: class/dashboard/subpage-main.php:325 #: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)" msgid "Offset Y (px)"
msgstr "Versatz Y (Pixel)" msgstr "Senkrechter Versatz"
#: class/dashboard/subpage-main.php:327 #: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)" msgid "Offset (Y axis) in px (may be negative)"
msgstr "Versatz (Y-Achse) in Pixel (negativer Wert ist möglich)" msgstr "Pixel; negativer Wert für Versatz nach unten"
#: class/dashboard/subpage-main.php:329 #: class/dashboard/subpage-main.php:329
msgid "Color" msgid "Color"
@ -358,149 +351,110 @@ msgstr "Schriftfarbe"
#: class/dashboard/subpage-main.php:331 #: class/dashboard/subpage-main.php:331
msgid "Empty color will use the default color defined by your current theme." msgid "Empty color will use the default color defined by your current theme."
msgstr "" msgstr "Leer lassen um die Standard-Schriftfarbe Ihres Themes zu verwenden."
"Lassen Sie die Farbe leer um die Standard Schriftfarbe Ihres Themes zu "
"verwenden."
#: class/dashboard/subpage-main.php:333 #: class/dashboard/subpage-main.php:333
msgid "Background color" msgid "Background color"
msgstr "Hintergrundfarbe" msgstr "Hintergrundfarbe"
#: class/dashboard/subpage-main.php:335 #: class/dashboard/subpage-main.php:335
msgid "" msgid "Empty color will use the default background-color defined by your current theme."
"Empty color will use the default background-color defined by your current " msgstr "Leer lassen um die Standard-Hintergrundfabe Ihres Themes zu verwenden."
"theme."
msgstr ""
"Lassen Sie die Farbe leer um die Standard Hintergrundfabe Ihres Themes zu "
"verwenden."
#: class/dashboard/subpage-main.php:337 #: class/dashboard/subpage-main.php:337
msgid "Border width (px)" msgid "Border width (px)"
msgstr "Rand Breite (px)" msgstr "Randbreite"
#: class/dashboard/subpage-main.php:339 #: class/dashboard/subpage-main.php:339
msgid "Set the width to 0px to hide the border." msgid "Set the width to 0px to hide the border."
msgstr "Setzen Sie die Breite auf 0px um einen Rand zu verbergen." msgstr "Pixel; 0 für randlos"
#: class/dashboard/subpage-main.php:341 #: class/dashboard/subpage-main.php:341
msgid "Border color" msgid "Border color"
msgstr "Rand Farbe" msgstr "Randfarbe"
#: class/dashboard/subpage-main.php:343 #: class/dashboard/subpage-main.php:343
msgid "" msgid "Empty color will use the default border-color defined by your current theme."
"Empty color will use the default border-color defined by your current theme." msgstr "Leer lassen um die Standard-Randfarbe Ihres Themes zu verwenden."
msgstr ""
"Lassen Sie die Farbe leer um die Standardfarbe Ihres Themes für den Rand zu "
"verwenden."
#: class/dashboard/subpage-main.php:345 #: class/dashboard/subpage-main.php:345
msgid "Border radius (px)" msgid "Border radius (px)"
msgstr "Rand Radius (px)" msgstr "Eckenradius"
#: class/dashboard/subpage-main.php:347 #: class/dashboard/subpage-main.php:347
msgid "Set the radius to 0px to avoid a radius." msgid "Set the radius to 0px to avoid a radius."
msgstr "Setzen Sie den Radius auf 0px um einen Radius zu verhindern." msgstr "Pixel; 0 für spitze Ecken"
#: class/dashboard/subpage-main.php:349 #: class/dashboard/subpage-main.php:349
msgid "Max. width (px)" msgid "Max. width (px)"
msgstr "Max. Breite (px)" msgstr "Maximalbreite"
#: class/dashboard/subpage-main.php:351 #: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting." msgid "Set the max-width to 0px to disable this setting."
msgstr "Setzen Sie die max. Breite auf 0px um keine max. Breite zu verwenden." msgstr "Pixel; 0 für nur vom Fensterrand beschränkte Breite"
#: class/dashboard/subpage-main.php:353 #: class/dashboard/subpage-main.php:353
msgid "Box shadow color" msgid "Box shadow color"
msgstr "Farbe des Schattens" msgstr "Schattenfarbe"
#: class/dashboard/subpage-main.php:355 #: class/dashboard/subpage-main.php:355
msgid "" msgid "Empty color will use the default box shadow defined by your current theme."
"Empty color will use the default box shadow defined by your current theme." msgstr "Leer lassen um die Standard-Schattenfarbe Ihres Themes zu verwenden."
msgstr ""
"Lassen Sie die Farbe leer um die Standard Farbe des Schattens Ihres Themes "
"zu verwenden."
#: class/dashboard/subpage-main.php:375 #: class/dashboard/subpage-main.php:375
msgid "Hyperlink symbol"
msgstr "Symbol für den Hyperlink"
#: class/dashboard/subpage-main.php:378
msgid "or enter a user defined symbol"
msgstr "oder definieren Sie ein eigenes Symbol"
#: class/dashboard/subpage-main.php:380
msgid "if set it overrides the hyperlink symbol above"
msgstr "wenn gesetzt, wird das oben definierte Symbol überschrieben"
#: class/dashboard/subpage-main.php:399
msgid "Add custom CSS" msgid "Add custom CSS"
msgstr "Benutzerdefinierter CSS Code" msgstr "Benutzerdefinierter CSS Code"
#: class/dashboard/subpage-main.php:402 #: class/dashboard/subpage-main.php:378
msgid "" msgid "Available CSS classes to customize the footnotes and the reference container"
"Available CSS classes to customize the footnotes and the reference container" msgstr "Verfügbare CSS Klassen um die Fußnoten und den Einzelnachweis zu personalisieren"
msgstr ""
"Verfügbare CSS Klassen um die Fußnoten und den Einzelnachweis zu "
"personalisieren"
#: class/dashboard/subpage-main.php:405 #: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index" msgid "superscript, Footnotes index"
msgstr "Fußnote Index im Text" msgstr "&lt;sup&gt;-Element des hochgestellten Fußnotenankers"
#: class/dashboard/subpage-main.php:408 #: class/dashboard/subpage-main.php:384
msgid "mouse-over box, tooltip for each superscript" msgid "mouse-over box, tooltip for each superscript"
msgstr "Tooltip Box für jede Fußnote" msgstr "&lt;span&gt;-Element der Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:411 #: class/dashboard/subpage-main.php:387
msgid "1st column of the Reference Container, Footnotes index" msgid "1st column of the Reference Container, Footnotes index"
msgstr "erste Spalte des Einzelnachweis, Fußnote Index" msgstr "&lt;td&gt;-Element der 1. Spalte der Fußnotenliste: ID mit Rücklink"
#: class/dashboard/subpage-main.php:414 #: class/dashboard/subpage-main.php:390
msgid "2nd column of the Reference Container, Arrow / Hyperlink" msgid "2nd column of the Reference Container, Footnote text"
msgstr "zweite Spalte des Einzelnachweis, Pfeil / Link" msgstr "&lt;td&gt;-Element der 2. Spalte der Fußnotenliste: Fußnotentext"
#: class/dashboard/subpage-main.php:417 #: class/dashboard/subpage-main.php:409
msgid "3rd column of the Reference Container, Footnote text"
msgstr "dritte Spalte des Einzelnachweis Fußnote Text"
#: class/dashboard/subpage-main.php:436
msgid "WordPress hook function name" msgid "WordPress hook function name"
msgstr "WordPress hook Name" msgstr "WordPress Hook-Name"
#: class/dashboard/subpage-main.php:437 #: class/dashboard/subpage-main.php:410
msgid "Activate" msgid "Activate"
msgstr "Aktivieren" msgstr "Aktivieren"
#: class/dashboard/subpage-main.php:438 #: class/dashboard/subpage-main.php:411
msgid "WordPress documentation" msgid "WordPress documentation"
msgstr "WordPress Dokumentation" msgstr "WordPress Dokumentation"
#: class/dashboard/subpage-main.php:486 #: class/dashboard/subpage-main.php:472
msgid "example string"
msgstr "Beispieltext"
#: class/dashboard/subpage-main.php:493
msgid "Start your footnote with the following short code:" msgid "Start your footnote with the following short code:"
msgstr "Starten Sie eine Fußnote mit dem folgenden Shortcode:" msgstr "Starten Sie eine Fußnote mit dem folgenden Shortcode:"
#: class/dashboard/subpage-main.php:496 #: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:" msgid "...and end your footnote with this short code:"
msgstr "...und beenden Sie diesen mit:" msgstr "...und beenden Sie diese mit:"
#: class/dashboard/subpage-main.php:500 #: class/dashboard/subpage-main.php:479
msgid "will be displayed as:" msgid "will be displayed as:"
msgstr "wird dargestellt als:" msgstr "Dies wird dargestellt als:"
#: class/dashboard/subpage-main.php:482
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "Für mehr Informationen besuchen Sie unser %sSupport Forum%s auf WordPress.org."
#: class/dashboard/subpage-main.php:503 #: class/dashboard/subpage-main.php:503
#, php-format
msgid ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
msgstr ""
"Für mehr Informationen besuchen Sie unser %sSupport Forum%s auf WordPress."
"org."
#: class/dashboard/subpage-main.php:524
msgid "Donate now" msgid "Donate now"
msgstr "Jetzt spenden" msgstr "Jetzt spenden"
@ -523,16 +477,12 @@ msgstr "Spenden"
#: class/task.php:370 #: class/task.php:370
#, php-format #, php-format
msgid "%scontinue%s" msgid "%scontinue%s"
msgstr "%sweiter lesen%s" msgstr "%sWeiterlesen%s"
#: class/widgets/reference-container.php:49 #: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61 #: class/widgets/reference-container.php:61
msgid "" msgid "The widget defines the position of the reference container if set to \"widget area\"."
"The widget defines the position of the reference container if set to " msgstr "Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" eingestellt ist."
"\"widget area\"."
msgstr ""
"Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" "
"eingestellt ist."
#~ msgid "inline footnotes" #~ msgid "inline footnotes"
#~ msgstr "Fußnoten Index im veröffneltichten Text" #~ msgstr "Fußnoten Index im veröffneltichten Text"

Binary file not shown.

View file

@ -1,8 +1,11 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: footnotes\n" "Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:58+0100\n" "POT-Creation-Date: 2014-10-18 20:58+0100\n"
"PO-Revision-Date: 2014-10-18 20:58+0100\n" "PO-Revision-Date: 2020-10-25T2214+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n" "Last-Translator: Stefan Herndler <support@herndler.org>\n"
"Language-Team: SHE <s.herndler@methis.at>\n" "Language-Team: SHE <s.herndler@methis.at>\n"
"Language: de_DE\n" "Language: de_DE\n"
@ -32,7 +35,7 @@ msgstr "Installieren"
#: class/dashboard/init.php:174 #: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date." msgid "This Plugin is already installed and up to date."
msgstr "Das Plugin ist bereits installiert." msgstr "Dieses Plugin ist bereits installiert upd auf dem neusten Stand."
#: class/dashboard/init.php:174 #: class/dashboard/init.php:174
msgid "Installed" msgid "Installed"
@ -40,11 +43,11 @@ msgstr "bereits installiert"
#: class/dashboard/init.php:193 #: class/dashboard/init.php:193
msgid "More Details" msgid "More Details"
msgstr "weitere Details" msgstr "Weitere Details"
#: class/dashboard/init.php:194 #: class/dashboard/init.php:194
msgid "Last Updated" msgid "Last Updated"
msgstr "zuletzt aktualisiert" msgstr "Zuletzt aktualisiert"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "rating based on" msgid "rating based on"
@ -81,7 +84,7 @@ msgstr "User Agent"
#: class/dashboard/subpage-diagnostics.php:119 #: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time" msgid "Max execution time"
msgstr "max. Ausführungsdauer" msgstr "Maximale Ausführungsdauer"
#: class/dashboard/subpage-diagnostics.php:120 #: class/dashboard/subpage-diagnostics.php:120
msgid "seconds" msgid "seconds"
@ -109,19 +112,19 @@ msgstr "Einstellungen"
#: class/dashboard/subpage-main.php:61 #: class/dashboard/subpage-main.php:61
msgid "Customize" msgid "Customize"
msgstr "Personalisieren" msgstr "Anpassen"
#: class/dashboard/subpage-main.php:63 #: class/dashboard/subpage-main.php:63
msgid "Expert mode" msgid "Expert mode"
msgstr "Experten Modus" msgstr "Experten-Modus"
#: class/dashboard/subpage-main.php:65 #: class/dashboard/subpage-main.php:65
msgid "How to" msgid "How to"
msgstr "Hilfe" msgstr "Kurzanleitung"
#: class/dashboard/subpage-main.php:78 #: class/dashboard/subpage-main.php:78
msgid "References Container" msgid "References Container"
msgstr "Einzelnachweise" msgstr "Liste der Einzelnachweise"
#: class/dashboard/subpage-main.php:79 #: class/dashboard/subpage-main.php:79
#, php-format #, php-format
@ -130,19 +133,15 @@ msgstr "%s Design"
#: class/dashboard/subpage-main.php:81 #: class/dashboard/subpage-main.php:81
msgid "Other" msgid "Other"
msgstr "Andere" msgstr "Andere Einstellungen"
#: class/dashboard/subpage-main.php:83 #: class/dashboard/subpage-main.php:83
msgid "Superscript layout" msgid "Superscript layout"
msgstr "Layout des Fußnoten Index" msgstr "Ausstattung der Fußnotenanker im Text"
#: class/dashboard/subpage-main.php:84 #: class/dashboard/subpage-main.php:84
msgid "Mouse-over box" msgid "Mouse-over box"
msgstr "Tooltip Popup Fenster" msgstr "Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:85
msgid "Hyperlink symbol in the Reference container"
msgstr "Einzelnachweis - Symbol für den Link zur Fußnote im Text"
#: class/dashboard/subpage-main.php:86 #: class/dashboard/subpage-main.php:86
msgid "Add custom CSS to the public page" msgid "Add custom CSS to the public page"
@ -154,11 +153,11 @@ msgstr "WordPress hooks in welchen nach Fußnoten gesucht wird"
#: class/dashboard/subpage-main.php:90 #: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin" msgid "Brief introduction in how to use the plugin"
msgstr "Kurze Anleitung für die Verwendung des Plugins." msgstr "Kurze Anleitung für die Verwendung des Plugins"
#: class/dashboard/subpage-main.php:91 #: class/dashboard/subpage-main.php:91
msgid "Help us to improve our Plugin" msgid "Help us to improve our Plugin"
msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins." msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins"
#: class/dashboard/subpage-main.php:104 #: class/dashboard/subpage-main.php:104
msgid "in the footer" msgid "in the footer"
@ -166,23 +165,23 @@ msgstr "am Ende der Seite"
#: class/dashboard/subpage-main.php:105 #: class/dashboard/subpage-main.php:105
msgid "at the end of the post" msgid "at the end of the post"
msgstr "nach einem Beitrag" msgstr "nach dem Beitrag"
#: class/dashboard/subpage-main.php:106 #: class/dashboard/subpage-main.php:106
msgid "in the widget area" msgid "in the widget area"
msgstr "im Widget" msgstr "in einem Widget"
#: class/dashboard/subpage-main.php:114 #: class/dashboard/subpage-main.php:114
msgid "References label" msgid "References label"
msgstr "Überschrift für den Einzelnachweis" msgstr "Überschrift"
#: class/dashboard/subpage-main.php:117 #: class/dashboard/subpage-main.php:117
msgid "Collapse references by default" msgid "Collapse references by default"
msgstr "Zeige Einzelnachweise zunächst zusammengeklappt" msgstr "Zunächst zusammengeklappt"
#: class/dashboard/subpage-main.php:120 #: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear" msgid "Where shall the reference container appear"
msgstr "Positionierung der Einzelnachweise" msgstr "Positionierung"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239 #: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290 #: class/dashboard/subpage-main.php:290
@ -200,27 +199,27 @@ msgstr "benutzerdefiniert"
#: class/dashboard/subpage-main.php:158 #: class/dashboard/subpage-main.php:158
msgid "Arabic Numbers - Plain" msgid "Arabic Numbers - Plain"
msgstr "arabische Ziffern" msgstr "Arabische Zahlen"
#: class/dashboard/subpage-main.php:159 #: class/dashboard/subpage-main.php:159
msgid "Arabic Numbers - Leading 0" msgid "Arabic Numbers - Leading 0"
msgstr "arabisch Ziffern - führende Null" msgstr "Arabische Zahlen, mindestens zweistellig"
#: class/dashboard/subpage-main.php:160 #: class/dashboard/subpage-main.php:160
msgid "Latin Character - lower case" msgid "Latin Character - lower case"
msgstr "alphabetisch - Kleinschreibung" msgstr "Lateinische Kleinbuchstaben"
#: class/dashboard/subpage-main.php:161 #: class/dashboard/subpage-main.php:161
msgid "Latin Character - upper case" msgid "Latin Character - upper case"
msgstr "alphabetisch - Großschreibung" msgstr "Lateinische Großbuchstaben"
#: class/dashboard/subpage-main.php:162 #: class/dashboard/subpage-main.php:162
msgid "Roman Numerals" msgid "Roman Numerals"
msgstr "Römische Ziffern" msgstr "Römische Zahlen"
#: class/dashboard/subpage-main.php:170 #: class/dashboard/subpage-main.php:170
msgid "Combine identical footnotes" msgid "Combine identical footnotes"
msgstr "Kombiniere identische Fußnoten" msgstr "Identische Fußnoten kombinieren"
#: class/dashboard/subpage-main.php:173 #: class/dashboard/subpage-main.php:173
msgid "Footnote tag starts with" msgid "Footnote tag starts with"
@ -228,11 +227,11 @@ msgstr "Start-Shortcode"
#: class/dashboard/subpage-main.php:176 #: class/dashboard/subpage-main.php:176
msgid "and ends with" msgid "and ends with"
msgstr "endet mit" msgstr "End-Shortcode"
#: class/dashboard/subpage-main.php:185 #: class/dashboard/subpage-main.php:185
msgid "Counter style" msgid "Counter style"
msgstr "Fußnoten Zähler" msgstr "Zählweise"
#: class/dashboard/subpage-main.php:207 class/task.php:154 #: class/dashboard/subpage-main.php:207 class/task.php:154
#, php-format #, php-format
@ -242,115 +241,111 @@ msgstr "Ich %s %s"
#: class/dashboard/subpage-main.php:208 class/task.php:157 #: class/dashboard/subpage-main.php:208 class/task.php:157
#, php-format #, php-format
msgid "this site uses the awesome %s Plugin" msgid "this site uses the awesome %s Plugin"
msgstr "Diese Seite verwendet das Plugin %s" msgstr "Diese Website verwendet das tolle %s Plugin."
#: class/dashboard/subpage-main.php:209 class/task.php:161 #: class/dashboard/subpage-main.php:209 class/task.php:161
#, php-format #, php-format
msgid "extra smooth %s" msgid "extra smooth %s"
msgstr "besonders feine %s" msgstr "%s"
#: class/dashboard/subpage-main.php:210 #: class/dashboard/subpage-main.php:210
msgid "random text" msgid "random text"
msgstr "zufälliger Text" msgstr "zufallsbestimmte Anzeige einer der 3 Varianten"
#: class/dashboard/subpage-main.php:211 #: class/dashboard/subpage-main.php:211
#, php-format #, php-format
msgid "Don't display a %s %s text in my footer." msgid "Don't display a %s %s text in my footer."
msgstr "Verstecke %s %s am Ende meiner Seite." msgstr "keinerlei Erwähnung von „%s %s“ im Seitenfuß"
#: class/dashboard/subpage-main.php:219 #: class/dashboard/subpage-main.php:219
#, php-format #, php-format
msgid "Tell the world you're using %s" msgid "Tell the world you're using %s"
msgstr "Teilen Sie der Welt mit, dass Sie %s verwenden" msgstr "Der Welt mitteilen, dass Sie %s verwenden"
#: class/dashboard/subpage-main.php:222 #: class/dashboard/subpage-main.php:222
#, php-format #, php-format
msgid "" msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
"Don't tell the world you're using %s on specific pages by adding the " msgstr "Shortcode zur Unterdrückung der %s-Erwähnung in bestimmten Seiten:"
"following short code:"
msgstr ""
"Platzhalter um der Welt an einzelnen Seiten nicht mitzuteilen, dass Sie %s "
"verwenden:"
#: class/dashboard/subpage-main.php:248 #: class/dashboard/subpage-main.php:248
msgid "Allow footnotes on Summarized Posts" msgid "Allow footnotes on Summarized Posts"
msgstr "Erlaube Fußnoten in Zusammenfassungen" msgstr "Fußnoten auch in Zusammenfassungen anzeigen"
#: class/dashboard/subpage-main.php:250 #: class/dashboard/subpage-main.php:250
msgid "Enable the Expert mode" msgid "Enable the Expert mode"
msgstr "Aktiviere den Experten Modus" msgstr "Experten-Modus aktivieren"
#: class/dashboard/subpage-main.php:270 #: class/dashboard/subpage-main.php:270
msgid "Before Footnotes index" msgid "Before Footnotes index"
msgstr "Symbol nach Fußnoten" msgstr "Vor dem Fußnotenanker"
#: class/dashboard/subpage-main.php:273 #: class/dashboard/subpage-main.php:273
msgid "After Footnotes index" msgid "After Footnotes index"
msgstr "Symbole nach Fußnoten" msgstr "Nach dem Fußnotenanker"
#: class/dashboard/subpage-main.php:295 #: class/dashboard/subpage-main.php:295
msgid "top left" msgid "top left"
msgstr "oben, links" msgstr "oben links"
#: class/dashboard/subpage-main.php:296 #: class/dashboard/subpage-main.php:296
msgid "top center" msgid "top center"
msgstr "oben, zentriert" msgstr "oben zentriert"
#: class/dashboard/subpage-main.php:297 #: class/dashboard/subpage-main.php:297
msgid "top right" msgid "top right"
msgstr "oben, rechts" msgstr "oben rechts"
#: class/dashboard/subpage-main.php:298 #: class/dashboard/subpage-main.php:298
msgid "center right" msgid "center right"
msgstr "zentriert, rechts" msgstr "rechts zentriert"
#: class/dashboard/subpage-main.php:299 #: class/dashboard/subpage-main.php:299
msgid "bottom right" msgid "bottom right"
msgstr "unten, rechts" msgstr "unten rechts"
#: class/dashboard/subpage-main.php:300 #: class/dashboard/subpage-main.php:300
msgid "bottom center" msgid "bottom center"
msgstr "unten, zentriert" msgstr "unten zentriert"
#: class/dashboard/subpage-main.php:301 #: class/dashboard/subpage-main.php:301
msgid "bottom left" msgid "bottom left"
msgstr "unten, links" msgstr "unten links"
#: class/dashboard/subpage-main.php:302 #: class/dashboard/subpage-main.php:302
msgid "center left" msgid "center left"
msgstr "zentriert, links" msgstr "links zentriert"
#: class/dashboard/subpage-main.php:309 #: class/dashboard/subpage-main.php:309
msgid "Enable the mouse-over box" msgid "Enable the mouse-over box"
msgstr "Aktiviere das Tooltip Popup Fenster" msgstr "Die Tooltipp-Infobox aktivieren"
#: class/dashboard/subpage-main.php:312 #: class/dashboard/subpage-main.php:312
msgid "Display only an excerpt" msgid "Display only an excerpt"
msgstr "Zeigt nur eine Zusammenfassung" msgstr "Darin längere Fußnoten kürzen"
#: class/dashboard/subpage-main.php:315 #: class/dashboard/subpage-main.php:315
msgid "Maximum characters for the excerpt" msgid "Maximum characters for the excerpt"
msgstr "Maximale Zeichenlänge der Zusammenfasung" msgstr "Maximale Anzahl Zeichen in der Infobox"
#: class/dashboard/subpage-main.php:318 #: class/dashboard/subpage-main.php:318
msgid "Position" msgid "Position"
msgstr "Positionierung" msgstr "Position"
#: class/dashboard/subpage-main.php:321 #: class/dashboard/subpage-main.php:321
msgid "Offset X (px)" msgid "Offset X (px)"
msgstr "Versatz X (Pixel)" msgstr "Waagerechter Versatz"
#: class/dashboard/subpage-main.php:323 #: class/dashboard/subpage-main.php:323
msgid "Offset (X axis) in px (may be negative)" msgid "Offset (X axis) in px (may be negative)"
msgstr "Versatz (X-Achse) in Pixel (negativer Wert ist möglich)" msgstr "Pixel; negativer Wert für Linksversatz"
#: class/dashboard/subpage-main.php:325 #: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)" msgid "Offset Y (px)"
msgstr "Versatz Y (Pixel)" msgstr "Senkrechter Versatz"
#: class/dashboard/subpage-main.php:327 #: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)" msgid "Offset (Y axis) in px (may be negative)"
msgstr "Versatz (Y-Achse) in Pixel (negativer Wert ist möglich)" msgstr "Pixel; negativer Wert für Versatz nach unten"
#: class/dashboard/subpage-main.php:329 #: class/dashboard/subpage-main.php:329
msgid "Color" msgid "Color"
@ -358,149 +353,110 @@ msgstr "Schriftfarbe"
#: class/dashboard/subpage-main.php:331 #: class/dashboard/subpage-main.php:331
msgid "Empty color will use the default color defined by your current theme." msgid "Empty color will use the default color defined by your current theme."
msgstr "" msgstr "Leer lassen um die Standard-Schriftfarbe Ihres Themes zu verwenden."
"Lassen Sie die Farbe leer um die Standard Schriftfarbe Ihres Themes zu "
"verwenden."
#: class/dashboard/subpage-main.php:333 #: class/dashboard/subpage-main.php:333
msgid "Background color" msgid "Background color"
msgstr "Hintergrundfarbe" msgstr "Hintergrundfarbe"
#: class/dashboard/subpage-main.php:335 #: class/dashboard/subpage-main.php:335
msgid "" msgid "Empty color will use the default background-color defined by your current theme."
"Empty color will use the default background-color defined by your current " msgstr "Leer lassen um die Standard-Hintergrundfabe Ihres Themes zu verwenden."
"theme."
msgstr ""
"Lassen Sie die Farbe leer um die Standard Hintergrundfabe Ihres Themes zu "
"verwenden."
#: class/dashboard/subpage-main.php:337 #: class/dashboard/subpage-main.php:337
msgid "Border width (px)" msgid "Border width (px)"
msgstr "Rand Breite (px)" msgstr "Randbreite"
#: class/dashboard/subpage-main.php:339 #: class/dashboard/subpage-main.php:339
msgid "Set the width to 0px to hide the border." msgid "Set the width to 0px to hide the border."
msgstr "Setzen Sie die Breite auf 0px um einen Rand zu verbergen." msgstr "Pixel; 0 für randlos"
#: class/dashboard/subpage-main.php:341 #: class/dashboard/subpage-main.php:341
msgid "Border color" msgid "Border color"
msgstr "Rand Farbe" msgstr "Randfarbe"
#: class/dashboard/subpage-main.php:343 #: class/dashboard/subpage-main.php:343
msgid "" msgid "Empty color will use the default border-color defined by your current theme."
"Empty color will use the default border-color defined by your current theme." msgstr "Leer lassen um die Standard-Randfarbe Ihres Themes zu verwenden."
msgstr ""
"Lassen Sie die Farbe leer um die Standardfarbe Ihres Themes für den Rand zu "
"verwenden."
#: class/dashboard/subpage-main.php:345 #: class/dashboard/subpage-main.php:345
msgid "Border radius (px)" msgid "Border radius (px)"
msgstr "Rand Radius (px)" msgstr "Eckenradius"
#: class/dashboard/subpage-main.php:347 #: class/dashboard/subpage-main.php:347
msgid "Set the radius to 0px to avoid a radius." msgid "Set the radius to 0px to avoid a radius."
msgstr "Setzen Sie den Radius auf 0px um einen Radius zu verhindern." msgstr "Pixel; 0 für spitze Ecken"
#: class/dashboard/subpage-main.php:349 #: class/dashboard/subpage-main.php:349
msgid "Max. width (px)" msgid "Max. width (px)"
msgstr "Max. Breite (px)" msgstr "Maximalbreite"
#: class/dashboard/subpage-main.php:351 #: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting." msgid "Set the max-width to 0px to disable this setting."
msgstr "Setzen Sie die max. Breite auf 0px um keine max. Breite zu verwenden." msgstr "Pixel; 0 für nur vom Fensterrand beschränkte Breite"
#: class/dashboard/subpage-main.php:353 #: class/dashboard/subpage-main.php:353
msgid "Box shadow color" msgid "Box shadow color"
msgstr "Farbe des Schattens" msgstr "Schattenfarbe"
#: class/dashboard/subpage-main.php:355 #: class/dashboard/subpage-main.php:355
msgid "" msgid "Empty color will use the default box shadow defined by your current theme."
"Empty color will use the default box shadow defined by your current theme." msgstr "Leer lassen um die Standard-Schattenfarbe Ihres Themes zu verwenden."
msgstr ""
"Lassen Sie die Farbe leer um die Standard Farbe des Schattens Ihres Themes "
"zu verwenden."
#: class/dashboard/subpage-main.php:375 #: class/dashboard/subpage-main.php:375
msgid "Hyperlink symbol"
msgstr "Symbol für den Hyperlink"
#: class/dashboard/subpage-main.php:378
msgid "or enter a user defined symbol"
msgstr "oder definieren Sie ein eigenes Symbol"
#: class/dashboard/subpage-main.php:380
msgid "if set it overrides the hyperlink symbol above"
msgstr "wenn gesetzt, wird das oben definierte Symbol überschrieben"
#: class/dashboard/subpage-main.php:399
msgid "Add custom CSS" msgid "Add custom CSS"
msgstr "Benutzerdefinierter CSS Code" msgstr "Benutzerdefinierter CSS Code"
#: class/dashboard/subpage-main.php:402 #: class/dashboard/subpage-main.php:378
msgid "" msgid "Available CSS classes to customize the footnotes and the reference container"
"Available CSS classes to customize the footnotes and the reference container" msgstr "Verfügbare CSS Klassen um die Fußnoten und den Einzelnachweis zu personalisieren"
msgstr ""
"Verfügbare CSS Klassen um die Fußnoten und den Einzelnachweis zu "
"personalisieren"
#: class/dashboard/subpage-main.php:405 #: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index" msgid "superscript, Footnotes index"
msgstr "Fußnote Index im Text" msgstr "&lt;sup&gt;-Element des hochgestellten Fußnotenankers"
#: class/dashboard/subpage-main.php:408 #: class/dashboard/subpage-main.php:384
msgid "mouse-over box, tooltip for each superscript" msgid "mouse-over box, tooltip for each superscript"
msgstr "Tooltip Box für jede Fußnote" msgstr "&lt;span&gt;-Element der Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:411 #: class/dashboard/subpage-main.php:387
msgid "1st column of the Reference Container, Footnotes index" msgid "1st column of the Reference Container, Footnotes index"
msgstr "erste Spalte des Einzelnachweis, Fußnote Index" msgstr "&lt;td&gt;-Element der 1. Spalte der Fußnotenliste: ID mit Rücklink"
#: class/dashboard/subpage-main.php:414 #: class/dashboard/subpage-main.php:390
msgid "2nd column of the Reference Container, Arrow / Hyperlink" msgid "2nd column of the Reference Container, Footnote text"
msgstr "zweite Spalte des Einzelnachweis, Pfeil / Link" msgstr "&lt;td&gt;-Element der 2. Spalte der Fußnotenliste: Fußnotentext"
#: class/dashboard/subpage-main.php:417 #: class/dashboard/subpage-main.php:409
msgid "3rd column of the Reference Container, Footnote text"
msgstr "dritte Spalte des Einzelnachweis Fußnote Text"
#: class/dashboard/subpage-main.php:436
msgid "WordPress hook function name" msgid "WordPress hook function name"
msgstr "WordPress hook Name" msgstr "WordPress Hook-Name"
#: class/dashboard/subpage-main.php:437 #: class/dashboard/subpage-main.php:410
msgid "Activate" msgid "Activate"
msgstr "Aktivieren" msgstr "Aktivieren"
#: class/dashboard/subpage-main.php:438 #: class/dashboard/subpage-main.php:411
msgid "WordPress documentation" msgid "WordPress documentation"
msgstr "WordPress Dokumentation" msgstr "WordPress Dokumentation"
#: class/dashboard/subpage-main.php:486 #: class/dashboard/subpage-main.php:472
msgid "example string"
msgstr "Beispieltext"
#: class/dashboard/subpage-main.php:493
msgid "Start your footnote with the following short code:" msgid "Start your footnote with the following short code:"
msgstr "Starten Sie eine Fußnote mit dem folgenden Shortcode:" msgstr "Starten Sie eine Fußnote mit dem folgenden Shortcode:"
#: class/dashboard/subpage-main.php:496 #: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:" msgid "...and end your footnote with this short code:"
msgstr "...und beenden Sie diesen mit:" msgstr "...und beenden Sie diese mit:"
#: class/dashboard/subpage-main.php:500 #: class/dashboard/subpage-main.php:479
msgid "will be displayed as:" msgid "will be displayed as:"
msgstr "wird dargestellt als:" msgstr "Dies wird dargestellt als:"
#: class/dashboard/subpage-main.php:482
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "Für mehr Informationen besuchen Sie unser %sSupport Forum%s auf WordPress.org."
#: class/dashboard/subpage-main.php:503 #: class/dashboard/subpage-main.php:503
#, php-format
msgid ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
msgstr ""
"Für mehr Informationen besuchen Sie unser %sSupport Forum%s auf WordPress."
"org."
#: class/dashboard/subpage-main.php:524
msgid "Donate now" msgid "Donate now"
msgstr "Jetzt spenden" msgstr "Jetzt spenden"
@ -523,16 +479,12 @@ msgstr "Spenden"
#: class/task.php:370 #: class/task.php:370
#, php-format #, php-format
msgid "%scontinue%s" msgid "%scontinue%s"
msgstr "%sweiter lesen%s" msgstr "%sWeiterlesen%s"
#: class/widgets/reference-container.php:49 #: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61 #: class/widgets/reference-container.php:61
msgid "" msgid "The widget defines the position of the reference container if set to \"widget area\"."
"The widget defines the position of the reference container if set to " msgstr "Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" eingestellt ist."
"\"widget area\"."
msgstr ""
"Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" "
"eingestellt ist."
#~ msgid "inline footnotes" #~ msgid "inline footnotes"
#~ msgstr "Fußnoten Index im veröffneltichten Text" #~ msgstr "Fußnoten Index im veröffneltichten Text"

Binary file not shown.

View file

@ -1,8 +1,9 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid "" msgid ""
msgstr "" msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"Project-Id-Version: footnotes\n"
"POT-Creation-Date: 2014-10-18 20:58+0100\n" "POT-Creation-Date: 2014-10-18 20:58+0100\n"
"PO-Revision-Date: 2014-10-18 20:58+0100\n" "PO-Revision-Date: 2020-10-26T2229+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n" "Last-Translator: Stefan Herndler <support@herndler.org>\n"
"Language-Team: SHE <s.herndler@methis.at>\n" "Language-Team: SHE <s.herndler@methis.at>\n"
"Language: en_GB\n" "Language: en_GB\n"
@ -24,7 +25,7 @@ msgstr "Take a look at other Plugins we have developed."
#: class/dashboard/init.php:157 #: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!" msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Error loading other WordPress Plugins from Manfisher. Sorry!" msgstr "Error loading other WordPress Plugins from ManFisher. Sorry!"
#: class/dashboard/init.php:173 #: class/dashboard/init.php:173
msgid "Install now" msgid "Install now"
@ -40,15 +41,15 @@ msgstr "Installed"
#: class/dashboard/init.php:193 #: class/dashboard/init.php:193
msgid "More Details" msgid "More Details"
msgstr "More Details" msgstr "More details"
#: class/dashboard/init.php:194 #: class/dashboard/init.php:194
msgid "Last Updated" msgid "Last Updated"
msgstr "Last Updated" msgstr "Last updated"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "rating based on" msgid "rating based on"
msgstr "rating based on" msgstr "Rating based on"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "ratings" msgid "ratings"
@ -81,7 +82,7 @@ msgstr "User agent"
#: class/dashboard/subpage-diagnostics.php:119 #: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time" msgid "Max execution time"
msgstr "Max execution time" msgstr "Maximum execution time"
#: class/dashboard/subpage-diagnostics.php:120 #: class/dashboard/subpage-diagnostics.php:120
msgid "seconds" msgid "seconds"
@ -134,23 +135,19 @@ msgstr "Other"
#: class/dashboard/subpage-main.php:83 #: class/dashboard/subpage-main.php:83
msgid "Superscript layout" msgid "Superscript layout"
msgstr "Superscript layout" msgstr "Around the inline footnote referrers"
#: class/dashboard/subpage-main.php:84 #: class/dashboard/subpage-main.php:84
msgid "Mouse-over box" msgid "Mouse-over box"
msgstr "Mouse-over box" msgstr "Mouse-over box"
#: class/dashboard/subpage-main.php:85
msgid "Hyperlink symbol in the Reference container"
msgstr "Hyperlink symbol in the Reference container"
#: class/dashboard/subpage-main.php:86 #: class/dashboard/subpage-main.php:86
msgid "Add custom CSS to the public page" msgid "Add custom CSS to the public page"
msgstr "Add custom CSS to the public page" msgstr "Add custom CSS to the public page"
#: class/dashboard/subpage-main.php:88 #: class/dashboard/subpage-main.php:88
msgid "WordPress hooks to look for Footnote short codes" msgid "WordPress hooks to look for Footnote short codes"
msgstr "WordPress hooks to look for Footnote short codes" msgstr "WordPress hooks to look for footnote short codes"
#: class/dashboard/subpage-main.php:90 #: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin" msgid "Brief introduction in how to use the plugin"
@ -158,7 +155,7 @@ msgstr "Brief introduction in how to use the plugin"
#: class/dashboard/subpage-main.php:91 #: class/dashboard/subpage-main.php:91
msgid "Help us to improve our Plugin" msgid "Help us to improve our Plugin"
msgstr "Help us to improve our Plugin" msgstr "Help us to improve our plugin"
#: class/dashboard/subpage-main.php:104 #: class/dashboard/subpage-main.php:104
msgid "in the footer" msgid "in the footer"
@ -166,7 +163,7 @@ msgstr "in the footer"
#: class/dashboard/subpage-main.php:105 #: class/dashboard/subpage-main.php:105
msgid "at the end of the post" msgid "at the end of the post"
msgstr "at the end of the post" msgstr "at the end of the page"
#: class/dashboard/subpage-main.php:106 #: class/dashboard/subpage-main.php:106
msgid "in the widget area" msgid "in the widget area"
@ -174,15 +171,15 @@ msgstr "in the widget area"
#: class/dashboard/subpage-main.php:114 #: class/dashboard/subpage-main.php:114
msgid "References label" msgid "References label"
msgstr "References label" msgstr "Heading"
#: class/dashboard/subpage-main.php:117 #: class/dashboard/subpage-main.php:117
msgid "Collapse references by default" msgid "Collapse references by default"
msgstr "Collapse references by default" msgstr "Collapse by default"
#: class/dashboard/subpage-main.php:120 #: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear" msgid "Where shall the reference container appear"
msgstr "Where shall the reference container appear" msgstr "Position"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239 #: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290 #: class/dashboard/subpage-main.php:290
@ -200,19 +197,19 @@ msgstr "user defined"
#: class/dashboard/subpage-main.php:158 #: class/dashboard/subpage-main.php:158
msgid "Arabic Numbers - Plain" msgid "Arabic Numbers - Plain"
msgstr "Arabic Numbers - Plain" msgstr "Plain Arabic Numbers"
#: class/dashboard/subpage-main.php:159 #: class/dashboard/subpage-main.php:159
msgid "Arabic Numbers - Leading 0" msgid "Arabic Numbers - Leading 0"
msgstr "Arabic Numbers - Leading 0" msgstr "Zero-padded Arabic Numbers"
#: class/dashboard/subpage-main.php:160 #: class/dashboard/subpage-main.php:160
msgid "Latin Character - lower case" msgid "Latin Character - lower case"
msgstr "Latin Character - lower case" msgstr "Lowercase Latin letters"
#: class/dashboard/subpage-main.php:161 #: class/dashboard/subpage-main.php:161
msgid "Latin Character - upper case" msgid "Latin Character - upper case"
msgstr "Latin Character - upper case" msgstr "Uppercase Latin letters"
#: class/dashboard/subpage-main.php:162 #: class/dashboard/subpage-main.php:162
msgid "Roman Numerals" msgid "Roman Numerals"
@ -224,11 +221,11 @@ msgstr "Combine identical footnotes"
#: class/dashboard/subpage-main.php:173 #: class/dashboard/subpage-main.php:173
msgid "Footnote tag starts with" msgid "Footnote tag starts with"
msgstr "Footnote tag starts with" msgstr "Footnote start tag short code"
#: class/dashboard/subpage-main.php:176 #: class/dashboard/subpage-main.php:176
msgid "and ends with" msgid "and ends with"
msgstr "and ends with" msgstr "Footnote end tag short code"
#: class/dashboard/subpage-main.php:185 #: class/dashboard/subpage-main.php:185
msgid "Counter style" msgid "Counter style"
@ -242,21 +239,21 @@ msgstr "I %s %s"
#: class/dashboard/subpage-main.php:208 class/task.php:157 #: class/dashboard/subpage-main.php:208 class/task.php:157
#, php-format #, php-format
msgid "this site uses the awesome %s Plugin" msgid "this site uses the awesome %s Plugin"
msgstr "this site uses the awesome %s Plugin" msgstr "This site uses the awesome %s Plugin."
#: class/dashboard/subpage-main.php:209 class/task.php:161 #: class/dashboard/subpage-main.php:209 class/task.php:161
#, php-format #, php-format
msgid "extra smooth %s" msgid "extra smooth %s"
msgstr "extra smooth %s" msgstr "%s"
#: class/dashboard/subpage-main.php:210 #: class/dashboard/subpage-main.php:210
msgid "random text" msgid "random text"
msgstr "random text" msgstr "random-driven display of either variant"
#: class/dashboard/subpage-main.php:211 #: class/dashboard/subpage-main.php:211
#, php-format #, php-format
msgid "Don't display a %s %s text in my footer." msgid "Don't display a %s %s text in my footer."
msgstr "Don't display a %s %s text in my footer." msgstr "no display of any “%s %s” mention in the footer"
#: class/dashboard/subpage-main.php:219 #: class/dashboard/subpage-main.php:219
#, php-format #, php-format
@ -265,16 +262,12 @@ msgstr "Tell the world you're using %s"
#: class/dashboard/subpage-main.php:222 #: class/dashboard/subpage-main.php:222
#, php-format #, php-format
msgid "" msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
"Don't tell the world you're using %s on specific pages by adding the " msgstr "Shortcode to inhibit the display of the %s mention on specific pages:"
"following short code:"
msgstr ""
"Don't tell the world you're using %s on specific pages by adding the "
"following short code:"
#: class/dashboard/subpage-main.php:248 #: class/dashboard/subpage-main.php:248
msgid "Allow footnotes on Summarized Posts" msgid "Allow footnotes on Summarized Posts"
msgstr "Allow footnotes on Summarized Posts" msgstr "Display footnotes in abstracts too"
#: class/dashboard/subpage-main.php:250 #: class/dashboard/subpage-main.php:250
msgid "Enable the Expert mode" msgid "Enable the Expert mode"
@ -282,11 +275,11 @@ msgstr "Enable the Expert mode"
#: class/dashboard/subpage-main.php:270 #: class/dashboard/subpage-main.php:270
msgid "Before Footnotes index" msgid "Before Footnotes index"
msgstr "Before Footnotes index" msgstr "Before the footnote referrer"
#: class/dashboard/subpage-main.php:273 #: class/dashboard/subpage-main.php:273
msgid "After Footnotes index" msgid "After Footnotes index"
msgstr "After Footnotes index" msgstr "After the footnote referrer"
#: class/dashboard/subpage-main.php:295 #: class/dashboard/subpage-main.php:295
msgid "top left" msgid "top left"
@ -294,7 +287,7 @@ msgstr "top left"
#: class/dashboard/subpage-main.php:296 #: class/dashboard/subpage-main.php:296
msgid "top center" msgid "top center"
msgstr "top center" msgstr "centre top"
#: class/dashboard/subpage-main.php:297 #: class/dashboard/subpage-main.php:297
msgid "top right" msgid "top right"
@ -302,7 +295,7 @@ msgstr "top right"
#: class/dashboard/subpage-main.php:298 #: class/dashboard/subpage-main.php:298
msgid "center right" msgid "center right"
msgstr "center right" msgstr "centre right"
#: class/dashboard/subpage-main.php:299 #: class/dashboard/subpage-main.php:299
msgid "bottom right" msgid "bottom right"
@ -310,7 +303,7 @@ msgstr "bottom right"
#: class/dashboard/subpage-main.php:300 #: class/dashboard/subpage-main.php:300
msgid "bottom center" msgid "bottom center"
msgstr "bottom center" msgstr "centre bottom"
#: class/dashboard/subpage-main.php:301 #: class/dashboard/subpage-main.php:301
msgid "bottom left" msgid "bottom left"
@ -318,19 +311,19 @@ msgstr "bottom left"
#: class/dashboard/subpage-main.php:302 #: class/dashboard/subpage-main.php:302
msgid "center left" msgid "center left"
msgstr "center left" msgstr "centre left"
#: class/dashboard/subpage-main.php:309 #: class/dashboard/subpage-main.php:309
msgid "Enable the mouse-over box" msgid "Enable the mouse-over box"
msgstr "Enable the mouse-over box" msgstr "Enable the tooltip infobox"
#: class/dashboard/subpage-main.php:312 #: class/dashboard/subpage-main.php:312
msgid "Display only an excerpt" msgid "Display only an excerpt"
msgstr "Display only an excerpt" msgstr "Truncate the note in the infobox"
#: class/dashboard/subpage-main.php:315 #: class/dashboard/subpage-main.php:315
msgid "Maximum characters for the excerpt" msgid "Maximum characters for the excerpt"
msgstr "Maximum characters for the excerpt" msgstr "Maximum number of characters"
#: class/dashboard/subpage-main.php:318 #: class/dashboard/subpage-main.php:318
msgid "Position" msgid "Position"
@ -338,164 +331,130 @@ msgstr "Position"
#: class/dashboard/subpage-main.php:321 #: class/dashboard/subpage-main.php:321
msgid "Offset X (px)" msgid "Offset X (px)"
msgstr "Offset X (px)" msgstr "Horizontal offset"
#: class/dashboard/subpage-main.php:323 #: class/dashboard/subpage-main.php:323
msgid "Offset (X axis) in px (may be negative)" msgid "Offset (X axis) in px (may be negative)"
msgstr "Offset (X axis) in px (may be negative)" msgstr "pixels; negative value for a leftwards offset"
#: class/dashboard/subpage-main.php:325 #: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)" msgid "Offset Y (px)"
msgstr "Offset Y (px)" msgstr "Vertical offset"
#: class/dashboard/subpage-main.php:327 #: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)" msgid "Offset (Y axis) in px (may be negative)"
msgstr "Offset (Y axis) in px (may be negative)" msgstr "pixels; negative value for a downwards offset"
#: class/dashboard/subpage-main.php:329 #: class/dashboard/subpage-main.php:329
msgid "Color" msgid "Color"
msgstr "Color" msgstr "Text colour"
#: class/dashboard/subpage-main.php:331 #: class/dashboard/subpage-main.php:331
msgid "Empty color will use the default color defined by your current theme." msgid "Empty color will use the default color of the current theme."
msgstr "Empty color will use the default color defined by your current theme." msgstr "Leave empty to use the current themes default text colour."
#: class/dashboard/subpage-main.php:333 #: class/dashboard/subpage-main.php:333
msgid "Background color" msgid "Background color"
msgstr "Background color" msgstr "Background colour"
#: class/dashboard/subpage-main.php:335 #: class/dashboard/subpage-main.php:335
msgid "" msgid "Empty color will use the default background-color of the current theme."
"Empty color will use the default background-color defined by your current " msgstr "Leave empty to use the current themes default background colour."
"theme."
msgstr ""
"Empty color will use the default background-color defined by your current "
"theme."
#: class/dashboard/subpage-main.php:337 #: class/dashboard/subpage-main.php:337
msgid "Border width (px)" msgid "Border width (px)"
msgstr "Border width (px)" msgstr "Border width"
#: class/dashboard/subpage-main.php:339 #: class/dashboard/subpage-main.php:339
msgid "Set the width to 0px to hide the border." msgid "Set the width to 0px to hide the border."
msgstr "Set the width to 0px to hide the border." msgstr "pixels; 0 for borderless"
#: class/dashboard/subpage-main.php:341 #: class/dashboard/subpage-main.php:341
msgid "Border color" msgid "Border color"
msgstr "Border color" msgstr "Border colour"
#: class/dashboard/subpage-main.php:343 #: class/dashboard/subpage-main.php:343
msgid "" msgid "Empty color will use the default border-color of the current theme."
"Empty color will use the default border-color defined by your current theme." msgstr "Leave empty to use the current themes default border colour."
msgstr ""
"Empty color will use the default border-color defined by your current theme."
#: class/dashboard/subpage-main.php:345 #: class/dashboard/subpage-main.php:345
msgid "Border radius (px)" msgid "Border radius (px)"
msgstr "Border radius (px)" msgstr "Rounded corner radius"
#: class/dashboard/subpage-main.php:347 #: class/dashboard/subpage-main.php:347
msgid "Set the radius to 0px to avoid a radius." msgid "Set the radius to 0px to avoid a radius."
msgstr "Set the radius to 0px to avoid a radius." msgstr "pixels; 0 for sharp corners"
#: class/dashboard/subpage-main.php:349 #: class/dashboard/subpage-main.php:349
msgid "Max. width (px)" msgid "Max. width (px)"
msgstr "Max. width (px)" msgstr "Maximum width"
#: class/dashboard/subpage-main.php:351 #: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting." msgid "Set the max-width to 0px to disable this setting."
msgstr "Set the max-width to 0px to disable this setting." msgstr "pixels; 0 for limiting the width only by the window edge"
#: class/dashboard/subpage-main.php:353 #: class/dashboard/subpage-main.php:353
msgid "Box shadow color" msgid "Box shadow color"
msgstr "Box shadow color" msgstr "Box shadow colour"
#: class/dashboard/subpage-main.php:355 #: class/dashboard/subpage-main.php:355
msgid "" msgid "Empty color will use the default box shadow of the current theme."
"Empty color will use the default box shadow defined by your current theme." msgstr "Leave empty to use the current themes default box shadow colour."
msgstr ""
"Empty color will use the default box shadow defined by your current theme."
#: class/dashboard/subpage-main.php:375 #: class/dashboard/subpage-main.php:375
msgid "Hyperlink symbol"
msgstr "Hyperlink symbol"
#: class/dashboard/subpage-main.php:378
msgid "or enter a user defined symbol"
msgstr "or enter a user defined symbol"
#: class/dashboard/subpage-main.php:380
msgid "if set it overrides the hyperlink symbol above"
msgstr "if set it overrides the hyperlink symbol above"
#: class/dashboard/subpage-main.php:399
msgid "Add custom CSS" msgid "Add custom CSS"
msgstr "Add custom CSS" msgstr "Add custom CSS"
#: class/dashboard/subpage-main.php:402 #: class/dashboard/subpage-main.php:378
msgid "" msgid "Available CSS classes to customize the footnotes and the reference container"
"Available CSS classes to customize the footnotes and the reference container" msgstr "Available CSS classes to customize the footnotes and the reference container"
msgstr ""
"Available CSS classes to customize the footnotes and the reference container"
#: class/dashboard/subpage-main.php:405 #: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index" msgid "superscript, Footnotes index"
msgstr "superscript, Footnotes index" msgstr "&lt;sup&gt; element of the superscript footnote referrer"
#: class/dashboard/subpage-main.php:408 #: class/dashboard/subpage-main.php:384
msgid "mouse-over box, tooltip for each superscript" msgid "mouse-over box, tooltip for each superscript"
msgstr "mouse-over box, tooltip for each superscript" msgstr "&lt;span&gt; element of the tooltip infobox"
#: class/dashboard/subpage-main.php:411 #: class/dashboard/subpage-main.php:387
msgid "1st column of the Reference Container, Footnotes index" msgid "1st column of the Reference Container, Footnotes index"
msgstr "1st column of the Reference Container, Footnotes index" msgstr "&lt;td&gt; element in the 1ˢᵗ column of the notes container: ID with backlink"
#: class/dashboard/subpage-main.php:414 #: class/dashboard/subpage-main.php:390
msgid "2nd column of the Reference Container, Arrow / Hyperlink" msgid "2nd column of the Reference Container, Footnote text"
msgstr "2nd column of the Reference Container, Arrow / Hyperlink" msgstr "&lt;td&gt; element in the 2ⁿᵈ column of the notes container: footnote text"
#: class/dashboard/subpage-main.php:417 #: class/dashboard/subpage-main.php:409
msgid "3rd column of the Reference Container, Footnote text"
msgstr "3rd column of the Reference Container, Footnote text"
#: class/dashboard/subpage-main.php:436
msgid "WordPress hook function name" msgid "WordPress hook function name"
msgstr "WordPress hook function name" msgstr "WordPress hook name"
#: class/dashboard/subpage-main.php:437 #: class/dashboard/subpage-main.php:410
msgid "Activate" msgid "Activate"
msgstr "Activate" msgstr "Activate"
#: class/dashboard/subpage-main.php:438 #: class/dashboard/subpage-main.php:411
msgid "WordPress documentation" msgid "WordPress documentation"
msgstr "WordPress documentation" msgstr "WordPress documentation"
#: class/dashboard/subpage-main.php:486 #: class/dashboard/subpage-main.php:472
msgid "example string"
msgstr "example string"
#: class/dashboard/subpage-main.php:493
msgid "Start your footnote with the following short code:" msgid "Start your footnote with the following short code:"
msgstr "Start your footnote with the following short code:" msgstr "Start your footnote with the following short code:"
#: class/dashboard/subpage-main.php:496 #: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:" msgid "...and end your footnote with this short code:"
msgstr "...and end your footnote with this short code:" msgstr "...and end your footnote with this short code:"
#: class/dashboard/subpage-main.php:500 #: class/dashboard/subpage-main.php:479
msgid "will be displayed as:" msgid "will be displayed as:"
msgstr "will be displayed as:" msgstr "That will display as:"
#: class/dashboard/subpage-main.php:482
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "For further information please check out our %ssupport forum%s on WordPress.org."
#: class/dashboard/subpage-main.php:503 #: class/dashboard/subpage-main.php:503
#, php-format
msgid ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
msgstr ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
#: class/dashboard/subpage-main.php:524
msgid "Donate now" msgid "Donate now"
msgstr "Donate now" msgstr "Donate now"
@ -518,16 +477,12 @@ msgstr "Donate"
#: class/task.php:370 #: class/task.php:370
#, php-format #, php-format
msgid "%scontinue%s" msgid "%scontinue%s"
msgstr "%scontinue%s" msgstr "%sContinue&nbsp;reading%s"
#: class/widgets/reference-container.php:49 #: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61 #: class/widgets/reference-container.php:61
msgid "" msgid "The widget defines the position of the reference container if set to \"widget area\"."
"The widget defines the position of the reference container if set to " msgstr "The widget defines the position of the reference container if set to \"widget area\"."
"\"widget area\"."
msgstr ""
"The widget defines the position of the reference container if set to "
"\"widget area\"."
#~ msgid "inline footnotes" #~ msgid "inline footnotes"
#~ msgstr "inline footnotes" #~ msgstr "inline footnotes"

Binary file not shown.

View file

@ -1,8 +1,11 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: footnotes\n" "Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n" "POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2014-10-18 20:59+0100\n" "PO-Revision-Date: 2020-10-26T2229+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n" "Last-Translator: Stefan Herndler <support@herndler.org>\n"
"Language-Team: SHE <s.herndler@methis.at>\n" "Language-Team: SHE <s.herndler@methis.at>\n"
"Language: en_US\n" "Language: en_US\n"
@ -24,7 +27,7 @@ msgstr "Take a look at other Plugins we have developed."
#: class/dashboard/init.php:157 #: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!" msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Error loading other WordPress Plugins from Manfisher. Sorry!" msgstr "Error loading other WordPress Plugins from ManFisher. Sorry!"
#: class/dashboard/init.php:173 #: class/dashboard/init.php:173
msgid "Install now" msgid "Install now"
@ -40,15 +43,15 @@ msgstr "Installed"
#: class/dashboard/init.php:193 #: class/dashboard/init.php:193
msgid "More Details" msgid "More Details"
msgstr "More Details" msgstr "More details"
#: class/dashboard/init.php:194 #: class/dashboard/init.php:194
msgid "Last Updated" msgid "Last Updated"
msgstr "Last Updated" msgstr "Last updated"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "rating based on" msgid "rating based on"
msgstr "rating based on" msgstr "Rating based on"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "ratings" msgid "ratings"
@ -81,7 +84,7 @@ msgstr "User agent"
#: class/dashboard/subpage-diagnostics.php:119 #: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time" msgid "Max execution time"
msgstr "Max execution time" msgstr "Maximum execution time"
#: class/dashboard/subpage-diagnostics.php:120 #: class/dashboard/subpage-diagnostics.php:120
msgid "seconds" msgid "seconds"
@ -134,23 +137,19 @@ msgstr "Other"
#: class/dashboard/subpage-main.php:83 #: class/dashboard/subpage-main.php:83
msgid "Superscript layout" msgid "Superscript layout"
msgstr "Superscript layout" msgstr "Around the inline footnote referrers"
#: class/dashboard/subpage-main.php:84 #: class/dashboard/subpage-main.php:84
msgid "Mouse-over box" msgid "Mouse-over box"
msgstr "Mouse-over box" msgstr "Mouse-over box"
#: class/dashboard/subpage-main.php:85
msgid "Hyperlink symbol in the Reference container"
msgstr "Hyperlink symbol in the Reference container"
#: class/dashboard/subpage-main.php:86 #: class/dashboard/subpage-main.php:86
msgid "Add custom CSS to the public page" msgid "Add custom CSS to the public page"
msgstr "Add custom CSS to the public page" msgstr "Add custom CSS to the public page"
#: class/dashboard/subpage-main.php:88 #: class/dashboard/subpage-main.php:88
msgid "WordPress hooks to look for Footnote short codes" msgid "WordPress hooks to look for Footnote short codes"
msgstr "WordPress hooks to look for Footnote short codes" msgstr "WordPress hooks to look for footnote short codes"
#: class/dashboard/subpage-main.php:90 #: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin" msgid "Brief introduction in how to use the plugin"
@ -158,7 +157,7 @@ msgstr "Brief introduction in how to use the plugin"
#: class/dashboard/subpage-main.php:91 #: class/dashboard/subpage-main.php:91
msgid "Help us to improve our Plugin" msgid "Help us to improve our Plugin"
msgstr "Help us to improve our Plugin" msgstr "Help us to improve our plugin"
#: class/dashboard/subpage-main.php:104 #: class/dashboard/subpage-main.php:104
msgid "in the footer" msgid "in the footer"
@ -166,7 +165,7 @@ msgstr "in the footer"
#: class/dashboard/subpage-main.php:105 #: class/dashboard/subpage-main.php:105
msgid "at the end of the post" msgid "at the end of the post"
msgstr "at the end of the post" msgstr "at the end of the page"
#: class/dashboard/subpage-main.php:106 #: class/dashboard/subpage-main.php:106
msgid "in the widget area" msgid "in the widget area"
@ -174,15 +173,15 @@ msgstr "in the widget area"
#: class/dashboard/subpage-main.php:114 #: class/dashboard/subpage-main.php:114
msgid "References label" msgid "References label"
msgstr "References label" msgstr "Heading"
#: class/dashboard/subpage-main.php:117 #: class/dashboard/subpage-main.php:117
msgid "Collapse references by default" msgid "Collapse references by default"
msgstr "Collapse references by default" msgstr "Collapse by default"
#: class/dashboard/subpage-main.php:120 #: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear" msgid "Where shall the reference container appear"
msgstr "Where shall the reference container appear" msgstr "Position"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239 #: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290 #: class/dashboard/subpage-main.php:290
@ -200,19 +199,19 @@ msgstr "user defined"
#: class/dashboard/subpage-main.php:158 #: class/dashboard/subpage-main.php:158
msgid "Arabic Numbers - Plain" msgid "Arabic Numbers - Plain"
msgstr "Arabic Numbers - Plain" msgstr "Plain Arabic Numbers"
#: class/dashboard/subpage-main.php:159 #: class/dashboard/subpage-main.php:159
msgid "Arabic Numbers - Leading 0" msgid "Arabic Numbers - Leading 0"
msgstr "Arabic Numbers - Leading 0" msgstr "Zero-padded Arabic Numbers"
#: class/dashboard/subpage-main.php:160 #: class/dashboard/subpage-main.php:160
msgid "Latin Character - lower case" msgid "Latin Character - lower case"
msgstr "Latin Character - lower case" msgstr "Lowercase Latin letters"
#: class/dashboard/subpage-main.php:161 #: class/dashboard/subpage-main.php:161
msgid "Latin Character - upper case" msgid "Latin Character - upper case"
msgstr "Latin Character - upper case" msgstr "Uppercase Latin letters"
#: class/dashboard/subpage-main.php:162 #: class/dashboard/subpage-main.php:162
msgid "Roman Numerals" msgid "Roman Numerals"
@ -224,11 +223,11 @@ msgstr "Combine identical footnotes"
#: class/dashboard/subpage-main.php:173 #: class/dashboard/subpage-main.php:173
msgid "Footnote tag starts with" msgid "Footnote tag starts with"
msgstr "Footnote tag starts with" msgstr "Footnote start tag short code"
#: class/dashboard/subpage-main.php:176 #: class/dashboard/subpage-main.php:176
msgid "and ends with" msgid "and ends with"
msgstr "and ends with" msgstr "Footnote end tag short code"
#: class/dashboard/subpage-main.php:185 #: class/dashboard/subpage-main.php:185
msgid "Counter style" msgid "Counter style"
@ -242,21 +241,21 @@ msgstr "I %s %s"
#: class/dashboard/subpage-main.php:208 class/task.php:157 #: class/dashboard/subpage-main.php:208 class/task.php:157
#, php-format #, php-format
msgid "this site uses the awesome %s Plugin" msgid "this site uses the awesome %s Plugin"
msgstr "this site uses the awesome %s Plugin" msgstr "This site uses the awesome %s Plugin."
#: class/dashboard/subpage-main.php:209 class/task.php:161 #: class/dashboard/subpage-main.php:209 class/task.php:161
#, php-format #, php-format
msgid "extra smooth %s" msgid "extra smooth %s"
msgstr "extra smooth %s" msgstr "%s"
#: class/dashboard/subpage-main.php:210 #: class/dashboard/subpage-main.php:210
msgid "random text" msgid "random text"
msgstr "random text" msgstr "random-driven display of either variant"
#: class/dashboard/subpage-main.php:211 #: class/dashboard/subpage-main.php:211
#, php-format #, php-format
msgid "Don't display a %s %s text in my footer." msgid "Don't display a %s %s text in my footer."
msgstr "Don't display a %s %s text in my footer." msgstr "no display of any “%s %s” mention in the footer"
#: class/dashboard/subpage-main.php:219 #: class/dashboard/subpage-main.php:219
#, php-format #, php-format
@ -265,16 +264,12 @@ msgstr "Tell the world you're using %s"
#: class/dashboard/subpage-main.php:222 #: class/dashboard/subpage-main.php:222
#, php-format #, php-format
msgid "" msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
"Don't tell the world you're using %s on specific pages by adding the " msgstr "Shortcode to inhibit the display of the %s mention on specific pages:"
"following short code:"
msgstr ""
"Don't tell the world you're using %s on specific pages by adding the "
"following short code:"
#: class/dashboard/subpage-main.php:248 #: class/dashboard/subpage-main.php:248
msgid "Allow footnotes on Summarized Posts" msgid "Allow footnotes on Summarized Posts"
msgstr "Allow footnotes on Summarized Posts" msgstr "Display footnotes in abstracts too"
#: class/dashboard/subpage-main.php:250 #: class/dashboard/subpage-main.php:250
msgid "Enable the Expert mode" msgid "Enable the Expert mode"
@ -282,11 +277,11 @@ msgstr "Enable the Expert mode"
#: class/dashboard/subpage-main.php:270 #: class/dashboard/subpage-main.php:270
msgid "Before Footnotes index" msgid "Before Footnotes index"
msgstr "Before Footnotes index" msgstr "Before the footnote referrer"
#: class/dashboard/subpage-main.php:273 #: class/dashboard/subpage-main.php:273
msgid "After Footnotes index" msgid "After Footnotes index"
msgstr "After Footnotes index" msgstr "After the footnote referrer"
#: class/dashboard/subpage-main.php:295 #: class/dashboard/subpage-main.php:295
msgid "top left" msgid "top left"
@ -294,7 +289,7 @@ msgstr "top left"
#: class/dashboard/subpage-main.php:296 #: class/dashboard/subpage-main.php:296
msgid "top center" msgid "top center"
msgstr "top center" msgstr "center top"
#: class/dashboard/subpage-main.php:297 #: class/dashboard/subpage-main.php:297
msgid "top right" msgid "top right"
@ -310,7 +305,7 @@ msgstr "bottom right"
#: class/dashboard/subpage-main.php:300 #: class/dashboard/subpage-main.php:300
msgid "bottom center" msgid "bottom center"
msgstr "bottom center" msgstr "center bottom"
#: class/dashboard/subpage-main.php:301 #: class/dashboard/subpage-main.php:301
msgid "bottom left" msgid "bottom left"
@ -322,15 +317,15 @@ msgstr "center left"
#: class/dashboard/subpage-main.php:309 #: class/dashboard/subpage-main.php:309
msgid "Enable the mouse-over box" msgid "Enable the mouse-over box"
msgstr "Enable the mouse-over box" msgstr "Enable the tooltip infobox"
#: class/dashboard/subpage-main.php:312 #: class/dashboard/subpage-main.php:312
msgid "Display only an excerpt" msgid "Display only an excerpt"
msgstr "Display only an excerpt" msgstr "Truncate the note in the infobox"
#: class/dashboard/subpage-main.php:315 #: class/dashboard/subpage-main.php:315
msgid "Maximum characters for the excerpt" msgid "Maximum characters for the excerpt"
msgstr "Maximum characters for the excerpt" msgstr "Maximum number of characters"
#: class/dashboard/subpage-main.php:318 #: class/dashboard/subpage-main.php:318
msgid "Position" msgid "Position"
@ -338,164 +333,130 @@ msgstr "Position"
#: class/dashboard/subpage-main.php:321 #: class/dashboard/subpage-main.php:321
msgid "Offset X (px)" msgid "Offset X (px)"
msgstr "Offset X (px)" msgstr "Horizontal offset"
#: class/dashboard/subpage-main.php:323 #: class/dashboard/subpage-main.php:323
msgid "Offset (X axis) in px (may be negative)" msgid "Offset (X axis) in px (may be negative)"
msgstr "Offset (X axis) in px (may be negative)" msgstr "pixels; negative value for a leftwards offset"
#: class/dashboard/subpage-main.php:325 #: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)" msgid "Offset Y (px)"
msgstr "Offset Y (px)" msgstr "Vertical offset"
#: class/dashboard/subpage-main.php:327 #: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)" msgid "Offset (Y axis) in px (may be negative)"
msgstr "Offset (Y axis) in px (may be negative)" msgstr "pixels; negative value for a downwards offset"
#: class/dashboard/subpage-main.php:329 #: class/dashboard/subpage-main.php:329
msgid "Color" msgid "Color"
msgstr "Color" msgstr "Text color"
#: class/dashboard/subpage-main.php:331 #: class/dashboard/subpage-main.php:331
msgid "Empty color will use the default color defined by your current theme." msgid "Empty color will use the default color of the current theme."
msgstr "Empty color will use the default color defined by your current theme." msgstr "Leave empty to use the current themes default text color."
#: class/dashboard/subpage-main.php:333 #: class/dashboard/subpage-main.php:333
msgid "Background color" msgid "Background color"
msgstr "Background color" msgstr "Background color"
#: class/dashboard/subpage-main.php:335 #: class/dashboard/subpage-main.php:335
msgid "" msgid "Empty color will use the default background-color of the current theme."
"Empty color will use the default background-color defined by your current " msgstr "Leave empty to use the current themes default background color."
"theme."
msgstr ""
"Empty color will use the default background-color defined by your current "
"theme."
#: class/dashboard/subpage-main.php:337 #: class/dashboard/subpage-main.php:337
msgid "Border width (px)" msgid "Border width (px)"
msgstr "Border width (px)" msgstr "Border width"
#: class/dashboard/subpage-main.php:339 #: class/dashboard/subpage-main.php:339
msgid "Set the width to 0px to hide the border." msgid "Set the width to 0px to hide the border."
msgstr "Set the width to 0px to hide the border." msgstr "pixels; 0 for borderless"
#: class/dashboard/subpage-main.php:341 #: class/dashboard/subpage-main.php:341
msgid "Border color" msgid "Border color"
msgstr "Border color" msgstr "Border color"
#: class/dashboard/subpage-main.php:343 #: class/dashboard/subpage-main.php:343
msgid "" msgid "Empty color will use the default border-color of the current theme."
"Empty color will use the default border-color defined by your current theme." msgstr "Leave empty to use the current themes default border color."
msgstr ""
"Empty color will use the default border-color defined by your current theme."
#: class/dashboard/subpage-main.php:345 #: class/dashboard/subpage-main.php:345
msgid "Border radius (px)" msgid "Border radius (px)"
msgstr "Border radius (px)" msgstr "Rounded corner radius"
#: class/dashboard/subpage-main.php:347 #: class/dashboard/subpage-main.php:347
msgid "Set the radius to 0px to avoid a radius." msgid "Set the radius to 0px to avoid a radius."
msgstr "Set the radius to 0px to avoid a radius." msgstr "pixels; 0 for sharp corners"
#: class/dashboard/subpage-main.php:349 #: class/dashboard/subpage-main.php:349
msgid "Max. width (px)" msgid "Max. width (px)"
msgstr "Max. width (px)" msgstr "Maximum width"
#: class/dashboard/subpage-main.php:351 #: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting." msgid "Set the max-width to 0px to disable this setting."
msgstr "Set the max-width to 0px to disable this setting." msgstr "pixels; 0 for limiting the width only by the window edge"
#: class/dashboard/subpage-main.php:353 #: class/dashboard/subpage-main.php:353
msgid "Box shadow color" msgid "Box shadow color"
msgstr "Box shadow color" msgstr "Box shadow color"
#: class/dashboard/subpage-main.php:355 #: class/dashboard/subpage-main.php:355
msgid "" msgid "Empty color will use the default box shadow of the current theme."
"Empty color will use the default box shadow defined by your current theme." msgstr "Leave empty to use the current themes default box shadow color."
msgstr ""
"Empty color will use the default box shadow defined by your current theme."
#: class/dashboard/subpage-main.php:375 #: class/dashboard/subpage-main.php:375
msgid "Hyperlink symbol"
msgstr "Hyperlink symbol"
#: class/dashboard/subpage-main.php:378
msgid "or enter a user defined symbol"
msgstr "or enter a user defined symbol"
#: class/dashboard/subpage-main.php:380
msgid "if set it overrides the hyperlink symbol above"
msgstr "if set it overrides the hyperlink symbol above"
#: class/dashboard/subpage-main.php:399
msgid "Add custom CSS" msgid "Add custom CSS"
msgstr "Add custom CSS" msgstr "Add custom CSS"
#: class/dashboard/subpage-main.php:402 #: class/dashboard/subpage-main.php:378
msgid "" msgid "Available CSS classes to customize the footnotes and the reference container"
"Available CSS classes to customize the footnotes and the reference container" msgstr "Available CSS classes to customize the footnotes and the reference container"
msgstr ""
"Available CSS classes to customize the footnotes and the reference container"
#: class/dashboard/subpage-main.php:405 #: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index" msgid "superscript, Footnotes index"
msgstr "superscript, Footnotes index" msgstr "&lt;sup&gt; element of the superscript footnote referrer"
#: class/dashboard/subpage-main.php:408 #: class/dashboard/subpage-main.php:384
msgid "mouse-over box, tooltip for each superscript" msgid "mouse-over box, tooltip for each superscript"
msgstr "mouse-over box, tooltip for each superscript" msgstr "&lt;span&gt; element of the tooltip infobox"
#: class/dashboard/subpage-main.php:411 #: class/dashboard/subpage-main.php:387
msgid "1st column of the Reference Container, Footnotes index" msgid "1st column of the Reference Container, Footnotes index"
msgstr "1st column of the Reference Container, Footnotes index" msgstr "&lt;td&gt; element in the 1ˢᵗ column of the notes container: ID with backlink"
#: class/dashboard/subpage-main.php:414 #: class/dashboard/subpage-main.php:390
msgid "2nd column of the Reference Container, Arrow / Hyperlink" msgid "2nd column of the Reference Container, Footnote text"
msgstr "2nd column of the Reference Container, Arrow / Hyperlink" msgstr "&lt;td&gt; element in the 2ⁿᵈ column of the notes container: footnote text"
#: class/dashboard/subpage-main.php:417 #: class/dashboard/subpage-main.php:409
msgid "3rd column of the Reference Container, Footnote text"
msgstr "3rd column of the Reference Container, Footnote text"
#: class/dashboard/subpage-main.php:436
msgid "WordPress hook function name" msgid "WordPress hook function name"
msgstr "WordPress hook function name" msgstr "WordPress hook name"
#: class/dashboard/subpage-main.php:437 #: class/dashboard/subpage-main.php:410
msgid "Activate" msgid "Activate"
msgstr "Activate" msgstr "Activate"
#: class/dashboard/subpage-main.php:438 #: class/dashboard/subpage-main.php:411
msgid "WordPress documentation" msgid "WordPress documentation"
msgstr "WordPress documentation" msgstr "WordPress documentation"
#: class/dashboard/subpage-main.php:486 #: class/dashboard/subpage-main.php:472
msgid "example string"
msgstr "example string"
#: class/dashboard/subpage-main.php:493
msgid "Start your footnote with the following short code:" msgid "Start your footnote with the following short code:"
msgstr "Start your footnote with the following short code:" msgstr "Start your footnote with the following short code:"
#: class/dashboard/subpage-main.php:496 #: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:" msgid "...and end your footnote with this short code:"
msgstr "...and end your footnote with this short code:" msgstr "...and end your footnote with this short code:"
#: class/dashboard/subpage-main.php:500 #: class/dashboard/subpage-main.php:479
msgid "will be displayed as:" msgid "will be displayed as:"
msgstr "will be displayed as:" msgstr "That will display as:"
#: class/dashboard/subpage-main.php:482
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "For further information please check out our %ssupport forum%s on WordPress.org."
#: class/dashboard/subpage-main.php:503 #: class/dashboard/subpage-main.php:503
#, php-format
msgid ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
msgstr ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
#: class/dashboard/subpage-main.php:524
msgid "Donate now" msgid "Donate now"
msgstr "Donate now" msgstr "Donate now"
@ -518,16 +479,12 @@ msgstr "Donate"
#: class/task.php:370 #: class/task.php:370
#, php-format #, php-format
msgid "%scontinue%s" msgid "%scontinue%s"
msgstr "%scontinue%s" msgstr "%sContinue&nbsp;reading%s"
#: class/widgets/reference-container.php:49 #: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61 #: class/widgets/reference-container.php:61
msgid "" msgid "The widget defines the position of the reference container if set to \"widget area\"."
"The widget defines the position of the reference container if set to " msgstr "The widget defines the position of the reference container if set to \"widget area\"."
"\"widget area\"."
msgstr ""
"The widget defines the position of the reference container if set to "
"\"widget area\"."
#~ msgid "inline footnotes" #~ msgid "inline footnotes"
#~ msgstr "inline footnotes" #~ msgstr "inline footnotes"

Binary file not shown.

View file

@ -1,9 +1,9 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid "" msgid ""
msgstr "" msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n" "POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2014-10-18 20:59+0100\n" "PO-Revision-Date: 2020-10-25T2209+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n" "Last-Translator: Stefan Herndler <support@herndler.org>\n"
"Language-Team: Pablo Laguna <pablolaguna@vera.com.uy>\n" "Language-Team: Pablo Laguna <pablolaguna@vera.com.uy>\n"
"Language: es_ES\n" "Language: es_ES\n"
@ -25,7 +25,7 @@ msgstr "Echa un vistazo a los otros plugins que hemos desarrollado."
#: class/dashboard/init.php:157 #: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!" msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Error cargando otro plugin de Manfisher. Disculpa." msgstr "Error cargando otros plugins de ManFisher. Disculpa."
#: class/dashboard/init.php:173 #: class/dashboard/init.php:173
msgid "Install now" msgid "Install now"
@ -33,7 +33,7 @@ msgstr "Instalar ahora"
#: class/dashboard/init.php:174 #: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date." msgid "This Plugin is already installed and up to date."
msgstr "Este plugin está instalado y actualizado." msgstr "Este plugin está ya instalado y actualizado."
#: class/dashboard/init.php:174 #: class/dashboard/init.php:174
msgid "Installed" msgid "Installed"
@ -49,7 +49,7 @@ msgstr "Última actualización"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "rating based on" msgid "rating based on"
msgstr "puntuación basada en" msgstr "Puntuación basada en"
#: class/dashboard/init.php:249 #: class/dashboard/init.php:249
msgid "ratings" msgid "ratings"
@ -122,7 +122,7 @@ msgstr "Cómo queda"
#: class/dashboard/subpage-main.php:78 #: class/dashboard/subpage-main.php:78
msgid "References Container" msgid "References Container"
msgstr "Sección de referencias" msgstr "Sección de notas"
#: class/dashboard/subpage-main.php:79 #: class/dashboard/subpage-main.php:79
#, php-format #, php-format
@ -131,27 +131,23 @@ msgstr "Apariencia de %s"
#: class/dashboard/subpage-main.php:81 #: class/dashboard/subpage-main.php:81
msgid "Other" msgid "Other"
msgstr "Otro" msgstr "Otros ajustes"
#: class/dashboard/subpage-main.php:83 #: class/dashboard/subpage-main.php:83
msgid "Superscript layout" msgid "Superscript layout"
msgstr "Apariencia del superíndice" msgstr "Alrededor de las anclas de nota en el texto"
#: class/dashboard/subpage-main.php:84 #: class/dashboard/subpage-main.php:84
msgid "Mouse-over box" msgid "Mouse-over box"
msgstr "Caja sobre el cursor" msgstr "Caja tooltip debajo el puntero sobre el ancla de nota"
#: class/dashboard/subpage-main.php:85
msgid "Hyperlink symbol in the Reference container"
msgstr "Símbolo del enlace en la sección de referencias"
#: class/dashboard/subpage-main.php:86 #: class/dashboard/subpage-main.php:86
msgid "Add custom CSS to the public page" msgid "Add custom CSS to the public page"
msgstr "Añade CSS personalizado a la página pública" msgstr "Añade CSS personalizado a las páginas públicas"
#: class/dashboard/subpage-main.php:88 #: class/dashboard/subpage-main.php:88
msgid "WordPress hooks to look for Footnote short codes" msgid "WordPress hooks to look for Footnote short codes"
msgstr "Enlaces a WordPress para buscar shortcodes de footnote" msgstr "Enlaces a WordPress para buscar shortcodes de footnotes"
#: class/dashboard/subpage-main.php:90 #: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin" msgid "Brief introduction in how to use the plugin"
@ -183,7 +179,7 @@ msgstr "Contraer por defecto"
#: class/dashboard/subpage-main.php:120 #: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear" msgid "Where shall the reference container appear"
msgstr "Dónde debería aparecer" msgstr "Posición"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239 #: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290 #: class/dashboard/subpage-main.php:290
@ -201,19 +197,19 @@ msgstr "definido por el usuario"
#: class/dashboard/subpage-main.php:158 #: class/dashboard/subpage-main.php:158
msgid "Arabic Numbers - Plain" msgid "Arabic Numbers - Plain"
msgstr "Números arábigos - simple" msgstr "Números arábigos"
#: class/dashboard/subpage-main.php:159 #: class/dashboard/subpage-main.php:159
msgid "Arabic Numbers - Leading 0" msgid "Arabic Numbers - Leading 0"
msgstr "Números arábigos - empezando con 0" msgstr "Números arábigos de dos digitos"
#: class/dashboard/subpage-main.php:160 #: class/dashboard/subpage-main.php:160
msgid "Latin Character - lower case" msgid "Latin Character - lower case"
msgstr "Caracteres latinos - minúsculas" msgstr "Letras latinas minúsculas"
#: class/dashboard/subpage-main.php:161 #: class/dashboard/subpage-main.php:161
msgid "Latin Character - upper case" msgid "Latin Character - upper case"
msgstr "Caracteres latinos - mayúsculas" msgstr "Letras latinas mayúsculas"
#: class/dashboard/subpage-main.php:162 #: class/dashboard/subpage-main.php:162
msgid "Roman Numerals" msgid "Roman Numerals"
@ -243,39 +239,35 @@ msgstr "Yo %s %s"
#: class/dashboard/subpage-main.php:208 class/task.php:157 #: class/dashboard/subpage-main.php:208 class/task.php:157
#, php-format #, php-format
msgid "this site uses the awesome %s Plugin" msgid "this site uses the awesome %s Plugin"
msgstr "este sitio utiliza el impresionante plugin %s" msgstr "Este sitio utiliza el impresionante plugin %s."
#: class/dashboard/subpage-main.php:209 class/task.php:161 #: class/dashboard/subpage-main.php:209 class/task.php:161
#, php-format #, php-format
msgid "extra smooth %s" msgid "extra smooth %s"
msgstr "" msgstr "%s"
#: class/dashboard/subpage-main.php:210 #: class/dashboard/subpage-main.php:210
msgid "random text" msgid "random text"
msgstr "texto aleatorio" msgstr "mostrar aleatoriamente qualquiera entre las tres variantes"
#: class/dashboard/subpage-main.php:211 #: class/dashboard/subpage-main.php:211
#, php-format #, php-format
msgid "Don't display a %s %s text in my footer." msgid "Don't display a %s %s text in my footer."
msgstr "No mostrar en mi pie el texto: %s %s" msgstr "no mostrar alguna variante de “%s %s” en el pie de página"
#: class/dashboard/subpage-main.php:219 #: class/dashboard/subpage-main.php:219
#, php-format #, php-format
msgid "Tell the world you're using %s" msgid "Tell the world you're using %s"
msgstr "Cuéntale al mundo que usas %s" msgstr "Cuentar al mundo que estás usando %s"
#: class/dashboard/subpage-main.php:222 #: class/dashboard/subpage-main.php:222
#, php-format #, php-format
msgid "" msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
"Don't tell the world you're using %s on specific pages by adding the " msgstr "Para no mostrar públicamente en páginas/entradas específicas que usas %s, añade el siguiente shortcode a las mismas:"
"following short code:"
msgstr ""
"Para no mostrar públicamente en páginas/entradas específicas que usas %s, "
"añade el siguiente shortcode a las mismas:"
#: class/dashboard/subpage-main.php:248 #: class/dashboard/subpage-main.php:248
msgid "Allow footnotes on Summarized Posts" msgid "Allow footnotes on Summarized Posts"
msgstr "Permitir notas al pie en entradas resumidas" msgstr "Mostrar notas también en abstractos"
#: class/dashboard/subpage-main.php:250 #: class/dashboard/subpage-main.php:250
msgid "Enable the Expert mode" msgid "Enable the Expert mode"
@ -283,218 +275,186 @@ msgstr "Habilitar el modo experto"
#: class/dashboard/subpage-main.php:270 #: class/dashboard/subpage-main.php:270
msgid "Before Footnotes index" msgid "Before Footnotes index"
msgstr "Antes del indicador de nota" msgstr "Antes del ancla de nota"
#: class/dashboard/subpage-main.php:273 #: class/dashboard/subpage-main.php:273
msgid "After Footnotes index" msgid "After Footnotes index"
msgstr "Después del indicador de nota" msgstr "Después del ancla de nota"
#: class/dashboard/subpage-main.php:295 #: class/dashboard/subpage-main.php:295
msgid "top left" msgid "top left"
msgstr "" msgstr "arriba a la izquierda"
#: class/dashboard/subpage-main.php:296 #: class/dashboard/subpage-main.php:296
msgid "top center" msgid "top center"
msgstr "" msgstr "centro superior"
#: class/dashboard/subpage-main.php:297 #: class/dashboard/subpage-main.php:297
msgid "top right" msgid "top right"
msgstr "" msgstr "arriba a la derecha"
#: class/dashboard/subpage-main.php:298 #: class/dashboard/subpage-main.php:298
msgid "center right" msgid "center right"
msgstr "" msgstr "centro derecha"
#: class/dashboard/subpage-main.php:299 #: class/dashboard/subpage-main.php:299
msgid "bottom right" msgid "bottom right"
msgstr "" msgstr "abajo a la derecha"
#: class/dashboard/subpage-main.php:300 #: class/dashboard/subpage-main.php:300
msgid "bottom center" msgid "bottom center"
msgstr "" msgstr "centro inferior"
#: class/dashboard/subpage-main.php:301 #: class/dashboard/subpage-main.php:301
msgid "bottom left" msgid "bottom left"
msgstr "" msgstr "abajo a la izquierda"
#: class/dashboard/subpage-main.php:302 #: class/dashboard/subpage-main.php:302
msgid "center left" msgid "center left"
msgstr "" msgstr "centro izquierda"
#: class/dashboard/subpage-main.php:309 #: class/dashboard/subpage-main.php:309
msgid "Enable the mouse-over box" msgid "Enable the mouse-over box"
msgstr "Habilitar la caja sobre el cursor" msgstr "Habilitar la infobox debajo del puntero"
#: class/dashboard/subpage-main.php:312 #: class/dashboard/subpage-main.php:312
msgid "Display only an excerpt" msgid "Display only an excerpt"
msgstr "Motrar sólo un extracto" msgstr "Truncar notas largas en la infobox"
#: class/dashboard/subpage-main.php:315 #: class/dashboard/subpage-main.php:315
msgid "Maximum characters for the excerpt" msgid "Maximum characters for the excerpt"
msgstr "Caracteres máximos para el extracto" msgstr "Número máximo de caracteres"
#: class/dashboard/subpage-main.php:318 #: class/dashboard/subpage-main.php:318
msgid "Position" msgid "Position"
msgstr "" msgstr "Posición"
#: class/dashboard/subpage-main.php:321 #: class/dashboard/subpage-main.php:321
msgid "Offset X (px)" msgid "Offset X (px)"
msgstr "" msgstr "Desplazamiento horizontal"
#: class/dashboard/subpage-main.php:323 #: class/dashboard/subpage-main.php:323
msgid "Offset (X axis) in px (may be negative)" msgid "Offset (X axis) in px (may be negative)"
msgstr "" msgstr "en pixels; valor negativo para desplazar a la izquierda"
#: class/dashboard/subpage-main.php:325 #: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)" msgid "Offset Y (px)"
msgstr "" msgstr "Desplazamiento vertical"
#: class/dashboard/subpage-main.php:327 #: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)" msgid "Offset (Y axis) in px (may be negative)"
msgstr "" msgstr "en pixels; valor negativo para desplazar hacia abajo"
#: class/dashboard/subpage-main.php:329 #: class/dashboard/subpage-main.php:329
msgid "Color" msgid "Color"
msgstr "Color" msgstr "Color de texto"
#: class/dashboard/subpage-main.php:331 #: class/dashboard/subpage-main.php:331
msgid "Empty color will use the default color defined by your current theme." msgid "Empty color will use the default color defined by your current theme."
msgstr "" msgstr "Dejar vacío para usar el color de texto por defecto del tema actual."
"Si se deja vacío se usará el color por defecto definido por tu tema actual."
#: class/dashboard/subpage-main.php:333 #: class/dashboard/subpage-main.php:333
msgid "Background color" msgid "Background color"
msgstr "Color del fondo" msgstr "Color de fondo"
#: class/dashboard/subpage-main.php:335 #: class/dashboard/subpage-main.php:335
msgid "" msgid "Empty color will use the default background-color defined by your current theme."
"Empty color will use the default background-color defined by your current " msgstr "Dejar vacío para usar el color de fondo por defecto del tema actual."
"theme."
msgstr ""
"Si se deja vacío se usará el color por defecto definido por tu tema actual."
#: class/dashboard/subpage-main.php:337 #: class/dashboard/subpage-main.php:337
msgid "Border width (px)" msgid "Border width (px)"
msgstr "Ancho del borde (píxeles)" msgstr "Ancho de borde"
#: class/dashboard/subpage-main.php:339 #: class/dashboard/subpage-main.php:339
msgid "Set the width to 0px to hide the border." msgid "Set the width to 0px to hide the border."
msgstr "Establece 0px para ocultar el borde." msgstr "píxeles; 0 para sin borde"
#: class/dashboard/subpage-main.php:341 #: class/dashboard/subpage-main.php:341
msgid "Border color" msgid "Border color"
msgstr "Color del borde" msgstr "Color de borde"
#: class/dashboard/subpage-main.php:343 #: class/dashboard/subpage-main.php:343
msgid "" msgid "Empty color will use the default border-color defined by your current theme."
"Empty color will use the default border-color defined by your current theme." msgstr "Dejar vacío para usar el color de borde por defecto del tema actual."
msgstr ""
"Si se deja vacío se usará el color por defecto definido por tu tema actual."
#: class/dashboard/subpage-main.php:345 #: class/dashboard/subpage-main.php:345
msgid "Border radius (px)" msgid "Border radius (px)"
msgstr "" msgstr "Radio de esquinas redondeadas"
#: class/dashboard/subpage-main.php:347 #: class/dashboard/subpage-main.php:347
msgid "Set the radius to 0px to avoid a radius." msgid "Set the radius to 0px to avoid a radius."
msgstr "" msgstr "píxeles; 0 para esquinas agudas"
#: class/dashboard/subpage-main.php:349 #: class/dashboard/subpage-main.php:349
msgid "Max. width (px)" msgid "Max. width (px)"
msgstr "Ancho máximo (píxeles)" msgstr "Ancho máximo"
#: class/dashboard/subpage-main.php:351 #: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting." msgid "Set the max-width to 0px to disable this setting."
msgstr "Establece 0px para deshabitar este ajuste." msgstr "píxeles; 0 para un ancho limitado solo por el borde de la ventana"
#: class/dashboard/subpage-main.php:353 #: class/dashboard/subpage-main.php:353
msgid "Box shadow color" msgid "Box shadow color"
msgstr "" msgstr "Color de sombra"
#: class/dashboard/subpage-main.php:355 #: class/dashboard/subpage-main.php:355
msgid "" msgid "Empty color will use the default box shadow defined by your current theme."
"Empty color will use the default box shadow defined by your current theme." msgstr "Dejar vacío para usar el color de sombra por defecto del tema actual."
msgstr ""
#: class/dashboard/subpage-main.php:375 #: class/dashboard/subpage-main.php:375
msgid "Hyperlink symbol"
msgstr "Símbolo del enlace"
#: class/dashboard/subpage-main.php:378
msgid "or enter a user defined symbol"
msgstr "o introduce un símbolo"
#: class/dashboard/subpage-main.php:380
msgid "if set it overrides the hyperlink symbol above"
msgstr "si se establece, anula el símbolo anterior"
#: class/dashboard/subpage-main.php:399
msgid "Add custom CSS" msgid "Add custom CSS"
msgstr "Añadir CSS personalizado" msgstr "Añadir CSS personalizado"
#: class/dashboard/subpage-main.php:402 #: class/dashboard/subpage-main.php:378
msgid "" msgid "Available CSS classes to customize the footnotes and the reference container"
"Available CSS classes to customize the footnotes and the reference container" msgstr "Clases CSS disponibles para personalizar las notas y la sección de notas"
msgstr ""
"Clases CSS disponibles para personalizar las notas y la sección de notas"
#: class/dashboard/subpage-main.php:405 #: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index" msgid "superscript, Footnotes index"
msgstr "" msgstr "elemento &lt;sup&gt; del ancla de nota sobrescrita"
#: class/dashboard/subpage-main.php:408 #: class/dashboard/subpage-main.php:384
msgid "mouse-over box, tooltip for each superscript" msgid "mouse-over box, tooltip for each superscript"
msgstr "" msgstr "elemento &lt;span&gt; de la caja tooltip"
#: class/dashboard/subpage-main.php:411 #: class/dashboard/subpage-main.php:387
msgid "1st column of the Reference Container, Footnotes index" msgid "1st column of the Reference Container, Footnotes index"
msgstr "" msgstr "elemento &lt;td&gt; de la 1ª columna de la sección de notas: ID con enlace de regreso"
#: class/dashboard/subpage-main.php:414 #: class/dashboard/subpage-main.php:390
msgid "2nd column of the Reference Container, Arrow / Hyperlink" msgid "2nd column of the Reference Container, Footnote text"
msgstr "" msgstr "elemento &lt;td&gt; de la 2ª columna de la sección de notas: texto de nota"
#: class/dashboard/subpage-main.php:417 #: class/dashboard/subpage-main.php:409
msgid "3rd column of the Reference Container, Footnote text"
msgstr ""
#: class/dashboard/subpage-main.php:436
msgid "WordPress hook function name" msgid "WordPress hook function name"
msgstr "Nombre de la función de enlace de WordPress" msgstr "Nombre del hook de WordPress"
#: class/dashboard/subpage-main.php:437 #: class/dashboard/subpage-main.php:410
msgid "Activate" msgid "Activate"
msgstr "Activar" msgstr "Activar"
#: class/dashboard/subpage-main.php:438 #: class/dashboard/subpage-main.php:411
msgid "WordPress documentation" msgid "WordPress documentation"
msgstr "Documentación de WordPress" msgstr "Documentación de WordPress"
#: class/dashboard/subpage-main.php:486 #: class/dashboard/subpage-main.php:472
msgid "example string"
msgstr "nota de ejemplo"
#: class/dashboard/subpage-main.php:493
msgid "Start your footnote with the following short code:" msgid "Start your footnote with the following short code:"
msgstr "Empieza tu nota al pie con el siguiente código:" msgstr "Empieza tu nota al pie con el siguiente código:"
#: class/dashboard/subpage-main.php:496 #: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:" msgid "...and end your footnote with this short code:"
msgstr "...y finaliza tu nota al pie con el siguiente código:" msgstr "...y finalizala con el siguiente código:"
#: class/dashboard/subpage-main.php:500 #: class/dashboard/subpage-main.php:479
msgid "will be displayed as:" msgid "will be displayed as:"
msgstr "será mostrado así:" msgstr "Eso será mostrado así:"
#: class/dashboard/subpage-main.php:482
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "Para más información revisa nuestro %sforo de soporte%s en WordPress.org"
#: class/dashboard/subpage-main.php:503 #: class/dashboard/subpage-main.php:503
#, php-format
msgid ""
"For further information please check out our %ssupport forum%s on WordPress."
"org."
msgstr ""
"Para más información revisa nuestro %sforo de soporte%s en WordPress.org"
#: class/dashboard/subpage-main.php:524
msgid "Donate now" msgid "Donate now"
msgstr "Donar ahora" msgstr "Donar ahora"
@ -517,16 +477,12 @@ msgstr "Donar"
#: class/task.php:370 #: class/task.php:370
#, php-format #, php-format
msgid "%scontinue%s" msgid "%scontinue%s"
msgstr "%scontinuar%s" msgstr "%sContinuar&nbsp;leyendo%s"
#: class/widgets/reference-container.php:49 #: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61 #: class/widgets/reference-container.php:61
msgid "" msgid "The widget defines the position of the reference container if set to \"widget area\"."
"The widget defines the position of the reference container if set to " msgstr "El widget define la posición de la sección de notas si estableces \"área de widgets\"."
"\"widget area\"."
msgstr ""
"El widget define la posición de la sección de referencias si estableces "
"\"área de widgets\"."
#~ msgid "General" #~ msgid "General"
#~ msgstr "General" #~ msgstr "General"

View file

@ -1,11 +1,9 @@
# Copyright (C) 2014 # Copyright (C) 2014
# This file is distributed under the same license as the package. # This file is distributed under the same license as the package.
msgid "" msgid ""
msgstr "" msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n" "POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2014-10-18 20:59+0100\n" "PO-Revision-Date: 2020-10-25T2214+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n" "Last-Translator: Stefan Herndler <support@herndler.org>\n"
"Language-Team: enter your name <enter@your.email>\n" "Language-Team: enter your name <enter@your.email>\n"
"Language: en_GB\n" "Language: en_GB\n"
@ -19,6 +17,8 @@ msgstr ""
"X-Poedit-Basepath: ..\n" "X-Poedit-Basepath: ..\n"
"X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151 #: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed." msgid "Take a look on other Plugins we have developed."
msgstr "" msgstr ""
@ -266,9 +266,7 @@ msgstr ""
#: class/dashboard/subpage-main.php:222 #: class/dashboard/subpage-main.php:222
#, php-format #, php-format
msgid "" msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
"Don't tell the world you're using %s on specific pages by adding the "
"following short code:"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:248 #: class/dashboard/subpage-main.php:248
@ -364,9 +362,7 @@ msgid "Background color"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:335 #: class/dashboard/subpage-main.php:335
msgid "" msgid "Empty color will use the default background-color defined by your current theme."
"Empty color will use the default background-color defined by your current "
"theme."
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:337 #: class/dashboard/subpage-main.php:337
@ -382,8 +378,7 @@ msgid "Border color"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:343 #: class/dashboard/subpage-main.php:343
msgid "" msgid "Empty color will use the default border-color defined by your current theme."
"Empty color will use the default border-color defined by your current theme."
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:345 #: class/dashboard/subpage-main.php:345
@ -407,87 +402,63 @@ msgid "Box shadow color"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:355 #: class/dashboard/subpage-main.php:355
msgid "" msgid "Empty color will use the default box shadow defined by your current theme."
"Empty color will use the default box shadow defined by your current theme."
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:375 #: class/dashboard/subpage-main.php:375
msgid "Hyperlink symbol"
msgstr ""
#: class/dashboard/subpage-main.php:378
msgid "or enter a user defined symbol"
msgstr ""
#: class/dashboard/subpage-main.php:380
msgid "if set it overrides the hyperlink symbol above"
msgstr ""
#: class/dashboard/subpage-main.php:399
msgid "Add custom CSS" msgid "Add custom CSS"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:402 #: class/dashboard/subpage-main.php:378
msgid "" msgid "Available CSS classes to customize the footnotes and the reference container"
"Available CSS classes to customize the footnotes and the reference container"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:405 #: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index" msgid "superscript, Footnotes index"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:408 #: class/dashboard/subpage-main.php:384
msgid "mouse-over box, tooltip for each superscript" msgid "mouse-over box, tooltip for each superscript"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:411 #: class/dashboard/subpage-main.php:387
msgid "1st column of the Reference Container, Footnotes index" msgid "1st column of the Reference Container, Footnotes index"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:414 #: class/dashboard/subpage-main.php:390
msgid "2nd column of the Reference Container, Arrow / Hyperlink" msgid "2nd column of the Reference Container, Footnote text"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:417 #: class/dashboard/subpage-main.php:409
msgid "3rd column of the Reference Container, Footnote text"
msgstr ""
#: class/dashboard/subpage-main.php:436
msgid "WordPress hook function name" msgid "WordPress hook function name"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:437 #: class/dashboard/subpage-main.php:410
msgid "Activate" msgid "Activate"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:438 #: class/dashboard/subpage-main.php:411
msgid "WordPress documentation" msgid "WordPress documentation"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:486 #: class/dashboard/subpage-main.php:472
msgid "example string"
msgstr ""
#: class/dashboard/subpage-main.php:493
msgid "Start your footnote with the following short code:" msgid "Start your footnote with the following short code:"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:496 #: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:" msgid "...and end your footnote with this short code:"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:500 #: class/dashboard/subpage-main.php:479
msgid "will be displayed as:" msgid "will be displayed as:"
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:503 #: class/dashboard/subpage-main.php:482
#, php-format #, php-format
msgid "" msgid "For further information please check out our %ssupport forum%s on WordPress.org."
"For further information please check out our %ssupport forum%s on WordPress."
"org."
msgstr "" msgstr ""
#: class/dashboard/subpage-main.php:524 #: class/dashboard/subpage-main.php:503
msgid "Donate now" msgid "Donate now"
msgstr "" msgstr ""
@ -514,7 +485,5 @@ msgstr ""
#: class/widgets/reference-container.php:49 #: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61 #: class/widgets/reference-container.php:61
msgid "" msgid "The widget defines the position of the reference container if set to \"widget area\"."
"The widget defines the position of the reference container if set to "
"\"widget area\"."
msgstr "" msgstr ""

View file

@ -80,6 +80,23 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog == == Changelog ==
= 2.0 =
- Major contributions taken from WordPress user pewgeuges:
- **symbol for backlinks** removed
- hyperlink moved to the reference number
- Upgrade jQuery library
- Account for disruptive PHP change
- footnote links script independent
- Get the “Continue reading” link to work in the mouse-over box
- Debug printed posts and pages
- Fix display of combined identical notes
- Adjusted scrolling time and offset
- Margins around footnotes
- Mouse-over box display timing
= 1.6.6 =
- Beginning of translation to French
= 1.6.5 = = 1.6.5 =
- Update: Fix for deprecated PHP function create_function() (man thanks to Felipe Lavín Z.) - Update: Fix for deprecated PHP function create_function() (man thanks to Felipe Lavín Z.)
- Update: The CSS had been modified in order to show the tooltip numbers a little less higher than text - Update: The CSS had been modified in order to show the tooltip numbers a little less higher than text

View file

@ -20,12 +20,8 @@
<td><strong>[[label-class-3]]</strong><br/><em>[[class-3]]</em></td> <td><strong>[[label-class-3]]</strong><br/><em>[[class-3]]</em></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td>
<td><strong>[[label-class-4]]</strong><br/><em>[[class-4]]</em></td>
</tr>
<tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><strong>[[label-class-5]]</strong><br/><em>[[class-5]]</em></td> <td><strong>[[label-class-5]]</strong><br/><em>[[class-5]]</em></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,2 +1,2 @@
<sup id="footnote_plugin_tooltip_[[id]]" class="footnote_plugin_tooltip_text" onclick="footnote_moveToAnchor('footnote_plugin_reference_[[id]]');">[[before]][[index]][[after]]</sup> <a href="#footnote_plugin_reference_[[id]]"><sup id="footnote_plugin_tooltip_[[id]]" class="footnote_plugin_tooltip_text" onclick="footnote_moveToAnchor('footnote_plugin_reference_[[id]]');">[[before]][[index]][[after]]</sup></a>
<span class="footnote_tooltip" id="footnote_plugin_tooltip_text_[[id]]">[[text]]</span> <span class="footnote_tooltip" id="footnote_plugin_tooltip_text_[[id]]">[[text]]</span>

View file

@ -1,5 +1,4 @@
<tr> <tr>
<td class="footnote_plugin_index"><span id="footnote_plugin_reference_[[id]]">[[index]].</span></td> <td class="footnote_plugin_index" id="footnote_plugin_reference_[[id]]" onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[id]]');"><a href="#footnote_plugin_tooltip_[[id]]">[[index]].</a></td>
<td class="footnote_plugin_link"><span onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[id]]');">[[arrow]]</span></td>
<td class="footnote_plugin_text">[[text]]</td> <td class="footnote_plugin_text">[[text]]</td>
</tr> </tr>

View file

@ -1,5 +1,5 @@
<div class="footnote_container_prepare"> <div class="footnote_container_prepare">
<p><span onclick="footnote_expand_reference_container();">[[label]]</span><span style="[[button-style]]">&nbsp;&nbsp;&nbsp;[ <a id="footnote_reference_container_collapse_button" style="cursor:pointer;" onclick="footnote_expand_collapse_reference_container();">+</a> ]</span></p> <p><span onclick="footnote_expand_reference_container();" style="cursor:auto;">[[label]]</span></p>
</div> </div>
<div id="[[id]]" style="[[style]]"> <div id="[[id]]" style="[[style]]">
<table class="footnote-reference-container"> <table class="footnote-reference-container">
@ -8,30 +8,4 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<script type="text/javascript"> function footnote_expand_reference_container() { jQuery("#[[id]]").show(); jQuery("#footnote_reference_container_collapse_button").text("-"); } function footnote_collapse_reference_container() { jQuery("#[[id]]").hide(); jQuery("#footnote_reference_container_collapse_button").text("+"); } function footnote_expand_collapse_reference_container() { if (jQuery("#[[id]]").is(":hidden")) { footnote_expand_reference_container(); } else { footnote_collapse_reference_container(); } } function footnote_moveToAnchor(p_str_TargetID) { footnote_expand_reference_container(); var l_obj_Target = jQuery("#" + p_str_TargetID); if(l_obj_Target.length) { jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * .05 }, 80); } } </script>
<script type="text/javascript">
function footnote_expand_reference_container() {
jQuery("#[[id]]").show();
jQuery("#footnote_reference_container_collapse_button").text("-");
}
function footnote_collapse_reference_container() {
jQuery("#[[id]]").hide();
jQuery("#footnote_reference_container_collapse_button").text("+");
}
function footnote_expand_collapse_reference_container() {
if (jQuery("#[[id]]").is(":hidden")) {
footnote_expand_reference_container();
} else {
footnote_collapse_reference_container();
}
}
function footnote_moveToAnchor(p_str_TargetID) {
footnote_expand_reference_container();
var l_obj_Target = jQuery("#" + p_str_TargetID);
if(l_obj_Target.length) {
jQuery('html, body').animate({
scrollTop: l_obj_Target.offset().top - window.innerHeight/2
}, 1000);
}
}
</script>

View file

@ -1,12 +1 @@
<script type="text/javascript"> <script type="text/javascript"> jQuery("#footnote_plugin_tooltip_[[id]]").tooltip({ tip: "#footnote_plugin_tooltip_text_[[id]]", tipClass: "footnote_tooltip", effect: "fade", predelay: 800, fadeInSpeed: 200, fadeOutSpeed: 2000, position: "[[position]]", relative: true, offset: [[[offset-y]], [[offset-x]]] }); </script>
jQuery("#footnote_plugin_tooltip_[[id]]").tooltip({
tip: "#footnote_plugin_tooltip_text_[[id]]",
tipClass: "footnote_tooltip",
effect: "fade",
fadeOutSpeed: 100,
predelay: 400,
position: "[[position]]",
relative: true,
offset: [[[offset-y]], [[offset-x]]]
});
</script>