aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/locale/ka/_lib/formatDistance/index.js')
-rw-r--r--node_modules/date-fns/locale/ka/_lib/formatDistance/index.js105
1 files changed, 105 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js
new file mode 100644
index 0000000..4f1cbb6
--- /dev/null
+++ b/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js
@@ -0,0 +1,105 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var formatDistanceLocale = {
+ lessThanXSeconds: {
+ past: '{{count}} წამზე ნაკლები ხნის წინ',
+ present: '{{count}} წამზე ნაკლები',
+ future: '{{count}} წამზე ნაკლებში'
+ },
+ xSeconds: {
+ past: '{{count}} წამის წინ',
+ present: '{{count}} წამი',
+ future: '{{count}} წამში'
+ },
+ halfAMinute: {
+ past: 'ნახევარი წუთის წინ',
+ present: 'ნახევარი წუთი',
+ future: 'ნახევარი წუთში'
+ },
+ lessThanXMinutes: {
+ past: '{{count}} წუთზე ნაკლები ხნის წინ',
+ present: '{{count}} წუთზე ნაკლები',
+ future: '{{count}} წუთზე ნაკლებში'
+ },
+ xMinutes: {
+ past: '{{count}} წუთის წინ',
+ present: '{{count}} წუთი',
+ future: '{{count}} წუთში'
+ },
+ aboutXHours: {
+ past: 'დაახლოებით {{count}} საათის წინ',
+ present: 'დაახლოებით {{count}} საათი',
+ future: 'დაახლოებით {{count}} საათში'
+ },
+ xHours: {
+ past: '{{count}} საათის წინ',
+ present: '{{count}} საათი',
+ future: '{{count}} საათში'
+ },
+ xDays: {
+ past: '{{count}} დღის წინ',
+ present: '{{count}} დღე',
+ future: '{{count}} დღეში'
+ },
+ aboutXWeeks: {
+ past: 'დაახლოებით {{count}} კვირას წინ',
+ present: 'დაახლოებით {{count}} კვირა',
+ future: 'დაახლოებით {{count}} კვირაში'
+ },
+ xWeeks: {
+ past: '{{count}} კვირას კვირა',
+ present: '{{count}} კვირა',
+ future: '{{count}} კვირაში'
+ },
+ aboutXMonths: {
+ past: 'დაახლოებით {{count}} თვის წინ',
+ present: 'დაახლოებით {{count}} თვე',
+ future: 'დაახლოებით {{count}} თვეში'
+ },
+ xMonths: {
+ past: '{{count}} თვის წინ',
+ present: '{{count}} თვე',
+ future: '{{count}} თვეში'
+ },
+ aboutXYears: {
+ past: 'დაახლოებით {{count}} წლის წინ',
+ present: 'დაახლოებით {{count}} წელი',
+ future: 'დაახლოებით {{count}} წელში'
+ },
+ xYears: {
+ past: '{{count}} წლის წინ',
+ present: '{{count}} წელი',
+ future: '{{count}} წელში'
+ },
+ overXYears: {
+ past: '{{count}} წელზე მეტი ხნის წინ',
+ present: '{{count}} წელზე მეტი',
+ future: '{{count}} წელზე მეტი ხნის შემდეგ'
+ },
+ almostXYears: {
+ past: 'თითქმის {{count}} წლის წინ',
+ present: 'თითქმის {{count}} წელი',
+ future: 'თითქმის {{count}} წელში'
+ }
+};
+var formatDistance = function formatDistance(token, count, options) {
+ var result;
+ var tokenValue = formatDistanceLocale[token];
+ if (typeof tokenValue === 'string') {
+ result = tokenValue;
+ } else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) {
+ result = tokenValue.future.replace('{{count}}', String(count));
+ } else if (options !== null && options !== void 0 && options.addSuffix) {
+ result = tokenValue.past.replace('{{count}}', String(count));
+ } else {
+ result = tokenValue.present.replace('{{count}}', String(count));
+ }
+ return result;
+};
+var _default = formatDistance;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage