Skip to content

Commit 0c1a378

Browse files
committed
Fixing fallout from rebase
1 parent b8acc55 commit 0c1a378

File tree

4 files changed

+32
-294
lines changed

4 files changed

+32
-294
lines changed

app/components/collections/row/component.html.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<div class="flex flex-col">
77
<div>
88
<span><%= @collection.title %></span>
9-
<span class="text-midnight-400"> #<%= @collection.version.tag %></span>
9+
</div>
10+
<div
11+
<span class="text-midnight-400"> #<%= @collection.version.tag %></span>
1012
</div>
1113
<div class="text-sm text-midnight-400">
1214
<% if @collection.interpolated? %>

app/components/saved_scenarios/row/component.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<div class="flex items-center flex-1 w-full">
66
<span class= "max-w-full truncate overflow-hidden flex-1"><%= @saved_scenario.title %></span>
77
</div>
8+
<div
9+
<span class="text-midnight-400"> #<%= @saved_scenario.version.tag %></span>
10+
</div>
811
<div class="text-sm text-midnight-400">
912
<span><%= t("areas.#{@saved_scenario.area_code}") %></span>
1013
<span><%= @saved_scenario.end_year %></span>

config/locales/en.yml

Lines changed: 15 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -9,169 +9,23 @@ en:
99
password: Password
1010
password_confirmation: Re-enter password
1111
unconfirmed_email: New e-mail address
12-
name: Your name
13-
scenario_invitation_mailer:
14-
invite_user:
15-
subject: 'Invitation: ETM scenario'
16-
roles:
17-
scenario_viewer: viewer
18-
scenario_collaborator: collaborator
19-
scenario_owner: owner
20-
sidebar:
21-
saved_scenarios: Scenarios
22-
collections: Collections
23-
discarded: Trash
24-
profile: My profile
25-
admin: Admin
26-
scenario_bar:
27-
info: Info
28-
history: History
29-
manage_access: Manage access
30-
edit:
31-
title: Edit
32-
description: Edit the title and description of this scenario
33-
discarded:
34-
true: Restore
35-
false: Discard
36-
description:
37-
true: Restore from the trash bin
38-
false: Move to trash. After %{deleted_after} days it will be permanently destroyed.
39-
private:
40-
true: Private
41-
false: Public
42-
description:
43-
true: Only people with access can view or copy this scenario
44-
false: |
45-
Anyone can view or copy this scenario, but only people with access can make changes
46-
featured:
47-
true: Featured
48-
false: Make this featured
49-
description:
50-
true: This scenario has been featured on a home page. Edit settings here.
51-
false: Feature this scenario on the home page
52-
destroy:
53-
title: Delete permanently
54-
description: Permanently delete this scenario.
55-
scenario:
56-
succesful_update: Your scenario was succesfully updated
57-
title: Title
58-
save: Save
59-
private: This scenario has been made private by the owner
60-
discard_changes: Discard changes
61-
no_description: This scenario has no description.
62-
create_description: Click here to create one.
63-
saved_scenario_users:
64-
manage_description:
65-
Here you can manage who has access to your scenario and in which manner.
66-
Click the 'Invite others' button to give someone access to your scenario,
67-
or use the table above to manage users that are already coupled. <br/><br/>
68-
See the
69-
<a class="underline hover:text-midnight-800" href="https://docs.energytransitionmodel.com/main/user_manual/managing-scenarios/scenario-manage-access/" target=\"_blank\">
70-
documentation</a> for more information.
71-
invite: 'Invite others'
72-
send_invite: Send invite
73-
name: 'Name'
74-
role: 'Role'
75-
you: 'you'
76-
unknown: 'Unknown user'
77-
nameless: 'Nameless user'
78-
roles:
79-
scenario_owner: 'Owner'
80-
scenario_collaborator: 'Collaborator'
81-
scenario_viewer: 'Viewer'
82-
pending: 'Pending'
83-
new:
84-
title: 'Give someone access to your scenario'
85-
new_email_hint:
86-
If no existing user can be found for the given email address we will send an email
87-
inviting this person to create an account for the ETM.
88-
email: 'Email address'
89-
role: Role
90-
role_hint: Pick the type of access you want to grant.
91-
confirm_destroy:
92-
irreversible: This action is irreversible
93-
warning: "You are about to revoke %{role} access."
94-
confirm: 'Confirm'
95-
cancel: 'Cancel'
96-
not_possible: 'You can not revoke your own access.'
97-
button: 'Revoke access'
98-
errors:
99-
create: Something went wrong while trying create the invite!
100-
base: Please enter an email address.
101-
user_email: The e-mail address you entered was invalid.
102-
update: Something went wrong while trying to update this role!
103-
destroy: Something went wrong while trying to remove the user from the scenario!
104-
general: Please try again later. If you keep getting this error, please contact us.
105-
duplicate: This person is already invited to join the scenario.
106-
saved_scenario_history:
107-
description: |
108-
Here you can see the history of your saved scenario. A description can be added to each historical version.
109-
When you are owner of this scenario, you can reset the scenario to an older stage. See the
110-
<a class="underline hover:text-midnight-800" href="https://docs.energytransitionmodel.com/main/user_manual/managing-scenarios/scenario-version-history" target=\"_blank\">
111-
documentation</a> for more information.
112-
title: History
113-
error: Something went wrong updating the history of your scenario
114-
history:
115-
row:
116-
component:
117-
update: 'Update'
118-
cancel: 'Cancel'
119-
restore: 'Restore'
120-
edit_description: |
121-
Edit the description of this saved version. Save your notes on what you have changed.
122-
restore_description: |
123-
Restore the saved scenario to this version. This action is irreversible.
124-
empty_message: No description
125-
saved_scenarios:
126-
title: Saved scenarios
127-
empty: You don't have any scenarios.
128-
search_by_title: Filter by title
129-
open: Open
130-
confirm_destroy:
131-
title: Permanently deleting scenario
132-
warning_header: You are permanently deleting your scenario
133-
warning: |
134-
Deleting this scenario will remove all data including history,
135-
any grants for access, title and description.
136-
irreversible: This action is irreversible
137-
submit: Delete this scenario
138-
featured_scenarios:
139-
confirm_destroy:
140-
title: Unfeaturing scenario
141-
warning_header: You are removing all featured settings
142-
warning: |
143-
Unfeaturing this scenario will remove the localised title and
144-
description, and remove the scenario from the homepage.
145-
The title and dscription will default back to their
146-
original settings from before the featuring.
147-
irreversible: This action is irreversible
148-
submit: Confirm unfeaturing
149-
150-
trash:
151-
title: Trash bin
152-
notice: Scenarios in the trash will be automatically deleted after %{deleted_after} days.
153-
discarded_flash: Your scenario was put in the trash
154-
undiscarded_flash: Your scenario was restored
155-
deleted_flash: Your scenario has been permanently deleted
156-
empty:
157-
title:
158-
There are no items in the trash
159-
description:
160-
Deleted items are sent to the trash where you can choose to permanently
161-
delete or restore them. Trashed scenarios are automatically removed after %{deleted_after}
162-
days.
163-
flash:
164-
need_login: Please log in again
165-
version:
166-
latest: |
167-
This scenario was created in the live version of the ETM
168-
which includes all the latest monthly updates. Learn more..
16912
collections:
170-
title: Collections
171-
no_title: Untitled collection
172-
failure: Something went wrong!
17313
all: View all collections
174-
open: Open collection
14+
block_right:
15+
compose_collection:
16+
description: Create a new collection from your saved scenarios
17+
title: New scenario collection
18+
create_transition:
19+
description: |
20+
Pick one of your 2050 scenarios to interpolate into scenarios
21+
for 2030 and 2040
22+
title: New transition path
23+
confirm_destroy:
24+
irreversible: This action is irreversible
25+
submit: Delete this collection
26+
title: Permanently deleting collection
27+
warning: Deleting will remove all references to this collection.
28+
warning_header: You are permanently deleting your collection
17529
contains: This collection contains the following scenarios
17630
failure: Something went wrong!
17731
filter:

