summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/metadata.php16
-rw-r--r--inc/parser/xhtml.php12
2 files changed, 18 insertions, 10 deletions
diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php
index 5a9f6a122..6e2c27b2a 100644
--- a/inc/parser/metadata.php
+++ b/inc/parser/metadata.php
@@ -206,12 +206,12 @@ class Doku_Renderer_metadata extends Doku_Renderer {
}
function quote_open(){
- if ($this->capture) $this->doc .= DOKU_LF.DOKU_TAB.'“';
+ if ($this->capture) $this->doc .= DOKU_LF.DOKU_TAB.'"';
}
function quote_close(){
if ($this->capture){
- $this->doc .= '”';
+ $this->doc .= '"';
if (strlen($this->doc) > 250) $this->capture = false;
else $this->doc .= DOKU_LF;
}
@@ -242,19 +242,23 @@ class Doku_Renderer_metadata extends Doku_Renderer {
}
function singlequoteopening(){
- if ($this->capture) $this->doc .= '‘';
+ global $lang;
+ if ($this->capture) $this->doc .= $lang['singlequoteopening'];
}
function singlequoteclosing(){
- if ($this->capture) $this->doc .= '’';
+ global $lang;
+ if ($this->capture) $this->doc .= $lang['singlequoteclosing'];
}
function doublequoteopening(){
- if ($this->capture) $this->doc .= '“';
+ global $lang;
+ if ($this->capture) $this->doc .= $lang['doublequoteopening'];
}
function doublequoteclosing(){
- if ($this->capture) $this->doc .= '”';
+ global $lang;
+ if ($this->capture) $this->doc .= $lang['doublequoteclosing'];
}
function camelcaselink($link) {
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 5390ae843..ea5b72495 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -441,19 +441,23 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
function singlequoteopening() {
- $this->doc .= "‘";
+ global $lang;
+ $this->doc .= $lang['singlequoteopening'];
}
function singlequoteclosing() {
- $this->doc .= "’";
+ global $lang;
+ $this->doc .= $lang['singlequoteclosing'];
}
function doublequoteopening() {
- $this->doc .= "“";
+ global $lang;
+ $this->doc .= $lang['doublequoteopening'];
}
function doublequoteclosing() {
- $this->doc .= "”";
+ global $lang;
+ $this->doc .= $lang['doublequoteclosing'];
}
/**