get features of recurring_todos to pass

This commit is contained in:
Reinier Balt 2012-05-12 15:37:13 +02:00
parent 901a5ff0d2
commit ecb0ff5bf7
6 changed files with 136 additions and 136 deletions

View file

@ -2,11 +2,10 @@ module RecurringTodosHelper
def recurring_todo_tag_list
tags_except_starred = @recurring_todo.tags.reject{|t| t.name == Todo::STARRED_TAG_NAME}
tag_list = tags_except_starred.collect{|t| "<span class=\"tag #{t.name.gsub(' ','-')}\">" +
link_to(t.name, :controller => "todos", :action => "tag", :id =>
t.name) + #TODO: tag view for recurring_todos (yet?)
"</span>"}.join('')
"<span class='tags'>#{tag_list}</span>"
tag_list = tags_except_starred.
collect{|t| content_tag(:span,link_to(t.name, tag_path(t.name)), :class => "tag #{t.name.gsub(' ','-')}")}.
join('')
return content_tag :span, tag_list.html_safe, :class => "tags"
end
def recurring_todo_remote_delete_icon

View file

@ -86,7 +86,7 @@ module TodosHelper
def image_tag_for_recurring_todo(todo)
return link_to(
image_tag("recurring16x16.png"),
{:controller => "recurring_todos", :action => "index"},
recurring_todos_path,
:class => "recurring_icon", :title => recurrence_pattern_as_text(todo.recurring_todo))
end

View file

