kfiross / flutter_holo_date_picker

A Flutter package of datepicker like Holo Theme in Android
MIT License
61 stars 77 forks source link

Serbian latin - locale support #60

Closed AdamovicBoban closed 1 year ago

AdamovicBoban commented 1 year ago

Please add the Serbian Latin language, Serbian sr_lat

part of 'date_picker_i18n.dart';

/// Serbian (SR)
class _StringsDe extends _StringsI18n {
  const _StringsDe();

  @override
  String getCancelText() {
    return 'Otkaži';
  }

  @override
  String getDoneText() {
    return 'U redu';
  }

  @override
  List<String> getMonths() {
    return [
      "Januar",
      "Februar",
      "Mart",
      "April",
      "Maj",
      "Jun",
      "Jul",
      "Avgust",
      "Septembar",
      "Oktobar",
      "Novembar",
      "Decembar",
    ];
  }

  @override
  List<String> getWeeksFull() {
    return [
      "Ponedeljak",
      "Utorak",
      "Sreda",
      "Četvrtak",
      "Petak",
      "Subota",
      "Nedelja",
    ];
  }

  @override
  List<String> getWeeksShort() {
    return [
      "Po",
      "Ut",
      "Sr",
      "Če",
      "Pe",
      "Su",
      "Ne",
    ];
  }
}
kfiross commented 1 year ago

@AdamovicBoban Updated on v1.1.1