config/locales/nl.yml

Lines changed: 11 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -9,138 +9,17 @@ nl:
99
password: Wachtwoord
1010
password_confirmation: Voer wachtwoord nogmaals in
1111
unconfirmed_email: Nieuw e-mailadres
12-
name: Jouw naam
13-
scenario_invitation_mailer:
14-
invite_user:
15-
subject: 'Uitnodiging: ETM scenario'
16-
roles:
17-
scenario_viewer: gast
18-
scenario_collaborator: bewerker
19-
scenario_owner: eigenaar
20-
user:
21-
forgot_password:
22-
mail:
23-
subject: "Reset Je Wachtwoord"
24-
body:
25-
header: "Wachtwoord Reset Aanvraag"
26-
message: "Iemand heeft gevraagd om een link om je wachtwoord te wijzigen. Je kunt dit doen via de onderstaande link."
27-
button_text: "Wijzig Mijn Wachtwoord"
28-
link_message: "Als de knop niet werkt, kopieer en plak de onderstaande link in je browser:"
29-
ignore_message: "Als je deze aanvraag niet hebt gedaan, kun je deze e-mail negeren."
30-
no_change_message: "Je wachtwoord wordt niet gewijzigd totdat je de bovenstaande link opent en een nieuw wachtwoord aanmaakt."
31-
search_by_name: Zoeken op naam
32-
all: Alle gebruikers weergeven (%{count})
33-
sidebar:
34-
saved_scenarios: Scenario's
35-
collections: Collecties
36-
discarded: Prullenbak
37-
profile: Mijn profiel
38-
admin: Admin
39-
scenario_bar:
40-
info: Info
41-
history: Geschiedenis
42-
manage_access: Beheer toegang
43-
edit:
44-
title: Pas aan
45-
description: Pas titel en beschrijving aan van dit scenario
46-
discarded:
47-
true: Herstel
48-
false: Verwijder
49-
description:
50-
true: Herstel van prullenbak
51-
false: Verplaats naar prullenbak. Na %{deleted_after} dagen wordt deze permanent verwijderd.
52-
private:
53-
true: Privé
54-
false: Openbaar
55-
description:
56-
true: Alleen mensen met toegang kunnen dit scenario bekijken of kopieëren
57-
false: |
58-
Iedereen kan dit scenario bekijken of kopieëren, maar alleen mensen met toegang kunnen veranderingen doen
59-
featured:
60-
true: Uitgelicht
61-
false: Maak uitgelicht
62-
description:
63-
true: Dit scenario staat uitgelicht op de startpagina. Bewerk instellingen hier.
64-
false: Maak dit scenario uitgelicht op de startpagina.
65-
destroy:
66-
title: Permanent verwijderen
67-
description: Verwijder dit scenario permanent.
68-
scenario:
69-
succesful_update: Je scenario is succesvol bijgewerkt
70-
title: Titel
71-
save: Opslaan
72-
private: Dit scenario is privé gemaakt door de eigenaar
73-
discard_changes: Verwijder wijzigingen
74-
no_description: Dit scenario heeft geen beschrijving.
75-
create_description: Klik hier om er één aan te maken.
76-
saved_scenario_users:
77-
manage_description:
78-
Hier kun je beheren wie toegang heeft tot jouw scenario en op welke manier.
79-
Klik op 'Anderen uitnodigen' om iemand toegang te geven tot jouw scenario of
80-
gebruik bovenstaande tabel om gekoppelde gebruikers te beheren.<br/><br/>
81-
Zie de
82-
<a class="underline hover:text-midnight-800" href="https://docs.energytransitionmodel.com/main/user_manual/managing-scenarios/scenario-access-management/" target=\"_blank\">
83-
documentatie</a> voor meer informatie.
84-
invite: 'Anderen uitnodigen'
85-
send_invite: Stuur uitnodiging
86-
name: 'Naam'
87-
role: 'Rol'
88-
you: 'jij'
89-
unknown: 'Onbekende gebruiker'
90-
nameless: 'Naamloze gebruiker'
91-
roles:
92-
scenario_owner: 'Eigenaar'
93-
scenario_collaborator: 'Bewerker'
94-
scenario_viewer: 'Gast'
95-
pending: 'In afwachting'
96-
new:
97-
title: 'Geef iemand toegang to jouw scenario'
98-
new_email_hint:
99-
Als er geen bestaande gebruiker wordt gevonden voor het opgegeven e-mailadres,
100-
wordt er een e-mail gestuurd op deze persoon uit te nodigen een aacount aan
101-
te amken voor het ETM.
102-
email: 'E-mailadres'
103-
role: Rol
104-
role_hint: Kies het type toegang dat je wilt verlenen.
105-
confirm_destroy:
106-
irreversible: Deze handeling is onomkeerbaar
107-
warning: "Je staat op het punt om de toegang %{role} in te trekken."
108-
confirm: 'Bevestig'
109-
cancel: 'Annuleer'
110-
not_possible: 'Je kan niet je eigen toegang intrekken.'
111-
button: 'Toegang intrekken'
112-
errors:
113-
create: Er ging iets mis bij het maken van de uitnodiging!
114-
base: Geef een e-mailadres op
115-
user_email: Het ingevoerde e-mailadres is ongeldig.
116-
update: Er ging iets mis in het bijwerken van deze rol!
117-
destroy: Er ging iets mis bij het verwijderen van de gebruiker van het scenario!
118-
general: Probeer het later nog eens. Neem contact met ons op als je deze foutmelding blijft krijgen.
119-
duplicate: Deze persoon is al uitgenodigd voor dit scenario.
120-
saved_scenario_history:
121-
description: |
122-
Here you can see the history of your saved scenario. A description can be added to each historical version.
123-
When you are owner of this scenario, you can reset the scenario to an older stage. See the
124-
<a class="underline hover:text-midnight-800" href="https://docs.energytransitionmodel.com/main/user_manual/managing-scenarios/scenario-version-history" target=\"_blank\">
125-
documentation</a> for more information.
126-
title: History
127-
error: Something went wrong updating the history of your scenario
128-
history:
129-
row:
130-
component:
131-
update: 'Update'
132-
cancel: 'Cancel'
133-
restore: 'Restore'
134-
edit_description: |
135-
Edit the description of this saved version. Save your notes on what you have changed.
136-
restore_description: |
137-
Restore the saved scenario to this version. This action is irreversible.
138-
empty_message: Geen beschrijving
139-
saved_scenarios:
140-
title: Opgeslagen scenario's
141-
empty: Je hebt nog geen scenario's.
142-
search_by_title: Filter op titel
143-
open: Open
12+
collections:
13+
all: Bekijk alle collecties
14+
block_right:
15+
compose_collection:
16+
description: Maak een collectie van je opgeslagen scenario's
17+
title: Nieuwe collectie
18+
create_transition:
19+
description: |
20+
Kies een 2050 scenario om te interpoleren naar scenario's voor
21+
2030 en 2040
22+
title: Nieuw transitiepad
14423
confirm_destroy:
14524
irreversible: Deze handeling is onomkeerbaar
14625
submit: Verwijder deze collectie

0 commit comments

Comments
 (0)