update the empty list placeholder text
This commit is contained in:
parent
7477fb1155
commit
c7c972c502
11 changed files with 21 additions and 10 deletions
|
@ -33,6 +33,8 @@ class EventListFragment : Fragment(), DBHelper.GetEventsListener, DBHelper.Event
|
|||
|
||||
override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?): View? {
|
||||
mView = inflater!!.inflate(R.layout.fragment_event_list, container, false)
|
||||
val placeholderText = String.format(getString(R.string.two_string_placeholder), "${getString(R.string.no_upcoming_events)}\n", getString(R.string.add_some_events))
|
||||
mView.calendar_empty_list_placeholder.text = placeholderText
|
||||
mToBeDeleted = ArrayList<Int>()
|
||||
return mView
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
android:gravity="center_horizontal"
|
||||
android:lineSpacingExtra="1dp"
|
||||
android:padding="@dimen/big_margin"
|
||||
android:text="@string/no_events_added"
|
||||
android:text="@string/no_upcoming_events"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Monatsansicht</string>
|
||||
<string name="yearly_view">Jahresansicht</string>
|
||||
<string name="simple_event_list">Einfache Termin Liste</string>
|
||||
<string name="no_events_added">Sieht aus als wäre dein Kalender leer.\nDu kannst neue Termine mit dem Plus Button unten rechts erstellen.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendar monthly</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Vista mensual</string>
|
||||
<string name="yearly_view">Vista anual</string>
|
||||
<string name="simple_event_list">Lista de eventos simples</string>
|
||||
<string name="no_events_added">Parece que tu calendario está vacío.\nPuedes crear eventos con el botón Más de la parte inferior.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendar monthly</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">मासिक दृश्य</string>
|
||||
<string name="yearly_view">वार्षिक दृश्य</string>
|
||||
<string name="simple_event_list">सरल इवेंट सूची</string>
|
||||
<string name="no_events_added">लगता हैं की आपका कैलेंडर खाली हैं।\nआप इवेंट्स को नीचे प्लस बटन के साथ बना सकते हैं।</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendar monthly</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Havi nézet</string>
|
||||
<string name="yearly_view">Éves nézet</string>
|
||||
<string name="simple_event_list">Egyszerű bejegyzéslista</string>
|
||||
<string name="no_events_added">A naptár még üres.\nAz alul található plusz gombbal lehet bejegyzéseket felvenni.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Havi naptár</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Monthly view</string>
|
||||
<string name="yearly_view">Yearly view</string>
|
||||
<string name="simple_event_list">Simple event list</string>
|
||||
<string name="no_events_added">Seems like your calendar is empty.\nYou can create events with the Plus button at the bottom.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendar monthly</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">月ビュー</string>
|
||||
<string name="yearly_view">年ビュー</string>
|
||||
<string name="simple_event_list">シンプル イベント リスト</string>
|
||||
<string name="no_events_added">カレンダーが空のようです。\n下にあるプラスボタンを使ってイベントを作成できます。</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">カレンダー月</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Vista mensal</string>
|
||||
<string name="yearly_view">Vista anual</string>
|
||||
<string name="simple_event_list">Lista de eventos</string>
|
||||
<string name="no_events_added">Parece que o seu calendário está vazio.\nPode criar eventos com o botão +, existente na base.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendário mensal</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Monthly view</string>
|
||||
<string name="yearly_view">Yearly view</string>
|
||||
<string name="simple_event_list">Simple event list</string>
|
||||
<string name="no_events_added">Seems like your calendar is empty.\nYou can create events with the Plus button at the bottom.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendar monthly</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="monthly_view">Monthly view</string>
|
||||
<string name="yearly_view">Yearly view</string>
|
||||
<string name="simple_event_list">Simple event list</string>
|
||||
<string name="no_events_added">Seems like your calendar is empty.\nYou can create events with the Plus button at the bottom.</string>
|
||||
<string name="no_upcoming_events">Seems like you don\'t have any upcoming events.</string>
|
||||
<string name="add_some_events">You can add some with the Plus button at the bottom.</string>
|
||||
|
||||
<!-- Widget titles -->
|
||||
<string name="widget_monthly">Calendar monthly</string>
|
||||
|
|
Loading…
Reference in a new issue