| @@ 3081-3089 (lines=9) @@ | ||
| 3078 | $res['php'] = "_t("; |
|
| 3079 | } |
|
| 3080 | ||
| 3081 | function OldTPart_QuotedString(&$res, $sub) { |
|
| 3082 | $entity = $sub['String']['text']; |
|
| 3083 | if (strpos($entity, '.') === false) { |
|
| 3084 | $res['php'] .= "\$scope->XML_val('I18NNamespace').'.$entity'"; |
|
| 3085 | } |
|
| 3086 | else { |
|
| 3087 | $res['php'] .= "'$entity'"; |
|
| 3088 | } |
|
| 3089 | } |
|
| 3090 | ||
| 3091 | function OldTPart_CallArguments(&$res, $sub) { |
|
| 3092 | $res['php'] .= ',' . $sub['php']; |
|
| @@ 721-729 (lines=9) @@ | ||
| 718 | $res['php'] = "_t("; |
|
| 719 | } |
|
| 720 | ||
| 721 | function OldTPart_QuotedString(&$res, $sub) { |
|
| 722 | $entity = $sub['String']['text']; |
|
| 723 | if (strpos($entity, '.') === false) { |
|
| 724 | $res['php'] .= "\$scope->XML_val('I18NNamespace').'.$entity'"; |
|
| 725 | } |
|
| 726 | else { |
|
| 727 | $res['php'] .= "'$entity'"; |
|
| 728 | } |
|
| 729 | } |
|
| 730 | ||
| 731 | function OldTPart_CallArguments(&$res, $sub) { |
|
| 732 | $res['php'] .= ',' . $sub['php']; |
|