@ -1,6 +1,6 @@
<div class="recurring_container">
<%= form_for(@recurring_todo, :html=> { :id=>'recurring-todo-form-edit-action', :name=>'recurring_todo', :class => 'inline-form' }) do |f| -%>
<div id="edit_error_status"><%= error_messages_for("item", :object_name => 'action') %></div>
<div id="edit_error_status"><%= get_list_of_error_messages_for(@recurring_todo) %></div>
<div id="recurring_todo_form_container">
<div id="recurring_todo">
@ -38,19 +38,19 @@
<label for="recurring_todo[ends_on]"><%= t('todos.recurrence.ends_on') %>:</label><br/>
<%= radio_button_tag('recurring_todo[ends_on]', 'no_end_date', @recurring_todo.ends_on == 'no_end_date', {:tabindex => next_tab_index})%> <%= t('todos.recurrence.no_end_date') %><br/>
<%= radio_button_tag('recurring_todo[ends_on]', 'ends_on_number_of_times', @recurring_todo.ends_on == 'ends_on_number_of_times', {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.ends_on_number_times', :number => text_field( :recurring_todo, :number_of_occurences, "size" => 3, "tabindex" => next_tab_index)) %><br/>
<%= raw t('todos.recurrence.ends_on_number_times', :number => text_field( :recurring_todo, :number_of_occurences, "size" => 3, "tabindex" => next_tab_index)) %><br/>
<%= radio_button_tag('recurring_todo[ends_on]', 'ends_on_end_date', @recurring_todo.ends_on == 'ends_on_end_date', {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.ends_on_date', :date => text_field_tag('recurring_todo_edit_end_date', format_date(@recurring_todo.end_date), "size" => 12, "class" => "Date", "tabindex" => next_tab_index, "autocomplete" => "off")) %><br/>
<%= raw t('todos.recurrence.ends_on_date', :date => text_field_tag('recurring_todo_edit_end_date', format_date(@recurring_todo.end_date), "size" => 12, "class" => "Date", "tabindex" => next_tab_index, "autocomplete" => "off")) %><br/>
</div></div>
<div id="recurring_edit_daily" style="display:<%= @recurring_todo.recurring_period == 'daily' ? 'block' : 'none' %> ">
<label><%= t('todos.recurrence.daily_options') %></label><br/>
<%= radio_button_tag('recurring_todo[daily_selector]', 'daily_every_x_day', !@recurring_todo.only_work_days, {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.daily_every_number_day', :number=> text_field_tag( 'recurring_todo[daily_every_x_days]', @recurring_todo.daily_every_x_days, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= raw t('todos.recurrence.daily_every_number_day', :number=> text_field_tag( 'recurring_todo[daily_every_x_days]', @recurring_todo.daily_every_x_days, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= radio_button_tag('recurring_todo[daily_selector]', 'daily_every_work_day', @recurring_todo.only_work_days, {:tabindex => next_tab_index})%> <%= t('todos.recurrence.every_work_day') %><br/>
</div>
<div id="recurring_edit_weekly" style="display:<%= @recurring_todo.recurring_period == 'weekly' ? 'block' : 'none' %>">
<label><%= t('todos.recurrence.weekly_options') %></label><br/>
<%= t('todos.recurrence.weekly_every_number_week', :number => text_field_tag('recurring_todo[weekly_every_x_week]', @recurring_todo.weekly_every_x_week, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= raw t('todos.recurrence.weekly_every_number_week', :number => text_field_tag('recurring_todo[weekly_every_x_week]', @recurring_todo.weekly_every_x_week, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= check_box_tag('recurring_todo[weekly_return_monday]', 'm', @recurring_todo.on_monday, {:tabindex => next_tab_index} ) %> <%= t('date.day_names')[1] %>
<%= check_box_tag('recurring_todo[weekly_return_tuesday]', 't', @recurring_todo.on_tuesday, {:tabindex => next_tab_index}) %> <%= t('date.day_names')[2] %>
<%= check_box_tag('recurring_todo[weekly_return_wednesday]', 'w', @recurring_todo.on_wednesday, {:tabindex => next_tab_index}) %> <%= t('date.day_names')[3] %>
@ -62,11 +62,11 @@
<div id="recurring_edit_monthly" style="display:<%= @recurring_todo.recurring_period == 'monthly' ? 'block' : 'none' %>">
<label><%= t('todos.recurrence.monthly_options') %></label><br/>
<%= radio_button_tag('recurring_todo[monthly_selector]', 'monthly_every_x_day', @recurring_todo.is_monthly_every_x_day || @recurring_todo.recurring_period == 'weekly', {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.day_x_on_every_x_month',
<%= raw t('todos.recurrence.day_x_on_every_x_month',
:day => text_field_tag('recurring_todo[monthly_every_x_day]', @recurring_todo.monthly_every_x_day, {"size" => 3, "tabindex" => next_tab_index}),
:month => text_field_tag('recurring_todo[monthly_every_x_month]', @recurring_todo.monthly_every_x_month, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= radio_button_tag('recurring_todo[monthly_selector]', 'monthly_every_xth_day', @recurring_todo.is_monthly_every_xth_day, {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.monthly_every_xth_day',
<%= raw t('todos.recurrence.monthly_every_xth_day',
:day => select_tag('recurring_todo[monthly_every_xth_day]', options_for_select(@xth_day, @xth_day[@recurring_todo.monthly_every_xth_day(1)-1][1]), {:tabindex => next_tab_index}),
:day_of_week => select_tag('recurring_todo[monthly_day_of_week]' , options_for_select(@days_of_week, @recurring_todo.monthly_day_of_week), {:tabindex => next_tab_index}),
:month => text_field_tag('recurring_todo[monthly_every_x_month2]', @recurring_todo.monthly_every_x_month2, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
@ -74,11 +74,11 @@
<div id="recurring_edit_yearly" style="display:<%= @recurring_todo.recurring_period == 'yearly' ? 'block' : 'none' %>">
<label><%= t('todos.recurrence.yearly_options') %></label><br/>
<%= radio_button_tag('recurring_todo[yearly_selector]', 'yearly_every_x_day', @recurring_todo.recurrence_selector == 0, {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.yearly_every_x_day',
<%= raw t('todos.recurrence.yearly_every_x_day',
:month => select_tag('recurring_todo[yearly_month_of_year]', options_for_select(@months_of_year, @recurring_todo.yearly_month_of_year), {:tabindex => next_tab_index}),
:day => text_field_tag('recurring_todo[yearly_every_x_day]', @recurring_todo.yearly_every_x_day, "size" => 3, "tabindex" => next_tab_index)) %><br/>
<%= radio_button_tag('recurring_todo[yearly_selector]', 'yearly_every_xth_day', @recurring_todo.recurrence_selector == 1, {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.yearly_every_xth_day',
<%= raw t('todos.recurrence.yearly_every_xth_day',
:day => select_tag('recurring_todo[yearly_every_xth_day]', options_for_select(@xth_day, @recurring_todo.yearly_every_xth_day), {:tabindex => next_tab_index}),
:day_of_week => select_tag('recurring_todo[yearly_day_of_week]', options_for_select(@days_of_week, @recurring_todo.yearly_day_of_week), {:tabindex => next_tab_index}),
:month => select_tag('recurring_todo[yearly_month_of_year2]', options_for_select(@months_of_year, @recurring_todo.yearly_month_of_year2), {:tabindex => next_tab_index})) %><br/>
@ -88,7 +88,7 @@
<%= radio_button_tag('recurring_todo[recurring_target]', 'due_date', @recurring_todo.target == 'due_date', {:tabindex => next_tab_index})%> <%= t('todos.recurrence.recurrence_on_due_date') %>. <%= t('todos.recurrence.show_options') %>:
<%= radio_button_tag('recurring_todo[recurring_show_always]', '1', @recurring_todo.show_always?, {:tabindex => next_tab_index})%> <%= t('todos.recurrence.show_option_always') %>
<%= radio_button_tag('recurring_todo[recurring_show_always]', '0', !@recurring_todo.show_always?, {:tabindex => next_tab_index})%>
<%= t('todos.recurrence.show_days_before', :days => text_field_tag( 'recurring_todo[recurring_show_days_before]', @recurring_todo.show_from_delta, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= raw t('todos.recurrence.show_days_before', :days => text_field_tag( 'recurring_todo[recurring_show_days_before]', @recurring_todo.show_from_delta, {"size" => 3, "tabindex" => next_tab_index})) %><br/>
<%= radio_button_tag('recurring_todo[recurring_target]', 'show_from_date', @recurring_todo.target == 'show_from_date', {:tabindex => next_tab_index})%> <%= t('todos.recurrence.from_tickler') %><br/>
<br/>
</div>

View file

@ -34,5 +34,5 @@ function text_for_status_message() {
}
function html_for_error_messages() {
return "<%= escape_javascript(error_messages_for('recurring_todo')) %>";
return "<%= escape_javascript(get_list_of_error_messages_for(@recurring_todo)) %>";
}

View file

@ -1,12 +1,12 @@
---
nl:
layouts:
---
nl:
layouts:
toggle_contexts_title: Maak ingeklapte contexten (on)zichtbaar
toggle_contexts: Toggle ingeklapte contexten
toggle_notes: Toggle notities
next_actions_rss_feed: RSS-feed van de acties
toggle_notes_title: Toggle alle notities
mobile_navigation:
mobile_navigation:
new_action: Nieuwe actie
logout: Afmelden
feeds: Feeds
@ -15,7 +15,7 @@ nl:
tickler: Tickler
contexts: Contexten
home: Start
navigation:
navigation:
manage_users_title: Toevoegen of verwijderen gebruikers
recurring_todos: Terugkerende acties
api_docs: REST API Docs
@ -49,30 +49,30 @@ nl:
review_title: Evaluatie uitvoeren
projects_title: Projecten
calendar: Agenda
number:
format:
number:
format:
separator: ","
delimiter: .
human:
storage_units:
human:
storage_units:
format: "%n %u"
units:
units:
kb: KB
tb: TB
gb: GB
byte:
byte:
one: Byte
other: Bytes
mb: MB
currency:
format:
currency:
format:
format: "%u %n"
unit: !binary |
4oKs
separator: ","
delimiter: .
common:
common:
recurring_todos: Herhalende acties
back: Terug
actions: Acties
@ -89,7 +89,7 @@ nl:
show_all: Toon alle
cancel: Annuleer
month: maand
actions_midsentence:
actions_midsentence:
one: actie
other: acties
zero: acties
@ -100,7 +100,7 @@ nl:
last: Laatste
review: Evaluatie
action: Actie
days_midsentence:
days_midsentence:
one: dag
other: dagen
zero: dagen
@ -109,13 +109,13 @@ nl:
ok: Ok
website: Website
first: Eerste
note:
note:
one: 1 notitie
other: "%{count} notities"
zero: geen notities
numbered_step: Stap %{number}
create: Maken
sort:
sort:
by_task_count_title: Sorteer op aantal acties
by_task_count_title_confirm: Weet u zeker dat u deze op aantal acties wilt sorteren? Dat zal de huidige sorteervolgorde aanpassen.
alphabetically: Alfabetisch
@ -141,23 +141,23 @@ nl:
ajaxError: Er is een fout opgetreden bij het ophalen van gegevens van de server
search: Zoeken
not_available_abbr: n/b
integrations:
integrations:
opensearch_description: Zoek in Tracks
applescript_next_action_prompt: "Omschrijving van de actie:"
gmail_description: Gadget om Tracks toe te voegen aan Gmail als een gadget
applescript_success_after_id: gemaakt
applescript_success_before_id: Nieuwe actie met ID
activerecord:
attributes:
project:
activerecord:
attributes:
project:
name: Naam
default_tags: Standaard Tags
default_context_name: Standaard context
description: Beschrijving
note:
note:
created_at: Gemaakt op
updated_at: Bijgewerkt op
todo:
todo:
show_from: Tonen vanaf
predecessors: Afhankelijkheden
notes: Notities
@ -166,7 +166,7 @@ nl:
description: Beschrijving
context: Context
due: Deadline
preference:
preference:
show_hidden_projects_in_sidebar: Toon verborgen projecten in sidebar
show_hidden_contexts_in_sidebar: Toon verborgen contexten in sidebar
date_format: Datum formaat
@ -187,18 +187,18 @@ nl:
show_completed_projects_in_sidebar: Toon afgeronde projecten in sidebar
first_name: Voornaam
review_period: Project evaluatie interval
user:
user:
last_name: Achternaam
first_name: Voornaam
errors:
models:
project:
attributes:
name:
errors:
models:
project:
attributes:
name:
blank: project moet een naam hebben
too_long: project naam moet minder dan 256 karakters hebben
taken: bestaat al
messages:
messages:
record_invalid: "Validatie mislukt: %{errors}"
greater_than_or_equal_to: moet groter of gelijk zijn aan %{count}
confirmation: komt niet overeen met de configuratie
@ -219,32 +219,32 @@ nl:
taken: is al gepakt
inclusion: is niet opgenomen in de lijst
not_a_number: is niet een getal
full_messages:
full_messages:
format: "%{attribute} %{message}"
template:
template:
body: Er waren problemen met de volgende velden
header:
header:
one: 1 fout voorkomt het kunnen bewaren van deze %{model}
other: "%{count} fouten voorkomen dat dit %{model} bewaard kan worden"
data:
data:
import_successful: De import was succesvol
import_errors: Er hebben zich fouten voorgedaan bij de import
models:
project:
models:
project:
feed_title: Tracks Projecten
feed_description: Een overzicht van alle projecten voor %{username}
todo:
todo:
error_date_must_be_future: moet een datum in de toekomst zijn
preference:
preference:
due_on: Deadline op %{date}
due_in: Deadline over %{days} dagen
due_styles:
due_styles:
- Deadline over ____ dagen
- Deadline op ____
user:
user:
error_context_not_associated: Context %{context} niet geassocieerd met gebruikers %{user}.
error_project_not_associated: Project %{project} niet geassocieerd met gebruikers %{user}.
stats:
stats:
totals_hidden_context_count: en %{count} zijn verborgen contexten.
actions_avg_created: In de afgelopen 12 maanden heeft u gemiddeld%{count} acties aangemaakt
actions_min_max_completion_days: De max-/minimum dagen tot voltooiing is %{min}/%{max}.
@ -254,12 +254,12 @@ nl:
actions_avg_completed: en voltooide een gemiddelde van %{count} acties per maand.
top5_visible_contexts_with_incomplete_actions: Top 5 zichtbare contexten met onvolledige acties
actions: Acties
time_of_day_legend:
time_of_day_legend:
number_of_actions: Aantal acties
time_of_day: Tijd van de dag
totals_incomplete_actions: U heeft %{count} onvolledige acties
totals_deferred_actions: waarvan %{count} uitgestelde acties in de tickler zijn
running_time_legend:
running_time_legend:
actions: Acties
percentage: Percentage
weeks: Looptijd van een actie (weken). Klik op een balk voor meer info
@ -270,7 +270,7 @@ nl:
tags: Tags
projects: Projecten
totals_completed_project_count: en %{count} zijn afgeronde projecten.
labels:
labels:
month_avg_completed: "%{months} gem afgerond per maand"
completed: Afgerond
month_avg_created: "%{months} gem gemaakt per maand"
@ -283,7 +283,7 @@ nl:
open_per_week: Active (zichtbare en verborgen) volgende acties per week
action_selection_title: "TRACKS:: Actie selectie"
totals_project_count: U heeft %{count} projecten.
legend:
legend:
number_of_days: Aantal dagen geleden
actions: Acties
number_of_actions: Aantal acties
@ -292,14 +292,14 @@ nl:
percentage: Percentage
months_ago: Maanden geleden
current_running_time_of_incomplete_visible_actions: Huidige looptijd van onvolledige zichtbare acties
tod30_legend:
tod30_legend:
number_of_actions: Aantal acties
time_of_day: Tijd van de dag
totals_context_count: U heeft %{count} contexten.
open_per_week_legend:
open_per_week_legend:
actions: Acties
weeks: Weken geleden
actions_last_year_legend:
actions_last_year_legend:
number_of_actions: Aantal acties
months_ago: Maanden geleden
top5_contexts: Top 5 contexten
@ -318,7 +318,7 @@ nl:
no_actions_selected: Er zijn geen acties geselecteerd.
totals_tag_count: U heeft %{count} tags geplaatst op acties.
actions_further: en verder
actions_dow_30days_legend:
actions_dow_30days_legend:
number_of_actions: Aantal acties
day_of_week: Dag van de week
totals_first_action: Sinds uw eerste actie op %{date}
@ -332,7 +332,7 @@ nl:
actions_30days_title: Acties in de afgelopen 30 dagen
no_tags_available: geen tags beschikbaar
actions_dow_30days_title: Dag van de week (laatste 30 dagen)
actions_day_of_week_legend:
actions_day_of_week_legend:
number_of_actions: Aantal acties
day_of_week: Dag van de week
within_one: Binnen 1
@ -341,14 +341,14 @@ nl:
totals_blocked_actions: "%{count} zijn afhankelijk van de voltooiing van hun acties."
totals_unique_tags: Van deze tags zijn %{count} uniek.
totals_active_project_count: Van deze zijn %{count} actieve projecten
running_time_all_legend:
running_time_all_legend:
actions: Acties
running_time: Looptijd van een actie (weken). Klik op een balk voor meer info
percentage: Percentage
other_actions_label: (anderen)
totals_hidden_project_count: "%{count} zijn verborgen"
time_of_day: Tijd van de dag (alle acties)
todos:
todos:
recurring_action_deleted: Actie werd verwijderd. Omdat deze actie herhalend is. werd een nieuwe actie toegevoegd
show_from: Toon vanaf
error_starring_recurring: Kon niet de ster van deze terugkerende actie niet omzetten \'%{description}\'
@ -391,7 +391,7 @@ nl:
list_incomplete_next_actions_with_limit: Toont de laatste %{count} onvoltooide acties
set_to_pending: "'%{task}' als wachtend ingesteld"
added_new_project: Nieuw project toegevoegd
next_actions_title_additions:
next_actions_title_additions:
completed: acties voltooid
due_today: deadline vandaag
due_within_a_week: deadline binnen een week
@ -444,7 +444,7 @@ nl:
unresolved_dependency: De waarde die u ingevoerd heeft in het afhankelijkheden veld is niet herleidbaar naar een bestaande actie. Deze waarde wordt niet bewaard met de rest van de actie. Doorgaan?
no_actions_found_title: Geen acties gevonden
show_today: Toon vandaag
next_actions_due_date:
next_actions_due_date:
overdue_by: Over deadline met %{days} dag
due_in_x_days: Deadline over %{days} dagen
due_today: Deadline vandaag
@ -452,16 +452,16 @@ nl:
due_tomorrow: Deadline morgen
completed_last_x_days: Voltooid in de laatste %{count} dagen
no_actions_with: Momenteel zijn er geen onvoltooide acties met de tag '%{tag_name}'
defer_x_days:
defer_x_days:
one: Een dag uitstellen
other: "%{count} dagen uitstellen"
added_new_next_action_singular: Nieuwe actie toegevoegd
no_completed_actions: Momenteel zijn er geen voltooide acties.
deferred_pending_actions: Uitgestelde/wachtende acties
has_x_pending:
has_x_pending:
one: Heeft een wachtende actie
other: Heeft %{count} wachtende acties
feeds:
feeds:
completed: "Voltooid: %{date}"
due: "Deadline: %{date}"
recurring_todos: Terugkerende acties
@ -472,7 +472,7 @@ nl:
drag_action_title: Sleep naar een andere actie om deze afhankelijk te maken van die actie
cannot_add_dependency_to_completed_todo: Kan deze actie niet als een afhankelijkheid van een voltooide actie toevoegen!
depends_on: Hangt af van
tickler_items_due:
tickler_items_due:
one: Een tickler item wordt nu zichtbaar - vernieuw de pagina om het te zien.
other: "%{count} tickerl items zijn nu zichtbaar - vernieuw de pagina om ze te zien."
action_marked_complete: De actie <strong>'%{description}'</strong> werd gemarkeerd als <strong>%{completed}</strong>
@ -482,7 +482,7 @@ nl:
completed_rest_of_week: Afgerond in de rest van deze week
show_tomorrow: Toon morgen
error_starring: Kon niet de ster van deze actie niet omzetten \'%{description}\'
calendar:
calendar:
get_in_ical_format: Ontvang deze agenda in iCal-formaat
due_next_week: Deadline volgende week
no_actions_due_next_week: Geen acties met deadline in volgende week
@ -494,7 +494,7 @@ nl:
no_actions_due_this_month: Geen acties met deadline in de rest van deze maand
due_this_month: Deadline in rest van %{month}
no_completed_recurring: Momenteel zijn er geen voltooide terugkerende acties
recurrence:
recurrence:
ends_on_date: Eindigt op %{date}
every_work_day: Elke werkdag
ends_on_number_times: Eindigt na %{number} keer
@ -507,10 +507,10 @@ nl:
starts_on: Begint op
daily: Dagelijks
show_option_always: altijd
pattern:
pattern:
third: derde
month_names:
-
month_names:
-
- januari
- februari
- maart
@ -537,7 +537,7 @@ nl:
show: Tonen
every_year_on: elk jaar op %{date}
on_work_days: op werkdagen
day_names:
day_names:
- zondag
- maandag
- dinsdag
@ -555,7 +555,7 @@ nl:
show_options: Toon de actie
weekly_every_number_week: Herhaalt elke %{number} weken op
ends_on: Eindigt op
show_days_before: "%{days} dagen v\xC3\xB3\xC3\xB3r de deadline van actie"
show_days_before: "%{days} dagen voor de deadline van actie"
from_tickler: de datum dat de actie uit de tickler komt (geen deadline ingesteld)
no_end_date: Geen einddatum
day_x_on_every_x_month: Dag %{day} op elke %{month} maand
@ -579,16 +579,16 @@ nl:
action_saved_to_tickler: Actie opgeslagen in tickler
recurring_action_saved: Terugkerende actie opgeslagen
depends_on_separate_with_commas: Afhankelijk van (gescheiden door komma's)
completed_in_archive:
completed_in_archive:
one: Er is een voltooide actie in het archief.
other: Er zijn %{count} afgeronde acties in het archief.
to_tickler: naar tickler
next_actions_description_additions:
next_actions_description_additions:
completed: in de afgelopen %{count} dagen
due_date: met een deadline %{due_date} of eerder
overdue: Achterstallig
add_new_recurring: Voeg een nieuwe terugkerende actie toe
notes:
notes:
delete_note_title: Verwijder de notitie '%{id}'
delete_confirmation: Weet u zeker dat u de notitie '%{id}' wilt verwijderen?
in_project: "In:"
@ -601,7 +601,7 @@ nl:
no_notes_available: "Momenteel zijn er geen notities: voeg notities toe aan projecten vanaf de individuele project pagina's."
note_header: Notitie %{id}
delete_note_confirm: Weet u zeker dat u de notitie '%{id}' wilt verwijderen?
projects:
projects:
default_context_set: Stel project standaard context in op %{default_context}
no_actions_in_project: Momenteel zijn er geen onafgeronde acties in dit project
deferred_actions: Uitgestelde acties voor dit project
@ -656,7 +656,7 @@ nl:
status_project_name_changed: Naam van het project werd gewijzigd
state: Dit project is %{state}
active_projects: Actieve projecten
states:
states:
hidden_plural: Verborgen
stalled: Vastgelopen
review_plural: Gedateerde
@ -673,9 +673,9 @@ nl:
hidden: Verborgen
active: Actief
current_plural: Bijgewerkte
errors:
errors:
user_unauthorized: "401 Unauthorized: Alleen administratieve gebruikers mogen deze functie gebruiken."
preferences:
preferences:
open_id_url: Uw OpenID URL is
change_identity_url: Verander uw Identity URL
staleness_starts_after: Markeren openstaande acties begint na %{days} dagen
@ -697,14 +697,14 @@ nl:
current_authentication_type: Uw authenticatietype is %{auth_type}
change_authentication_type: Verander uw authenticatietype
generate_new_token_confirm: Weet u dit zeker? Het genereren van een nieuw token zal de bestaande te vervangen en dit zal het extern gebruiken van de oude token laten mislukken.
tabs:
tabs:
authentication: Authenticatie
tracks_behavior: Tracks gedrag
profile: Profiel
date_and_time: Datum en tijd
time:
time:
am: ochtend
formats:
formats:
stats: "%a %d-%m"
default: "%A, %d %B %Y %H:%M:%S %z"
time: "%H:%M"
@ -712,9 +712,9 @@ nl:
month_day: "%d %B"
long: "%A, %d. %B %Y, %H:%M"
pm: middag
date:
month_names:
-
date:
month_names:
-
- Januari
- Februari
- Maart
@ -727,7 +727,7 @@ nl:
- Oktober
- November
- December
abbr_day_names:
abbr_day_names:
- Zo
- Ma
- Di
@ -735,18 +735,18 @@ nl:
- Do
- Vr
- Za
order:
order:
- :day
- :month
- :year
formats:
formats:
only_day: "%e"
longer: "%A %d %B %Y"
default: "%d-%m-%Y"
short: "%e %b"
month_day: "%B %d"
long: "%e %B %Y"
day_names:
day_names:
- Zondag
- Maandag
- Dinsdag
@ -754,8 +754,8 @@ nl:
- Donderdag
- Vrijdag
- Zaterdag
abbr_month_names:
-
abbr_month_names:
-
- Jan
- Feb
- Maa
@ -768,30 +768,30 @@ nl:
- Okt
- Nov
- Dec
support:
array:
support:
array:
words_connector: ","
last_word_connector: ", en"
two_words_connector: en
select:
select:
prompt: Selecteer
will_paginate:
will_paginate:
previous_label: "\xC2\xABVorige"
page_entries_info:
page_entries_info:
multi_page: Toon %{model} %{from} - %{to} van %{count} in totaal
single_page_html:
single_page_html:
one: Toon <b>1</b> %{model}
other: Toon <b>alle&nbsp;%{count}</b> %{model}
zero: Geen %{model} gevonden
single_page:
single_page:
one: Toon 1 %{model}
other: Toon alle %{count} %{model}
zero: Geen %{model} gevonden
multi_page_html: Toon %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> van <b>%{count}</b> in totaal
page_gap: "&hellip;"
next_label: "Volgende \xC2\xBB"
dates:
month_names:
dates:
month_names:
- Januari
- Februari
- Maart
@ -804,7 +804,7 @@ nl:
- Oktober
- November
- December
day_names:
day_names:
- Zondag
- Maandag
- Dinsdag
@ -812,9 +812,9 @@ nl:
- Donderdag
- Vrijdag
- Zaterdag
footer:
footer:
send_feedback: Stuur reactie op %{version}
shared:
shared:
multiple_next_actions: Meerdere acties (een op elke regel)
make_actions_dependent: Maak acties afhankelijk van elkaar
toggle_single: Voeg een actie toe
@ -830,7 +830,7 @@ nl:
add_context: Toevoegen context
toggle_multi_title: Toggle single / multi actie formulier
hide_action_form_title: Verberg nieuwe actie formulier
feedlist:
feedlist:
choose_context: Kies de context waar je een feed van wilt
actions_due_today: Acties die vandaag of eerder af moeten
ical_feed: iCal feed
@ -854,14 +854,14 @@ nl:
last_fixed_number: Laatste %{number} acties
all_actions: Alle acties
project_centric: Feeds voor onafgeronde acties in een specifiek project
sidebar:
sidebar:
list_name_active_contexts: Actieve contexten
list_name_active_projects: Actieve projecten
list_empty: Geen
list_name_completed_projects: Voltooide projecten
list_name_hidden_projects: Verborgen projecten
list_name_hidden_contexts: Verborgen contexten
users:
users:
openid_url_verified: Je hebt %{url} met succes geverifieerd als je identiteit en uw authenticatie type OpenID opgeslagen.
auth_type_update_error: "Er was een probleem met het bijwerken van uw authenticatietype: %{error_messages}"
failed_to_delete_user: Mislukt de gebruiker %{username} te verwijderen
@ -905,7 +905,7 @@ nl:
change_authentication_type: Wijzigen authenticatietype
total_notes: Totaal aantal notities
select_authentication_type: Selecteer uw nieuwe authenticatie type en klik op 'Wijzigen authenticatietype' om uw huidige instellingen te vervangen.
contexts:
contexts:
delete_context_title: Verwijder context
all_completed_tasks_title: "TRACKS:: Alle voltooide acties in context '%{context_name}'"
hide_form: Verberg formulier
@ -933,7 +933,7 @@ nl:
context_deleted: De context '%{name}' is verwijderd
no_contexts_hidden: Momenteel zijn er geen verborgen contexten
status_hidden: Context is verborgen
login:
login:
openid_identity_url_not_found: Sorry, geen gebruiker met die identiteit URL bestaat (%{identity_url})
user_no_expiry: Blijf ingelogd
sign_in: Meld aan
@ -958,52 +958,52 @@ nl:
unsuccessful: Login mislukt.
log_in_again: opnieuw in te loggen.
logged_out: Je bent afgemeld bij Tracks.
datetime:
prompts:
datetime:
prompts:
minute: Minuut
second: Seconden
month: Maand
hour: Uur
day: Dag
year: Jaar
distance_in_words:
less_than_x_minutes:
distance_in_words:
less_than_x_minutes:
one: minder dan een minuut
other: minder dan %{count} minuten
zero: minder dan 1 minuut
almost_x_years:
almost_x_years:
one: bijna 1 jaar
other: bijna %{count} jaren
x_days:
x_days:
one: 1 dag
other: "%{count} dagen"
x_seconds:
x_seconds:
one: 1 seconde
other: "%{count} seconden"
about_x_hours:
about_x_hours:
one: ongeveer 1 uur
other: ongeveer %{count} uren
less_than_x_seconds:
less_than_x_seconds:
one: minder dan 1 seconde
other: minder dan %{count} seconden
zero: minder dan 1 seconde
x_months:
x_months:
one: 1 maand
other: "%{count} maanden"
x_minutes:
x_minutes:
one: 1 minuut
other: "%{count} minuten"
about_x_years:
about_x_years:
one: ongeveer 1 jaar
other: ongeveer %{count} jaren
about_x_months:
about_x_months:
one: ongeveer 1 maand
other: ongeveer %{count} maanden
over_x_years:
over_x_years:
one: over 1 jaar
other: over %{count} jaren
half_a_minute: halve minuut
search:
search:
contexts_matching_query: Contexten passend bij zoekopdracht
tags_matching_query: Tags passend bij zoekopdracht
no_results: Uw zoekopdracht heeft geen resultaten opgeleverd.

View file

@ -42,7 +42,7 @@ When /^I edit the name of the pattern "([^\"]*)" to "([^\"]*)"$/ do |pattern_nam
pattern.should_not be_nil
click_link "link_edit_recurring_todo_#{pattern.id}"
wait_for_ajax
page.should have_css("input#edit_recurring_todo_description")
fill_in "edit_recurring_todo_description", :with => new_name
page.find("button#recurring_todo_edit_update_button").click
@ -82,6 +82,7 @@ When /^I follow the recurring todo link of "([^"]*)"$/ do |action_description|
todo.should_not be_nil
page.find(:xpath, "//div[@id='todo_#{todo.id}']//a[@class='recurring_icon']/img").click
sleep 1 # wait for page to load
end
Then /^the state list "([^"]*)" should be empty$/ do |state|