.
This commit is contained in:
105
node_modules/date-fns/locale/ka/_lib/formatDistance/index.js
generated
vendored
Normal file
105
node_modules/date-fns/locale/ka/_lib/formatDistance/index.js
generated
vendored
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user