You need config.js file with such code:
app.translator.plural = function(count) {
return count == 1 ? 'one' : 'other';
};
function processRelativeTime(number, withoutSuffix, key, isFuture) {
var format = {
'm': ['jedna minuta', 'jedną minutę'],
'h': ['jedna godzina', 'jedną godzinę'],
'd': ['jeden dzień', 'jeden dzień'],
'dd': [number + ' dni', number + ' dni'],
'M': ['jeden miesiąc', 'jeden miesiąc'],
'MM': [number + ' miesiące', number + ' miesięcy'],
'y': ['jeden rok', 'jeden rok'],
'yy': [number + ' lata', number + ' lat']
};
return withoutSuffix ? format[key][0] : format[key][1];
};
moment.locale('pl', {
months : 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
monthsShort : 'STY_LUT_MAR_KWI_MAJ_CZE_LIP_SIE_WRZ_PAŹ_LIS_GRU'.split('_'),
weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
weekdaysShort : 'niedz._pon._wt._śr._czw._pt._sob.'.split('_'),
weekdaysMin : 'ni._pn._wt._śr._cz._pt._sb.'.split('_'),
longDateFormat : {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L : 'DD.MM.YYYY',
LL : 'D. MMMM YYYY',
LLL : 'D. MMMM YYYY HH:mm',
LLLL : 'dddd, D. MMMM YYYY HH:mm'
},
calendar : {
sameDay: '[Dzisiaj o] LT',
sameElse: 'L',
nextDay: '[Jutro o] LT',
nextWeek: 'dddd [o] LT',
lastDay: '[Wczoraj o] LT',
lastWeek: '[Ostatnio] dddd [o] LT'
},
relativeTime : {
future : 'w ciągu %s',
past : '%s temu',
s : 'kilka sekund',
m : processRelativeTime,
mm : '%d minut(y)',
h : processRelativeTime,
hh : '%d godzin(y)',
d : processRelativeTime,
dd : processRelativeTime,
M : processRelativeTime,
MM : processRelativeTime,
y : processRelativeTime,
yy : processRelativeTime
},
ordinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});
Copied from my Polish extension.
I suggest you should find extension with language you can understand even a little, and edit this file.
"Show 1 updated discussion" is held by "flarum-pusher" extension, so you need to edit file named flarum-pusher.yml
.