fix scenarios for editing a todo, showing empty messages and fix some missing translations

This commit is contained in:
Reinier Balt 2011-03-09 10:53:54 +01:00
parent 793f7786f1
commit 068c4bf60e
16 changed files with 222 additions and 190 deletions

View file

@ -10,10 +10,10 @@
</div>
<div class="container">
<h2>Actions in this project</h2>
<h2><%= t('projects.actions_in_project_title') %></h2>
<div id="p<%= project.id %>items" class="items toggle_target">
<div id="p<%= project.id %>empty-nd" style="display:<%= @not_done.empty? ? 'block' : 'none'%>;">
<div class="message"><p>Currently there are no incomplete actions in this project</p></div>
<div class="message"><p><%= t('projects.no_actions_in_project') %></p></div>
</div>
<%= render :partial => "todos/todo", :collection => @not_done, :locals => { :parent_container_type => "project" } %>
</div>

View file

@ -1,21 +1,21 @@
<% project = project_settings -%>
<div id="<%= dom_id(project) %>" class="project">
<div class="project_settings">This project
<% if project.completed? -%>has been marked as completed
<% elsif project.hidden? -%>has been marked as hidden
<% else -%>is active
<div class="project_settings"><%= t('projects.this_project') %>
<% if project.completed? -%><%= t('projects.was_marked_complete') %>
<% elsif project.hidden? -%><%= t('projects.was_marked_hidden') %>
<% else -%><%= t('projects.is_active') %>
<% end -%>
with <% if project.default_context.nil? -%>
no default context
<% if project.default_context.nil? -%>
<%= t('projects.with_no_default_context') %>
<% else -%>
a default context of <%= project.default_context.name -%>
<%= t('projects.with_default_context', :context_name => project.default_context.name) %>
<% end -%>
and with <% if project.default_tags.nil? || project.default_tags.blank? -%>
no default tags.
<% if project.default_tags.nil? || project.default_tags.blank? -%>
<%= t('projects.with_no_default_tags') %>.
<% else -%>
'<%= project.default_tags -%>' as the default tags.
<%= t('projects.with_default_tags', :tags => project.default_tags) %>.
<% end -%>
<%= link_to_edit_project(project, "Edit Project Settings") %>
<%= link_to_edit_project(project, t('projects.edit_project_settings')) %>
</div>
<% unless project.description.blank? -%>
<div class="project_description"><%= format_note(project.description) %></div>

View file

@ -12,7 +12,7 @@
<div class="container">
<div id="notes">
<div class="add_note_link"><%= link_to t('projects.add_note'), '#' %> </div>
<h2>Notes</h2>
<h2><%= t('projects.notes') %></h2>
<div id="empty-n" style="display:<%= @project.notes.empty? ? 'block' : 'none'%>;">
<%= render :partial => "shared/empty",
:locals => { :message => t('projects.no_notes_attached')} %>

View file

