Created
January 22, 2016 13:28
-
-
Save torunar/36de5a64b2fd8d7de7ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/Tygh/Shippings/Services/Ups.php b/app/Tygh/Shippings/Services/Ups.php | |
index 435b28b..bd7415e 100644 | |
--- a/app/Tygh/Shippings/Services/Ups.php | |
+++ b/app/Tygh/Shippings/Services/Ups.php | |
@@ -79,7 +79,7 @@ class Ups implements IService | |
$return[$service_code]['delivery_time'] = (string) $shipment->ScheduledDeliveryTime; | |
} elseif (!empty($shipment->GuaranteedDaysToDelivery)) { | |
- $return[$service_code]['delivery_time'] = (string) $shipment->GuaranteedDaysToDelivery; | |
+ $return[$service_code]['delivery_time'] = __("n_days", array($shipment->GuaranteedDaysToDelivery)); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/var/langs/en/core.po b/var/langs/en/core.po | |
index 760b97a..baaac96 100644 | |
--- a/var/langs/en/core.po | |
+++ b/var/langs/en/core.po | |
@@ -16308,3 +16308,7 @@ msgstr "Failed to match the pinned key specified with CURLOPT_PINNEDPUBLICKEY." | |
msgctxt "Languages::curl_error_description_curle_ssl_invalidcertstatus" | |
msgid "Status returned failure when asked with CURLOPT_SSL_VERIFYSTATUS." | |
msgstr "Status returned failure when asked with CURLOPT_SSL_VERIFYSTATUS." | |
+ | |
+msgctxt "Languages::n_days" | |
+msgid "[n] day|[n] days" | |
+msgstr "[n] day|[n] days" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment