Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Commit

Permalink
Doplnění překladové konstanty na KT_Slider_Field_Base + oprava kódová…
Browse files Browse the repository at this point in the history
…ní souboru kt_init.inc.php
  • Loading branch information
hlavacm committed May 25, 2015
1 parent 4fb7534 commit ef78a94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/classes/fields/kt_slider_field_base.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getMinValue() {
*/
public function setMinValue($minNumber) {
$this->minValue = $minNumber;
$this->addRule(KT_Field_Validator::MIN_NUMBER, sprintf(__("Minimální hodnota je %d"), $minNumber), $minNumber);
$this->addRule(KT_Field_Validator::MIN_NUMBER, sprintf(__("Minimální hodnota je %d", KT_DOMAIN), $minNumber), $minNumber);
return $this;
}

Expand All @@ -62,7 +62,7 @@ public function getMaxValue() {
*/
public function setMaxValue($maxNumber) {
$this->maxValue = $maxNumber;
$this->addRule(KT_Field_Validator::MAX_NUMBER, sprintf(__("Maximální hodnota je %d"), $maxNumber), $maxNumber);
$this->addRule(KT_Field_Validator::MAX_NUMBER, sprintf(__("Maximální hodnota je %d", KT_DOMAIN), $maxNumber), $maxNumber);
return $this;
}

Expand Down
2 changes: 1 addition & 1 deletion kt_init.inc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php

define("KT_LOADED", TRUE);

Expand Down

0 comments on commit ef78a94

Please sign in to comment.