@ -25,14 +25,14 @@ function clear_form() {
}
function insert_new_context_with_new_todo() {
$('#no_todos_in_tag_view').slideUp(100);
$('#no_todos_in_view').slideUp(100);
$('#display_box').prepend(html_for_new_context());
}
function add_todo_to_existing_context() {
<% if source_view_is_one_of(:todo, :deferred, :tag) -%>
$('#c<%= @todo.context_id %>').fadeIn(500, function() {});
$('#no_todos_in_tag_view').slideUp(100);
$('#no_todos_in_view').slideUp(100);
<% end -%>
$('#<%=empty_container_msg_div_id%>').hide();
$('#<%=item_container_id(@todo)%>').append(html_for_new_todo());

View file

@ -1,4 +1,8 @@
<div id="display_box">
<div id="no_todos_in_view" class="container context" <%= "style=\"display:none\"" unless @not_done_todos.empty? %> >
<h2><%= t('todos.no_actions_found_title')%></h2>
<div class="message"><p><%= t('todos.no_actions_found') %></p></div>
</div>
<%= render(
:partial => "contexts/context",
:collection => @contexts_to_show,

View file

@ -1,7 +1,7 @@
<div id="display_box">
<% if @not_done_todos.empty? -%>
<div class="container context">
<h2><%= t('todos.no_actions_found') %></h2>
<h2><%= t('todos.no_actions_found_title') %></h2>
<div class="message"><%= t('todos.no_actions_with', :tag_name => @tag_name) %></div>
</div>
<% end -%>

View file

@ -31,7 +31,7 @@ function update_successor() {
<%= "show_empty_deferred_message(); " if @remaining_deferred_or_pending_count == 0 %>
<% if source_view_is_one_of(:todo, :deferred, :tag) -%>
$('#c<%= @successor.context_id %>').fadeIn(500, function() {});
$('#no_todos_in_tag_view').slideUp(100);
$('#no_todos_in_view').slideUp(100);
<% end -%>
$('#<%=item_container_id(@successor)%>').append(html_for_new_successor());
$('#<%= dom_id(@successor, 'line')%>').effect('highlight', {}, 2000 ); <%

View file

@ -1,6 +1,6 @@
<div id="display_box">
<div id="no_todos_in_tag_view" class="container context" <%= "style=\"display:none\"" unless @not_done_todos.empty? %> >
<h2><%= t('todos.no_actions_found')%></h2>
<div id="no_todos_in_view" class="container context" <%= "style=\"display:none\"" unless @not_done_todos.empty? %> >
<h2><%= t('todos.no_actions_found_title')%></h2>
<div class="message"><p><%= t('todos.no_actions_with', :tag_name=>@tag_name) %></p></div>
</div>

View file

@ -15,7 +15,7 @@
animation << "add_todo_to_context"
animation << "block_predecessors"
end
animation << "update_empty_tag_container" if source_view_is(:tag) -%>
animation << "update_empty_container" if source_view_is_one_of(:tag, :todo) -%>
<%= render_animation(animation) %>
TracksPages.set_page_badge(<%= @down_count %>);
<% end -%>
@ -85,11 +85,11 @@ function add_new_recurring_todo(next_steps) {
<% end -%>
}
function update_empty_tag_container(next_steps) {
function update_empty_container(next_steps) {
<% if @down_count==0 -%>
$('#no_todos_in_tag_view').slideDown(400, function(){ next_steps.go(); });
$('#no_todos_in_view').slideDown(400, function(){ next_steps.go(); });
<% else -%>
$('#no_todos_in_tag_view').fadeOut(100, function(){ next_steps.go(); });
$('#no_todos_in_view').fadeOut(100, function(){ next_steps.go(); });
<% end -%>
}

View file

@ -15,7 +15,7 @@
end
animation << "hide_context" if update_needs_to_hide_context
animation << "highlight_updated_todo"
animation << "update_empty_tag_container" if source_view_is(:tag)
animation << "update_empty_container" if source_view_is_one_of(:tag, :todo)
animation << "update_predecessors"
%>
@ -71,11 +71,11 @@ function highlight_updated_todo(next_steps) {
next_steps.go();
}
function update_empty_tag_container(next_steps) {
function update_empty_container(next_steps) {
<% if @down_count==0 -%>
$('#no_todos_in_tag_view').slideDown(400, function(){ next_steps.go(); });
$('#no_todos_in_view').slideDown(400, function(){ next_steps.go(); });
<% else -%>
$('#no_todos_in_tag_view').fadeOut(100, function(){ next_steps.go(); });
$('#no_todos_in_view').fadeOut(100, function(){ next_steps.go(); });
<% end -%>
}

View file

@ -438,7 +438,7 @@ de:
added_dependency: "%{dependency} als Abh&auml;ngigkeit hinzugef&uuml;gt."
no_deferred_actions: Zur Zeit sind keine zur&uuml;ckgestellten Aktionen vorhanden.
recurrence_completed: Nach dieser wiederkehrenden Aktion, die du gerade abgeschlossen hast, folgt keine mehr. Die Wiederholung endet hiermit
no_actions_found: Keine Aktionen gefunden
no_actions_found_title: Keine Aktionen gefunden
in_pending_state: und als ausstehend markiert
due: F&auml;llig
action_marked_complete_error: Die Aktion <strong>'%{description}'</strong> wurde aufgrund eines Fehlers NICHT als <strong>%{completed}</strong> markiert.

View file

@ -250,13 +250,24 @@ en:
deferred_actions_empty: "There are no deferred actions for this project"
completed_actions: "Completed actions for this project"
completed_actions_empty: "There are no completed actions for this project"
no_actions_in_project: "Currently there are no incomplete actions in this project"
actions_in_project_title: "Actions in this project"
notes: "Notes"
notes_empty: "There are no notes for this project"
settings: "Settings"
state: "This project is %{state}"
this_project: "This project"
active_projects: "Active projects"
hidden_projects: "Hidden projects"
completed_projects: "Completed projects"
was_marked_complete: "has been marked as completed"
was_marked_hidden: "has been marked as hidden"
is_active: "is active"
with_no_default_context: "with no default context"
with_default_context: "with a default context of '%{context_name}'"
with_no_default_tags: "and with no default tags"
with_default_tags: "and with '%{tags}' as the default tags"
edit_project_settings: "Edit Project Settings"
page_title: "TRACKS::Project: %{project}"
list_projects: "TRACKS::List Projects"
no_default_context: "This project does not have a default context"
@ -408,7 +419,8 @@ en:
error_starring: "Could not toggle the star of this todo \'%{description}\'"
recurrence_completed: "There is no next action after the recurring action you just finished. The recurrence is completed"
tagged_with: "tagged with &lsquo;%{tag_name}&rsquo;"
no_actions_found: "No actions found"
no_actions_found_title: "No actions found"
no_actions_found: "Currently there are no incomplete actions."
no_actions_with: "Currently there are no incomplete actions with the tag '%{tag_name}'"
removed_predecessor: "Removed %{successor} as dependency from %{predecessor}."
add_another_dependency: "Add another dependency"

View file

@ -39,32 +39,32 @@ nl:
cancel: Annuleer
optional: optioneel
notes: Notities
forum: Forum
server_error: Een fout heeft op de server plaatsgevonden
forum: Forum
action: Actie
projects: Projecten
project: Project
contribute: Bijdragen
ok: Ok
contribute: Bijdragen
website: Website
numbered_step: Stap %{number}
errors_with_fields: Er waren problemen met de volgende velden
context: Context
drag_handle: SLEEP
sort:
by_task_count_title: Sorteer op aantal acties
by_task_count_title_confirm: Weet u zeker dat u deze projecten alphabetisch wilt sorteren? Dat zal de huidige sorteervolgorde aanpassen.
alphabetically: Alphabetisch
alphabetically_title: Sorteer projecten alphabetisch
alphabetically_confirm: Weet u zeker dat u deze projecten alphabetisch wilt sorteren? Dat zal de huidige sorteervolgorde aanpassen.
sort: Sorteer
alphabetically_confirm: Weet u zeker dat u deze projecten alphabetisch wilt sorteren? Dat zal de huidige sorteervolgorde aanpassen.
by_task_count: Bij aantal acties
drag_handle: SLEEP
create: Maken
description: Beschrijving
contexts: Contexten
errors_with_fields: Er waren problemen met de volgende velden
wiki: Wiki
update: Bijwerken
bugs: Fouten
wiki: Wiki
email: E-mail
ajaxError: Er is een fout opgetreden bij het ophalen van gegevens van de server
search: Zoeken
@ -82,8 +82,8 @@ nl:
contexts: 2-Contexten
home: 1-Start
navigation:
manage_users_title: Toevoegen of verwijderen gebruikers
recurring_todos: Terugkerende todos
manage_users_title: Toevoegen of verwijderen gebruikers
api_docs: REST API Docs
feeds: Feeds
stats: Statistieken
@ -94,8 +94,8 @@ nl:
export_title: Import en export van gegevens
integrations_: Integreer Tracks
preferences: Voorkeuren
feeds_title: Zie een lijst met beschikbare feeds
calendar_title: Kalender met acties met deadline
feeds_title: Zie een lijst met beschikbare feeds
home_title: Start
starred_title: Zie je ster acties
recurring_todos_title: Beheren terugkerende acties
@ -105,26 +105,26 @@ nl:
view: Bekijk
organize: Organiseer
completed_tasks_title: Afgerond
contexts_title: Contexten
export: Export
contexts_title: Contexten
home: Start
projects_title: Projecten
preferences_title: Toon mijn voorkeuren
calendar: Agenda
search: Zoeken in alle items
projects_title: Projecten
models:
project:
feed_title: Tracks Projecten
feed_description: Een overzicht van alle projecten voor %{username}
todo:
error_date_must_be_future: moet een datum in de toekomst zijn
user:
error_context_not_associated: Context %{context} niet geassocieerd met gebruikers %{user}.
error_project_not_associated: Project %{project} niet geassocieerd met gebruikers %{user}.
preference:
due_styles:
- Deadline over ____ dagen
- Deadline op ____
user:
error_context_not_associated: Context %{context} niet geassocieerd met gebruikers %{user}.
error_project_not_associated: Project %{project} niet geassocieerd met gebruikers %{user}.
data:
import_successful: De import was succesvol
import_errors: Er hebben zich fouten voorgedaan bij de import
@ -143,13 +143,16 @@ nl:
context: Context
description: Beschrijving
due: Deadline
user:
last_name: Achternaam
first_name: Voornaam
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
show_hidden_contexts_in_sidebar: Toon verborgen contexten in sidebar
mobile_todos_per_page: Acties per pagina (mobiel)
sms_context: Standaard context voor email
verbose_action_descriptors: Context en project uitschrijven in actielijst
mobile_todos_per_page: Acties per pagina (mobiel)
staleness_starts: Begin van markeren openstaande actie
title_date_format: Datum formaat in titel
show_number_completed: Aantal te tonen afgeronde acties
@ -161,9 +164,6 @@ nl:
sms_email: Van email
show_project_on_todo_done: Ga naar project pagina wanneer actie gereed is
show_completed_projects_in_sidebar: Toon afgeronde projecten in sidebar
user:
last_name: Achternaam
first_name: Voornaam
errors:
messages:
greater_than_or_equal_to: moet groter of gelijk zijn aan %{count}
@ -174,8 +174,8 @@ nl:
exclusion: is gereserveerd
invalid: mag niet een komma (',') karakter bevatten
odd: moet oneven zijn
empty: mag niet leeg zijn
wrong_length: heeft de verkeerde lengte (moet %{count} karakters lang zijn)
empty: mag niet leeg zijn
even: moet even zijn
too_short: is te kort (minimum is %{count} karakters)
less_than: moet kleiner zijn dan %{count}
@ -205,11 +205,11 @@ nl:
tag_cloud_title: Tag Cloud voor alle acties
tag_cloud_description: Deze tag cloud bevat tags van alle acties (afgerond, niet voltooid, zichtbaar en / of verborgen)
tag_cloud_90days_title: Tag cloud met acties in afgelopen 90 dagen
totals_first_action: Sinds uw eerste actie op %{date}
actions_avg_completion_time: Van al uw afgeronde acties, de gemiddelde tijd dat dit in beslag nam is %{count} dagen.
actions_last_year_legend:
number_of_actions: Aantal acties
months_ago: Maanden geleden
totals_first_action: Sinds uw eerste actie op %{date}
actions_dow_30days_title: Dag van de week (laatste 30 dagen)
current_running_time_of_incomplete_visible_actions: Huidige looptijd van onvolledige zichtbare acties
running_time_legend:
@ -217,33 +217,35 @@ nl:
percentage: Percentage
weeks: Looptijd van een actie (weken). Klik op een balk voor meer info
totals_action_count: u heeft een totaal van %{count} acties
totals_deferred_actions: waarvan %{count} uitgestelde acties in de tickler zijn
legend:
number_of_days: Aantal dagen geleden
actions: Acties
number_of_actions: Aantal acties
day_of_week: Dag van de week
percentage: Percentage
running_time: Looptijd van een actie (weken)
percentage: Percentage
months_ago: Maanden geleden
totals_deferred_actions: waarvan %{count} uitgestelde acties in de tickler zijn
top10_longrunning: Top 10 langstlopende projecten
actions_avg_completed_30days: en voltooide een gemiddelde van %{count} acties per dag.
top5_contexts: Top 5 contexten
actions_lastyear_title: Acties in de afgelopen 12 maanden
totals_actions_completed: "%{count} van deze zijn voltooid."
totals_incomplete_actions: U heeft %{count} onvolledige acties
totals_unique_tags: Van deze tags zijn %{count} uniek.
actions_avg_completed_30days: en voltooide een gemiddelde van %{count} acties per dag.
top5_contexts: Top 5 contexten
totals_visible_context_count: Van deze zijn %{count} zichtbare contexten
totals_blocked_actions: "%{count} zijn afhankelijk van de voltooiing van hun acties."
action_completion_time_title: Doorlooptijd (alle voltooide acties)
actions_last_year: Acties in de afgelopen jaren
totals_context_count: U heeft %{count} contexten.
actions_min_max_completion_days: De max-/minimum dagen tot voltooiing is %{min}/%{max}.
actions_min_completion_time: De minimale tijd tot afronding is %{time}.
no_tags_available: geen tags beschikbaar
actions_day_of_week_title: Dag van de week (alle acties)
totals_project_count: U heeft %{count} projecten.
tags: Tags
actions_min_max_completion_days: De max-/minimum dagen tot voltooiing is %{min}/%{max}.
totals_project_count: U heeft %{count} projecten.
tod30: Tijd van de dag (laatste 30 dagen)
tag_cloud_90days_description: Deze tag cloud bevat tags van acties die zijn gemaakt of voltooid in de afgelopen 90 dagen.
running_time_all: Huidige looptijd van alle onvolledige acties
totals_tag_count: U heeft %{count} tags geplaatst op acties.
time_of_day: Tijd van de dag (alle acties)
@ -252,8 +254,8 @@ nl:
more_stats_will_appear: Meer statistieken zullen hier verschijnen zodra u acties hebt toegevoegd.
top5_visible_contexts_with_incomplete_actions: Top 5 zichtbare contexten met onvolledige acties
actions_further: en verder
tod30: Tijd van de dag (laatste 30 dagen)
tag_cloud_90days_description: Deze tag cloud bevat tags van acties die zijn gemaakt of voltooid in de afgelopen 90 dagen.
other_actions_label: (anderen)
totals_completed_project_count: en %{count} zijn afgeronde projecten.
click_to_return: Klik %{link} om terug te keren naar de statistieken pagina.
top10_projects_30days: Top 10 project in de laatste 30 dagen
actions_selected_from_week: Gekozen acties van week
@ -262,17 +264,13 @@ nl:
spread_of_actions_for_all_context: Verdeling van acties voor alle contexten
actions_avg_created: In de afgelopen 12 maanden heeft u gemiddeld% {count} acties aangemaakt
click_to_show_actions_from_week: Klik %{link} om de acties van week %{week} en verder te zien.
other_actions_label: (anderen)
totals_completed_project_count: en %{count} zijn afgeronde projecten.
totals: Totalen
time_of_day_legend:
number_of_actions: Aantal acties
time_of_day: Tijd van de dag
click_to_return_link: hier
totals_hidden_context_count: en %{count} zijn verborgen contexten.
actions_avg_completed: en voltooide een gemiddelde van %{count} acties per maand.
totals: Totalen
no_actions_selected: Er zijn geen acties geselecteerd.
click_to_update_actions: Klik op een balk in de grafiek op de acties hieronder aan te passen.
labels:
month_avg_completed: "%{months} gem afgerond per maand"
completed: Afgerond
@ -280,48 +278,50 @@ nl:
avg_created: Gem gemaakt
avg_completed: Gem afgerond
created: Gemaakt
no_actions_selected: Er zijn geen acties geselecteerd.
click_to_update_actions: Klik op een balk in de grafiek op de acties hieronder aan te passen.
running_time_all_legend:
actions: Acties
percentage: Percentage
running_time: Looptijd van een actie (weken). Klik op een balk voor meer info
percentage: Percentage
action_selection_title: "TRACKS:: Actie selectie"
actions_actions_avg_created_30days: In de afgelopen 30 dagen heeft u gemiddeld% {count} acties gemaakt
tod30_legend:
number_of_actions: Aantal acties
time_of_day: Tijd van de dag
action_selection_title: "TRACKS:: Actie selectie"
todos:
show_from: Toon vanaf
error_starring_recurring: Kon niet de ster van deze terugkerende actie niet omgezetten \'%{description}\'
recurring_action_deleted: Actie werd verwijderd. Omdat deze actie herhalend is. werd een nieuwe actie toegevoegd
completed_actions: Voltooide acties
blocked_by: Geblokkeerd door %{predecessors}
completed_recurring: Afgesloten terugkerende todos
added_new_next_action: Nieuwe actie toegevoegd
blocked_by: Geblokkeerd door %{predecessors}
unable_to_add_dependency: Niet in staat om de afhankelijkheid toe te voegen
star_action: Markeer deze actie met een ster
completed_recurrence_completed: Er is geen actie na de terugkerende actie die u new verwijderd heeft. De herhaling is voltooid
defer_date_after_due_date: Uitsteldatum is na de vervaldag. Gelieve vervaldag bewerken alvorens uitsteldatum aan te passen.
unable_to_add_dependency: Niet in staat om de afhankelijkheid toe te voegen
done: Voltooid?
star_action_with_description: markeer de actie '%{description}' met een ster
tagged_with: gelabeld met &lsquo;%{tag_name}&rsquo;
completed: Afgerond
no_deferred_actions_with: Geen uitgestelde acties met de tag '%{tag_name}'
no_hidden_actions: Momenteel zijn er geen verborgen acties gevonden
edit_action_with_description: Bewerk de actie '%{description}'
action_due_on: (deadline actie op %{date})
edit_action_with_description: Bewerk de actie '%{description}'
archived_tasks_title: "TRACKS:: Gearchiveerde voltooide taken"
remove_dependency: Verwijder afhankelijkheid (zal niet de actie zelf verwijderen)
list_incomplete_next_actions: Toon onvoltooide acties
action_deleted_success: Actie succesvol verwijderd
tags: Tags (gescheiden door komma's)
delete_recurring_action_title: Verwijder de terugkerende actie
new_related_todo_created: Een nieuwe actie is toegevoegd, die behoort bij deze terugkerende todo
context_changed: Context veranderd in '%{name}'
mobile_todos_page_title: Alle acties
add_another_dependency: Nog een afhankelijkheid toevoegen
delete_recurring_action_title: Verwijder de terugkerende actie
mobile_todos_page_title: Alle acties
next_action_needed: U dient ten minste een actie in te vullen
removed_predecessor: "'%{successor}' is verwijderd als afhankelijkheid van '%{predecessor}'."
recurring_actions_title: TRACKS::Terugkerende acties
next_action_needed: U dient ten minste een actie in te vullen
action_saved: Actie opgeslagen
scheduled_overdue: Gepland om %{days} dagen geleden te tonen
action_deleted_error: Verwijderen van de actie is mislukt
@ -336,16 +336,16 @@ nl:
due_today: deadline vandaag
due_within_a_week: deadline binnen een week
older_completed_items: Oudere voltooide items
no_actions_due_this_week: Geen acties met deadline in rest van deze week
append_in_this_project: in dit project
error_deleting_item: Er is een fout opgetreden bij het verwijderen van het item '%{description}'
task_list_title: TRACKS::Toon acties
no_actions_due_this_week: Geen acties met deadline in rest van deze week
no_deferred_pending_actions: Momenteel zijn er geen uitgestelde of in wachtende acties
no_recurring_todos: Momenteel zijn er geen terugkerende acties
error_completing_todo: Er was een fout bij het voltooien / activeren van de terugkerende actie '%{description}'
convert_to_project: Maak project
delete_recurring_action_confirm: Weet u zeker dat u wilt de terugkerende actie '%{description}' wilt verwijderen?
no_deferred_pending_actions: Momenteel zijn er geen uitgestelde of wachtende acties
completed_last_day: Voltooid in de laatste 24 uur
delete_recurring_action_confirm: Weet u zeker dat u wilt de terugkerende actie '%{description}' wilt verwijderen?
show_in_days: Toon over %{days} dagen
no_project: -- Geen project --
completed_more_than_x_days_ago: Voltooid meer dan %{count} dagen geleden
@ -364,8 +364,8 @@ nl:
show_on_date: Toon op %{date}
recurrence_period: Herhaling periode
deferred_actions_with: Uitgestelde acties met de tag '%{tag_name}'
recurring_deleted_success: De recurrente actie is succesvol verwijderd.
confirm_delete: Weet u zeker dat u de actie '%{description}' wilt verwijderen?
recurring_deleted_success: De recurrente actie is succesvol verwijderd.
next_actions_title: Tracks - Acties
next_action_description: Actie beschrijving
deferred_tasks_title: TRACKS::Tickler
@ -374,6 +374,7 @@ nl:
calendar_page_title: TRACKS::Agenda
in_hidden_state: in verborgen toestand
show_today: Toon vandaag
no_actions_found_title: Geen acties gevonden
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:
@ -381,7 +382,7 @@ nl:
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 van acties
deferred_pending_actions: Uitgestelde/wachtende acties
has_x_pending:
one: Heeft een wachtende actie
other: Heeft %{count} wachtende acties
@ -393,16 +394,17 @@ nl:
recurring_todos: Terugkerende acties
delete: Verwijder
drag_action_title: Sleep naar een andere actie om deze afhankelijk te maken van die actie
depends_on: Hangt af van
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."
depends_on: Hangt af van
action_marked_complete: De actie <strong>'%{description}'</strong> werd gemarkeerd als <strong>%{completed}</strong>
completed_today:
one: U heeft een actie tot nu toe vandaag voltooid.
other: U heeft %{count} acties tot nu toe vandaag voltooid.
added_new_next_action_plural: Nieuwe acties toegevoegd
error_starring: Kon niet de ster van deze actie niet omzetten \'%{description}\'
show_tomorrow: Toon morgen
calendar:
get_in_ical_format: Ontvang deze agenda in iCal-formaat
due_next_week: Deadline deze week
@ -414,79 +416,69 @@ nl:
no_actions_due_after_this_month: Geen acties met deadline na deze maand
due_this_month: Deadline in rest van %{month}
no_actions_due_this_month: Geen acties met deadline in de rest van deze maand
show_tomorrow: Toon morgen
recurrence:
every_work_day: Elke werkdag
ends_on_number_times: Eindigt na %{number} keer
ends_on_date: Eindigt op %{date}
every_work_day: Elke werkdag
recurrence_on_due_date: de datum dat deadline van de actie is
weekly_options: Instellingen voor de wekelijkse terugkerende acties
monthly_options: Instellingen voor maandelijks terugkerende acties
weekly: Wekelijks
monthly_options: Instellingen voor maandelijks terugkerende acties
monthly: Maandelijks
starts_on: Begint op
daily_options: Instellingen voor dagelijks terugkerende acties
daily: Dagelijks
show_option_always: altijd
yearly_every_x_day: Elke %{month} %{day}
recurrence_on_options: Stel herhaling in op
yearly_every_x_day: Elke %{month} %{day}
daily_every_number_day: Elke %{number} dag(en)
weekly_every_number_week: Herhaalt elke %{number} weken op
ends_on: Eindigt op
weekly_every_number_week: Herhaalt elke %{number} weken op
show_options: Toon de actie
yearly_options: Instellingen voor jaarlijks terugkerende acties
day_x_on_every_x_month: Dag %{dag} op elke %{month} maand
yearly_every_xth_day: De %{day} %{day_of_week} van %{month}
yearly_options: Instellingen voor jaarlijks terugkerende acties
show_days_before: "%{days} dagen v\xC3\xB3\xC3\xB3r 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 %{dag} op elke %{month} maand
yearly: Jaarlijks
monthly_every_xth_day: De %{dag} %{day_of_week} van elke %{month} maand
yearly: Jaarlijks
tagged_page_title: TRACKS::Tagged met '%{tag_name}'
no_completed_recurring: Momenteel zijn er geen voltooide terugkerende acties
added_dependency: "%{dependency} als afhankelijkheid toegevoegd."
no_deferred_actions: Momenteel zijn er geen uitgestelde acties.
recurrence_completed: Er is geen volgende actie na de terugkerende actie die u zojuist hebt voltooid. De herhaling is voltooid
no_actions_found: Geen acties gevonden
no_actions_found: Momenteel zijn er geen onafgeronde acties.
in_pending_state: in wachtende toestand
due: Deadline
action_marked_complete_error: De actie <strong>'%{description}'</strong> is niet gemarkeerd als <strong>%{completed} vanwege een fout op de server.</strong>
depends_on_separate_with_commas: Afhankelijk van (gescheiden door komma's)
recurring_action_saved: Terugkerende actie opgeslagen
action_saved_to_tickler: Actie opgeslagen in tickler
completed_in_archive:
one: Er is een voltooide actie in het archief.
other: Er zijn %{count} afgeronde acties in het archief.
action_saved_to_tickler: Actie opgeslagen in tickler
depends_on_separate_with_commas: Afhankelijk van (gescheiden door komma's)
recurring_action_saved: Terugkerende actie opgeslagen
to_tickler: naar tickler
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
no_incomplete_actions: Er zijn geen onvoltooide acties
add_new_recurring: Voeg een nieuwe terugkerende actie toe
notes:
delete_note_title: Verwijder de notitie '%{id}'
delete_confirmation: Weet u zeker dat u de notitie '%{id}' wilt verwijderen?
delete_item_title: Verwijder item
show_note_title: Toon notitie
deleted_note: Verwijder notitie '%{id}'
note_link_title: Toon notitie %{id}
show_note_title: Toon notitie
note_location_link: "In:"
edit_item_title: Item bewerken
no_notes_available: "Momenteel zijn er geen notities: voeg notities toe aan projecten vanaf de individuele project pagina's."
note_header: Notitie %{id}
no_notes_available: "Momenteel zijn er geen notities: voeg notities toe aan projecten vanaf de individuele project pagina's."
delete_note_confirm: Weet u zeker dat u de notitie '%{id}' wilt verwijderen?
errors:
user_unauthorized: "401 Unauthorized: Alleen administratieve gebruikers mogen deze functie gebruiken."
states:
hidden_plural: Verborgen
completed: Afgerond
completed_plural: Afgeronde
visible_plural: Zichtbare
visible: Zichtbaar
active_plural: Actieve
active: Actief
hidden: Verborgen
time:
am: ochtend
formats:
@ -495,6 +487,15 @@ nl:
short: "%d %B %H:%M"
long: "%A, %d. %B %Y, %H:%M"
pm: middag
states:
hidden_plural: Verborgen
completed: Afgerond
completed_plural: Afgeronde
visible_plural: Zichtbare
active_plural: Actieve
visible: Zichtbaar
active: Actief
hidden: Verborgen
preferences:
open_id_url: Uw OpenID URL is
staleness_starts_after: Ophopen begint na %{days} dagen
@ -504,50 +505,61 @@ nl:
token_description: Token (voor feeds en API gebruik)
title: Uw voorkeuren
show_number_completed: Toon %{number} voltooide items
edit_preferences: Voorkeuren bewerken
page_title_edit: "TRACKS:: Voorkeuren bewerken"
edit_preferences: Voorkeuren bewerken
generate_new_token: Genereer een nieuwe token
sms_context_none: Geen
token_header: Uw token
change_authentication_type: Verander uw authenticatietype
authentication_header: Uw authenticatie
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.
projects:
default_tags_removed_notice: De standaard tags zijn verwijderd
default_context_set: Stel project standaard context in op %{default_context}
deferred_actions: Uitgestelde acties voor dit project
edit_project_title: Bewerk project
default_tags_removed_notice: De standaard tags zijn verwijderd
was_marked_hidden: is gemarkeerd als verborgen
no_actions_in_project: Momenteel zijn er geen onafgeronde acties in dit project
page_title: "TRACKS:: Project: %{project}"
hide_form: Verberg formulier
no_notes_attached: Momenteel zijn er geen notities toegevoegd aan dit project
deferred_actions_empty: Er zijn geen uitgestelde acties voor dit project
project_state: Project is %{state}.
show_form_title: Maak een nieuw project
this_project: Dit project
to_new_project_page: Ga naar de nieuwe projectpagina
no_notes_attached: Momenteel zijn er geen notities toegevoegd aan dit project
notes: Notities
todos_append: in dit project
notes_empty: Er zijn geen notities voor dit project
no_projects: Momenteel zijn er geen projecten
hide_form_title: Verberg nieuw project formulier
completed_actions_empty: Er zijn nog geen afgeronde acties voor dit project
with_no_default_context: zonder standaard context
delete_project: Project verwijderen
completed_actions_empty: Er zijn nog geen afgeronde acties voor dit project
actions_in_project_title: Acties in dit project
show_form: Toevoegen van een project
delete_project_confirmation: Weet u zeker dat u wilt het project '%{name} wilt verwijderen?
with_default_context: met een standaard context '%{context_name}'
add_project: Voeg project toe
set_default_tags_notice: Stel project standaard tags in op %{default_tags}
add_note: Een notitie toevoegen
project_saved_status: Project opgeslagen
is_active: is actief
settings: Instellingen
completed_projects: Voltooide projecten
with_default_tags: en met '%{tags}' als de standaard tags
list_projects: "TRACKS:: Overzicht van projecten"
add_project: Voeg project toe
hidden_projects: Verborgen projecten
delete_project_title: Verwijder het project
hidden_projects: Verborgen projecten
was_marked_complete: is gemarkeerd als voltooid
default_context_removed: Standaard context verwijderd
completed_actions: Afgeronde acties voor dit project
add_note_submit: Notitie toevoegen
status_project_name_changed: Naam van het project werd gewijzigd
edit_project_settings: Bewerk project instellingen
no_default_context: Dit project heeft geen standaard context
with_no_default_tags: en zonder standaard tags
default_context: De standaard context voor dit project is %{context}
active_projects: Actieve projecten
state: Dit project is %{state}
@ -614,20 +626,6 @@ nl:
prompt: Selecteer
footer:
send_feedback: Stuur reactie op %{version}
shared:
multiple_next_actions: Meerdere acties (een op elke regel)
toggle_single: Voeg een actie toe
hide_form: Verberg formulier
add_action: Actie toevoegen
add_actions: Toevoegen acties
tags_for_all_actions: Tags voor alle acties (scheiden met een komma)
toggle_multi: Voeg meerdere acties toe
toggle_single_title: Voeg een nieuwe actie toe
project_for_all_actions: Project voor alle acties
context_for_all_actions: Context voor alle acties
separate_tags_with_commas: gescheiden door komma's
toggle_multi_title: Toggle single / multi actie formulier
hide_action_form_title: Verberg nieuwe actie formulier
dates:
month_names:
- Januari
@ -650,98 +648,112 @@ nl:
- Donderdag
- Vrijdag
- Zaterdag
shared:
multiple_next_actions: Meerdere acties (een op elke regel)
toggle_single: Voeg een actie toe
hide_form: Verberg formulier
add_action: Actie toevoegen
add_actions: Toevoegen acties
tags_for_all_actions: Tags voor alle acties (scheiden met een komma)
toggle_multi: Voeg meerdere acties toe
toggle_single_title: Voeg een nieuwe actie toe
project_for_all_actions: Project voor alle acties
context_for_all_actions: Context voor alle acties
separate_tags_with_commas: gescheiden door komma's
toggle_multi_title: Toggle single / multi actie formulier
hide_action_form_title: Verberg nieuwe actie formulier
users:
openid_url_verified: Je hebt %{url} met succes geverifieerd als je identiteit en uw authenticatie type OpenID opgeslagen.
destroy_successful: Gebruiker %{login} met succes verwijderd
auth_type_update_error: "Er was een probleem met het bijwerken van uw authenticatietype: %{error_messages}"
total_contexts: Totaal aantal contexten
first_user_heading: "Welkom bij TRACKS. Om te beginnen, maak dan een admin account:"
successfully_deleted_user: Succesvol gebruiker %{username} verwijderd
failed_to_delete_user: Mislukt de gebruiker %{username} te verwijderen
openid_url_verified: Je hebt %{url} met succes geverifieerd als je identiteit en uw authenticatie type OpenID opgeslagen.
signup_successful: Aanmelding succesvol voor gebruiker %{username}.
new_token_generated: Nieuwe token met succes gegenereerd
total_projects: Totaal aantal projecten
signup_successful: Aanmelding succesvol voor gebruiker %{username}.
no_signups_title: "TRACKS:: Geen nieuwe aanmeldingen"
user_created: Gebruiker aangemaakt.
change_password_submit: Wachtwoord wijzigen
account_signup: Aanmelden voor een account
password_updated: Wachtwoord bijgewerkt.
manage_users: Beheren gebruikers
account_signup: Aanmelden voor een account
signup: Aanmelden
confirm_password: Bevestig wachtwoord
new_user_heading: "Registreer een nieuwe gebruiker:"
auth_type_updated: Authenticatietype bijgewerkt.
total_actions: Totaal aanal acties
desired_login: Gewenste login
confirm_password: Bevestig wachtwoord
destroy_error: Er is een fout opgetreden bij het verwijderen van de gebruiker '%{login}'
choose_password: Kies een wachtwoord
change_password_title: TRACKS::Wachtwoord wijzigen
change_auth_type_title: TRACKS::Wijzig authenticatietype
change_password_prompt: Voer uw nieuwe wachtwoord in de onderstaande velden in en kies 'Wachtwoord wijzigen' om uw huidige wachtwoord met uw nieuwe te vervangen.
password_confirmation_label: Bevestig wachtwoord
destroy_error: Er is een fout opgetreden bij het verwijderen van de gebruiker '%{login}'
label_auth_type: Authenticatietype
new_password_label: Nieuw wachtwoord
register_with_cas: Met uw CAS gebruikersnaam
total_users_count: Je hebt een totaal van %{count} gebruikers
new_user_title: "TRACKS:: Aanmelden als de admin gebruiker"
destroy_user: Verwijder de gebruiker
total_users_count: Je hebt een totaal van %{count} gebruikers
destroy_confirmation: "Waarschuwing: dit zal de gebruiker '%{login} verwijderen met al zijn acties, contexten, projecten en notities. Weet u zeker dat u wilt doorgaan?"
signup_new_user: Registreer nieuwe gebruiker
auth_change_submit: Wijzigen authenticatietype
identity_url: Identiteit URL
openid_ok_pref_failed: Je hebt succesvol de %{url} geverifieerd als je identiteit, maar er was een probleem met het opslaan van uw authenticatie voorkeuren.
change_authentication_type: Wijzigen authenticatietype
select_authentication_type: Selecteer uw nieuwe authenticatie type en klik op 'Wijzigen authenticatietype' om uw huidige instellingen te vervangen.
auth_change_submit: Wijzigen authenticatietype
openid_ok_pref_failed: Je hebt succesvol de %{url} geverifieerd als je identiteit, maar er was een probleem met het opslaan van uw authenticatie voorkeuren.
total_notes: Totaal aantal notities
feedlist:
actions_due_today: Acties die vandaag of eerder af moeten
choose_context: Kies de context waar je een feed van wilt
all_contexts: Alle contexten
rss_feed: RSS Feed
legend: Legenda
ical_feed: iCal feed
all_projects: Alle projecten
choose_project: Kies het project waar je een feed van wilt
select_feed_for_project: Kies de feed voor dit project
active_projects_wo_next: Actieve projecten zonder acties
project_needed: "Er moet ten minste \xC3\xA9\xC3\xA9n project zijn voor een feed opgevraagd kan worden"
active_starred_actions: Alle gesterde, actieve acties
context_needed: "Er moet eerst ten minste \xC3\xA9\xC3\xA9n context zijn voor je een feed kan opvragen"
select_feed_for_context: Kies de feed voor deze context
projects_and_actions: Actieve projecten met hun acties
notice_incomplete_only: "Merk op: alle feeds laten alleen acties zien die niet afgerond zijn, tenzij anders vermeld."
actions_due_next_week: Acties die binnen 7 dagen afgerond moeten
plain_text_feed: Reguliere tekst feed
last_fixed_number: Laatste %{number} acties
all_actions: Alle acties
actions_completed_last_week: Acties afgerond in de afgelopen 7 dagen
context_centric_actions: Feeds voor onafgeronde acties in een specifieke context
project_centric: Feeds voor onafgeronde acties in een specifiek project
select_authentication_type: Selecteer uw nieuwe authenticatie type en klik op 'Wijzigen authenticatietype' om uw huidige instellingen te vervangen.
contexts:
delete_context_title: Verwijder context
hide_form: Verberg formulier
show_form_title: Voeg een context toe
delete_context_confirmation: Weet u zeker dat u de context '%{name}' wilt verwijderen? Merk op dat dit ook alle (herhalende) acties in deze context zal verwijderen!
delete_context: Verwijder context
delete_context_confirmation: Weet u zeker dat u de context '%{name}' wilt verwijderen? Merk op dat dit ook alle (herhalende) acties in deze context zal verwijderen!
hide_form_title: "Verberg formulier voor nieuwe context "
edit_context: Bewerk context
hidden_contexts: Verborgen contexten
no_contexts_active: Momenteel zijn er geen actieve contexten
context_hide: Verberg van de start pagina?
add_context: Context toevoegen
visible_contexts: Zichtbare contexten
save_status_message: Context bewaard
show_form: Maak een nieuwe context
add_context: Context toevoegen
update_status_message: Naam van de context was veranderd
context_name: Context naam
status_active: Context is actief
new_context_post: "' zal ook gemaakt worden. Weet u dit zeker?"
no_contexts_hidden: Momenteel zijn er geen verborgen contexten
new_context_pre: Nieuwe context '
no_actions: Momenteel zijn er geen onafgeronde acties in deze context
last_completed_in_context: in deze context (laatste %{number})
context_deleted: De context '%{name}' is verwijderd
no_contexts_hidden: Momenteel zijn er geen verborgen contexten
status_hidden: Context is verborgen
feedlist:
actions_due_today: Acties die vandaag of eerder af moeten
choose_context: Kies de context waar je een feed van wilt
ical_feed: iCal feed
all_contexts: Alle contexten
rss_feed: RSS Feed
legend: Legenda
all_projects: Alle projecten
choose_project: Kies het project waar je een feed van wilt
project_needed: "Er moet ten minste \xC3\xA9\xC3\xA9n project zijn voor een feed opgevraagd kan worden"
select_feed_for_project: Kies de feed voor dit project
active_projects_wo_next: Actieve projecten zonder acties
active_starred_actions: Alle gesterde, actieve acties
context_needed: "Er moet eerst ten minste \xC3\xA9\xC3\xA9n context zijn voor je een feed kan opvragen"
select_feed_for_context: Kies de feed voor deze context
projects_and_actions: Actieve projecten met hun acties
actions_due_next_week: Acties die binnen 7 dagen afgerond moeten
notice_incomplete_only: "Merk op: alle feeds laten alleen acties zien die niet afgerond zijn, tenzij anders vermeld."
context_centric_actions: Feeds voor onafgeronde acties in een specifieke context
plain_text_feed: Reguliere tekst feed
last_fixed_number: Laatste %{number} acties
all_actions: Alle acties
actions_completed_last_week: Acties afgerond in de afgelopen 7 dagen
project_centric: Feeds voor onafgeronde acties in een specifiek project
sidebar:
list_name_active_contexts: Actieve contexten
list_name_active_projects: Actieve projecten
@ -797,32 +809,32 @@ nl:
login:
user_no_expiry: Blijf ingelogd
sign_in: Meld aan
openid_identity_url_not_found: Sorry, geen gebruiker met die identiteit URL bestaat (% {identity_url})
login_cas: Ga naar het CAS
openid_identity_url_not_found: Sorry, geen gebruiker met die identiteit URL bestaat (% {identity_url})
please_login: Log in om Tracks te gebruiken
cas_logged_in_greeting: Hallo, % {username}! U bent geauthenticeerd.
cas_no_user_found: Hallo,% {username}! Je hebt nog geen account op Tracks.
cas_login: CAS Inloggen
successful_with_session_info: "Login succesvol:"
please_login: Log in om Tracks te gebruiken
cas_username_not_found: Sorry, geen gebruiker met die CAS gebruikersnaam bestaat (% {username})
cas_create_account: Als u willen vragen ga hier om %{signup_link}
mobile_use_openid: ... if inloggen met een OpenID
cas_create_account: Als u willen vragen ga hier om %{signup_link}
account_login: Account login
cas_signup_link: Aanvragen account
session_will_not_expire: sessie zal niet verlopen.
successful: Succesvol aangemeld. Welkom terug!
option_separator: of,
session_time_out: Sessie is verlopen. Gelieve %{link}
session_will_expire: sessie zal verlopen na %{hours} u(u)r(en) van inactiviteit.
option_separator: of,
login_standard: Ga terug naar de standaard login
log_in_again: log opnieuw in.
logged_out: Je bent afgemeld bij Tracks.
login_with_openid: inloggen met een OpenID
unsuccessful: Login mislukt.
log_in_again: log opnieuw in.
search:
contexts_matching_query: Contexten passend bij zoekopdracht
tags_matching_query: Tags passend bij zoekopdracht
projects_matching_query: Projecten passend bij zoekopdracht
notes_matching_query: Notities passend bij zoekopdracht
no_results: Uw zoekopdracht heeft geen resultaten opgeleverd.
todos_matching_query: Todos passend bij zoekopdracht
projects_matching_query: Projecten passend bij zoekopdracht

View file

@ -12,12 +12,12 @@ Feature: Edit a next action from every page
Scenario: I can toggle the star of a todo
Given this is a pending scenario
@selenium @wip
@selenium
Scenario: I can delete a todo
Given I have a todo with description "delete me" in the context "@home"
Given I have a todo "delete me" in the context "@home"
When I go to the home page
Then I should see "delete me"
And I delete the todo
When I delete the action "delete me"
Then I should not see "delete me"
Scenario: Removing the last todo in context will hide context # delete, edit
@ -26,24 +26,25 @@ Feature: Edit a next action from every page
Scenario: Deleting the last todo in container will show empty message # only project, context, tag, not todo
Given this is a pending scenario
@selenium @wip
@selenium
Scenario Outline: I can mark an active todo complete and it will update empty messages
Given I have a context called "visible context"
And I have a project called "visible project"
When I go to the <page>
Then I should see "<empty message>"
When I submit a new action with description "visible todo" to project "visible project" with tags "test" in the context "visible context"
When I submit a new action with description "visible todo" to project "visible project" with tags "starred" in the context "visible context"
Then I should see "visible todo"
And I should not see "<empty message>"
When I mark the todo complete
Then I should not see "visible context"
When I mark "visible todo" as complete
And I should see "<empty message>"
And I should see "visible todo" in the completed todos container
And I should see "visible todo" in the completed container
Scenarios:
| page | empty message |
| tag page for "starred" | No actions found |
| home page | No actions found |
| context page for "visible context" | Currently there are no deferred or pending actions |
| project page for "visible project" | Currently there are no deferred or pending actions |
| page | empty message |
| "visible project" project | Currently there are no incomplete actions in this project |
| home page | Currently there are no incomplete actions |
| tag page for "starred" | No actions found |
| context page for "visible context" | Currently there are no incomplete actions in this context |
@selenium @wip
Scenario Outline: I can mark a deferred todo complete and it will update empty messages
@ -52,7 +53,7 @@ Feature: Edit a next action from every page
When I submit a new deferred action with description "visible todo" to project "visible project" with tags "test" in the context "visible context"
Then I should see "visible todo"
And I should not see "<empty message>"
When I mark the todo complete
When I mark "visible todo" complete
Then I should not see "visible context"
And I should see "<empty message>"
And I should see "visible todo" in the completed todos container
@ -63,10 +64,6 @@ Feature: Edit a next action from every page
| context page for "visible context" | Currently there are no deferred or pending actions |
| project page for "visible project" | Currently there are no deferred or pending actions |
@selenium @wip
Scenario: I can mark a deferred todo complete and it will update empty messages
Given this is a pending scenario
@selenium @wip
Scenario Outline: I can mark a completed todo active and it will update empty messages
Given I have a completed todo with description "visible todo" to project "visible project" with tags "test" in the context "visible context"

View file

@ -12,13 +12,13 @@ Feature: Edit a project
Scenario: I can go to the note of a project
Given I have a project "test" with 2 notes
When I visit the "test" project
When I go to the "test" project
When I click on the first note icon
Then I should go to that note page
@selenium
Scenario: I can describe the project using markup
When I visit the "manage me" project
When I go to the "manage me" project
And I edit the project description to "_successfull outcome_: project is *done*"
Then I should see the italic text "successfull outcome" in the project description
And I should see the bold text "done" in the project description
@ -26,7 +26,7 @@ Feature: Edit a project
@selenium
Scenario: I can edit the project name in place
Given I have a project "release tracks 1.8" with 1 todos
When I visit the project page for "release tracks 1.8"
When I go to the "release tracks 1.8" project
And I edit the project name in place to be "release tracks 2.0"
Then I should see the project name is "release tracks 2.0"
When I go to the projects page
@ -37,7 +37,7 @@ Feature: Edit a project
@selenium
Scenario: I can change the name of the project using the Edit Project Settings form
Given I have a project "bananas" with 1 todos
When I visit the "bananas" project
When I go to the "bananas" project
And I edit the project name to "cherries"
Then the project title should be "cherries"
@ -63,21 +63,21 @@ Feature: Edit a project
@selenium
Scenario: I can add a note to the project
Given I have a project called "test"
When I visit the "test" project
When I go to the "test" project
And I add a note "hello I'm testing" to the project
Then I should see one note in the project
@selenium
Scenario: Cancelling adding a note to the project will remove form
Given I have a project called "test"
When I visit the "test" project
When I go to the "test" project
And I cancel adding a note to the project
Then the form for adding a note should not be visible
@selenium
Scenario: Long notes in a project are shown cut off
Given I have a project called "test"
When I visit the "test" project
When I go to the "test" project
And I add a note "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890TOO LONG" to the project
Then I should not see "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890TOO LONG"
And I should see "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456"
@ -101,7 +101,7 @@ Feature: Edit a project
@selenium @wip
Scenario: I can move a todo out of the current project
Given I have a project "foo" with 2 todos
When I visit the "foo" project
When I go to the "foo" project
And I change the project_name field of "Todo 1" to "bar"
Then I should not see the todo "Todo 1"
And I should see the todo "Todo 2"

View file

@ -27,3 +27,10 @@ Then /^I should see the empty message in the deferred container$/ do
selenium.is_visible("xpath=//div[@id='tickler']//div[@id='tickler-empty-nd']")
end
end
Then /^I should not see the context "([^"]*)"$/ do |context_name|
context = @current_user.contexts.find_by_name(context_name)
wait_for :timeout => 5 do
!selenium.is_visible("xpath=//div[@id='c#{context.id}']")
end
end