From e538460733b25f169e87e8456c2e273b234625df Mon Sep 17 00:00:00 2001 From: endoooo Date: Mon, 29 Jan 2024 14:22:28 -0300 Subject: [PATCH] feat: added pt-br translations to activity live view - fixed fkey constraints in delete changeset for `Activity` and `Strand` schemas --- lib/lanttern/learning_context/activity.ex | 5 +- lib/lanttern/learning_context/strand.ex | 8 +- .../strands/activity/id/activity_live.ex | 6 +- .../activity/id/activity_live.html.heex | 28 ++-- .../activity/id/assessment_component.ex | 50 +++--- .../strands/activity/id/details_component.ex | 2 +- .../strands/activity/id/notes_component.ex | 22 +-- .../live/pages/strands/id/strand_live.ex | 4 +- priv/gettext/default.pot | 147 +++++++++++++++++- priv/gettext/en/LC_MESSAGES/default.po | 147 +++++++++++++++++- priv/gettext/pt_BR/LC_MESSAGES/default.po | 147 +++++++++++++++++- 11 files changed, 497 insertions(+), 69 deletions(-) diff --git a/lib/lanttern/learning_context/activity.ex b/lib/lanttern/learning_context/activity.ex index a339265e..cd3f1b41 100644 --- a/lib/lanttern/learning_context/activity.ex +++ b/lib/lanttern/learning_context/activity.ex @@ -2,6 +2,7 @@ defmodule Lanttern.LearningContext.Activity do use Ecto.Schema import Ecto.Changeset + import LantternWeb.Gettext import Lanttern.SchemaHelpers schema "activities" do @@ -37,8 +38,8 @@ defmodule Lanttern.LearningContext.Activity do |> cast(%{}, []) |> foreign_key_constraint( :id, - name: :activities_assessment_points_activity_id_fkey, - message: "Activity has linked assessment points." + name: :assessment_points_activity_id_fkey, + message: gettext("Activity has linked assessment points.") ) end end diff --git a/lib/lanttern/learning_context/strand.ex b/lib/lanttern/learning_context/strand.ex index 353d0814..8b87f941 100644 --- a/lib/lanttern/learning_context/strand.ex +++ b/lib/lanttern/learning_context/strand.ex @@ -2,6 +2,7 @@ defmodule Lanttern.LearningContext.Strand do use Ecto.Schema import Ecto.Changeset + import LantternWeb.Gettext import Lanttern.SchemaHelpers schema "strands" do @@ -43,7 +44,12 @@ defmodule Lanttern.LearningContext.Strand do |> foreign_key_constraint( :id, name: :activities_strand_id_fkey, - message: "Strand has linked activities." + message: gettext("Strand has linked activities.") + ) + |> foreign_key_constraint( + :id, + name: :assessment_points_strand_id_fkey, + message: gettext("Strand has linked assessment points.") ) end end diff --git a/lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex b/lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex index 3f1e49dc..fdbb870b 100644 --- a/lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex +++ b/lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex @@ -76,7 +76,7 @@ defmodule LantternWeb.ActivityLive do ) do activity when is_nil(activity) -> socket - |> put_flash(:error, "Couldn't find activity") + |> put_flash(:error, gettext("Couldn't find activity")) |> redirect(to: ~p"/strands") activity -> @@ -95,7 +95,7 @@ defmodule LantternWeb.ActivityLive do {:ok, _activity} -> {:noreply, socket - |> put_flash(:info, "Activity deleted") + |> put_flash(:info, gettext("Activity deleted")) |> push_navigate(to: ~p"/strands/#{socket.assigns.activity.strand}?tab=activities")} {:error, _changeset} -> @@ -103,7 +103,7 @@ defmodule LantternWeb.ActivityLive do socket |> put_flash( :error, - "Activity has linked assessments. Deleting it would cause some data loss." + gettext("Activity has linked assessments. Deleting it would cause some data loss.") )} end end diff --git a/lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex b/lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex index 50937401..84a19d61 100644 --- a/lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex +++ b/lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex @@ -6,9 +6,9 @@ <:top>
<.breadcrumbs class="mt-2" item_class="text-white"> - <:item link={~p"/strands"}>Strands - <:item link={~p"/strands/#{@activity.strand}"}>Details - <:item>Activity + <:item link={~p"/strands"}><%= gettext("Strands") %> + <:item link={~p"/strands/#{@activity.strand}"}><%= gettext("Details") %> + <:item><%= gettext("Activity") %> <.nav_menu_button />
@@ -24,7 +24,9 @@

<%= @activity.name %>

- <.badge :for={subject <- @activity.subjects} theme="dark"><%= subject.name %> + <.badge :for={subject <- @activity.subjects} theme="dark"> + <%= Gettext.dgettext(LantternWeb.Gettext, "taxonomy", subject.name) %> +
@@ -34,20 +36,20 @@ patch={~p"/strands/activity/#{@activity}?#{%{tab: "details"}}"} is_current={@current_tab == :details && "true"} > - Details & Curriculum + <%= gettext("Details & Curriculum") %> <:tab patch={~p"/strands/activity/#{@activity}?#{%{tab: "assessment"}}"} is_current={@current_tab == :assessment && "true"} > - Assessment + <%= gettext("Assessment") %> <:tab patch={~p"/strands/activity/#{@activity}?#{%{tab: "notes"}}"} is_current={@current_tab == :notes && "true"} icon_name="hero-eye-slash" > - My notes + <%= gettext("My notes") %> <.menu_button id={"activity-#{@activity.id}"}> @@ -56,15 +58,15 @@ id={"edit-activity-#{@activity.id}"} phx-click={JS.patch(~p"/strands/activity/#{@activity}/edit")} > - Edit activity + <%= gettext("Edit activity") %> <.menu_button_item id={"remove-activity-#{@activity.id}"} class="text-red-500" phx-click="delete_activity" - data-confirm="Are you sure?" + data-confirm={gettext("Are you sure?")} > - Delete + <%= gettext("Delete") %> @@ -101,7 +103,7 @@ show={true} on_cancel={JS.patch(~p"/strands/activity/#{@activity}")} > - <:title>Edit activity + <:title><%= gettext("Edit activity") %> <.live_component module={ActivityFormComponent} id={@activity.id} @@ -116,10 +118,10 @@ theme="ghost" phx-click={JS.exec("data-cancel", to: "#activity-form-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="submit" form="activity-form"> - Save + <%= gettext("Save") %> diff --git a/lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex b/lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex index af577582..733cdec2 100644 --- a/lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex +++ b/lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex @@ -18,7 +18,7 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do
<%= if @classes do %>

- Assessing + <%= gettext("Assessing") %> - to assess students + <%= gettext("to assess students") %>

<% end %>
@@ -48,27 +48,27 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do phx-click={JS.exec("data-show", to: "#activity-assessment-points-order-overlay")} icon_name="hero-arrows-up-down" > - Reorder + <%= gettext("Reorder") %> <.collection_action type="link" patch={~p"/strands/activity/#{@activity}/assessment_point/new"} icon_name="hero-plus-circle" > - Create assessment point + <%= gettext("Create assessment point") %>
<%!-- if no assessment points, render empty state --%>
- <.empty_state>No assessment points for this activity yet + <.empty_state><%= gettext("No assessment points for this activity yet") %>
<%!-- if no class filter is select, just render assessment points --%>
0} class="p-10 mt-4 rounded shadow-xl bg-white" > -

Current assessment points

+

<%= gettext("Current assessment points") %>

  1. - <:title>Assessment Point + <:title><%= gettext("Assessment Point") %> <.live_component module={AssessmentPointFormComponent} id={Map.get(@assessment_point, :id) || :new} @@ -142,10 +142,10 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do type="button" phx-click="delete_assessment_point_and_entries" phx-target={@myself} - data-confirm="Are you sure?" + data-confirm={gettext("Are you sure?")} class="mt-4 font-display font-bold underline" > - Understood. Delete anyway + <%= gettext("Understood. Delete anyway") %>
@@ -164,9 +164,9 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do theme="ghost" phx-click="delete_assessment_point" phx-target={@myself} - data-confirm="Are you sure?" + data-confirm={gettext("Are you sure?")} > - Delete + <%= gettext("Delete") %> <:actions> @@ -175,15 +175,15 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do theme="ghost" phx-click={JS.exec("data-cancel", to: "#assessment-point-form-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="submit" form="assessment-point-form" phx-disable-with="Saving..."> - Save + <%= gettext("Save") %> <.slide_over id="classes-filter-overlay"> - <:title>Classes + <:title><%= gettext("Classes") %> <.live_component module={ClassFilterFormComponent} id={:filter} @@ -203,19 +203,19 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do theme="ghost" phx-click={JS.exec("data-cancel", to: "#classes-filter-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="submit" form="class-filter-form" phx-click={JS.exec("data-cancel", to: "#classes-filter-overlay")} > - Select + <%= gettext("Select") %> <.slide_over :if={@assessment_points_count > 1} id="activity-assessment-points-order-overlay"> - <:title>Assessment Points Order + <:title><%= gettext("Assessment Points Order") %>
  1. <.icon_button type="button" - sr_text="Move assessment point up" + sr_text={gettext("Move assessment point up")} name="hero-chevron-up-mini" theme="ghost" rounded @@ -239,7 +239,7 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do /> <.icon_button type="button" - sr_text="Move assessment point down" + sr_text={gettext("Move assessment point down")} name="hero-chevron-down-mini" theme="ghost" rounded @@ -257,10 +257,10 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do theme="ghost" phx-click={JS.exec("data-cancel", to: "#activity-assessment-points-order-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="button" phx-click="save_order" phx-target={@myself}> - Save + <%= gettext("Save") %> @@ -434,7 +434,9 @@ defmodule LantternWeb.ActivityLive.AssessmentComponent do {:error, _changeset} -> # we may have more error types, but for now we are handling only this one message = - "This assessment point already have some entries. Deleting it will cause data loss." + gettext( + "This assessment point already have some entries. Deleting it will cause data loss." + ) {:noreply, socket |> assign(:delete_assessment_point_error, message)} end diff --git a/lib/lanttern_web/live/pages/strands/activity/id/details_component.ex b/lib/lanttern_web/live/pages/strands/activity/id/details_component.ex index 4b5ae316..3f266f06 100644 --- a/lib/lanttern_web/live/pages/strands/activity/id/details_component.ex +++ b/lib/lanttern_web/live/pages/strands/activity/id/details_component.ex @@ -8,7 +8,7 @@ defmodule LantternWeb.ActivityLive.DetailsComponent do ~H"""
    <.markdown text={@activity.description} /> -

    Curriculum

    +

    <%= gettext("Curriculum") %>

    <.badge theme="dark"><%= curriculum_item.curriculum_component.name %>

    <%= curriculum_item.name %>

    diff --git a/lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex b/lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex index b30f064d..e220706b 100644 --- a/lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex +++ b/lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex @@ -16,7 +16,7 @@ defmodule LantternWeb.ActivityLive.NotesComponent do name={@form[:description].name} value={@form[:description].value} errors={@form[:description].errors} - label="Add your notes..." + label={gettext("Add your notes...")} rows="10" > <:actions_left :if={@note}> @@ -25,17 +25,17 @@ defmodule LantternWeb.ActivityLive.NotesComponent do theme="ghost" phx-click="delete" phx-target={@myself} - data-confirm="Are you sure?" + data-confirm={gettext("Are you sure?")} > - Delete note + <%= gettext("Delete note") %> <:actions> <.button type="button" theme="ghost" phx-click="cancel_edit" phx-target={@myself}> - Cancel + <%= gettext("Cancel") %> <.button type="submit"> - Save + <%= gettext("Save") %> @@ -44,14 +44,18 @@ defmodule LantternWeb.ActivityLive.NotesComponent do <% else %> <%= if @note do %>
    -

    My activity notes (visible only to you)

    +

    + <%= gettext("My activity notes (visible only to you)") %> +

    <.button type="button" theme="ghost" phx-click="edit" phx-target={@myself}> - Edit + <%= gettext("Edit") %>
    <.markdown text={@note.description} /> <% else %> - <.empty_state>You don't have any notes for this activity yet + <.empty_state> + <%= gettext("You don't have any notes for this activity yet") %> +
    <% end %> diff --git a/lib/lanttern_web/live/pages/strands/id/strand_live.ex b/lib/lanttern_web/live/pages/strands/id/strand_live.ex index 93aff010..f8e5f9db 100644 --- a/lib/lanttern_web/live/pages/strands/id/strand_live.ex +++ b/lib/lanttern_web/live/pages/strands/id/strand_live.ex @@ -109,7 +109,9 @@ defmodule LantternWeb.StrandLive do socket |> put_flash( :error, - gettext("Strand has linked activities. Deleting it would cause some data loss.") + gettext( + "Strand has linked activities and/or assessment points (goals). Deleting it would cause some data loss." + ) )} end end diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 1abac9ef..25efabef 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -22,6 +22,7 @@ msgstr "" msgid "Assessment points" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/details_component.ex:11 #: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:45 #: lib/lanttern_web/live/shared/menu_component.ex:32 #, elixir-autogen, elixir-format @@ -43,6 +44,7 @@ msgstr "" msgid "School" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:9 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:5 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:2 #: lib/lanttern_web/live/shared/menu_component.ex:20 @@ -92,6 +94,11 @@ msgstr "" msgid "Applying filters..." msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:121 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:178 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:206 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:260 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:35 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:146 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:89 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:155 @@ -141,6 +148,10 @@ msgstr "" msgid "No strands created for selected years and subjects" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:124 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:181 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:263 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:38 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:149 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:92 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:158 @@ -329,6 +340,7 @@ msgstr "" msgid "Activities" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:45 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:34 #, elixir-autogen, elixir-format msgid "Assessment" @@ -339,6 +351,8 @@ msgstr "" msgid "Couldn't find strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:69 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:169 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:137 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:64 #: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:229 @@ -346,6 +360,7 @@ msgstr "" msgid "Delete" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:10 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:6 #, elixir-autogen, elixir-format msgid "Details" @@ -357,6 +372,7 @@ msgstr "" msgid "Edit strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:52 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:47 #, elixir-autogen, elixir-format msgid "My notes" @@ -367,11 +383,6 @@ msgstr "" msgid "Strand deleted" msgstr "" -#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:112 -#, elixir-autogen, elixir-format -msgid "Strand has linked activities. Deleting it would cause some data loss." -msgstr "" - #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:64 #, elixir-autogen, elixir-format msgid "Add a strand note" @@ -392,19 +403,26 @@ msgstr "" msgid "Add strand goal" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:19 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:19 #, elixir-autogen, elixir-format msgid "Add your notes..." msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:67 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:145 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:167 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:28 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:113 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:135 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:28 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:62 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:227 #, elixir-autogen, elixir-format msgid "Are you sure?" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:186 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:102 #: lib/lanttern_web/live/shared/schools/class_filter_form_component.ex:19 #, elixir-autogen, elixir-format @@ -416,11 +434,13 @@ msgstr "" msgid "Create new activity" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:71 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:53 #, elixir-autogen, elixir-format msgid "Current assessment points" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:30 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:30 #, elixir-autogen, elixir-format msgid "Delete note" @@ -436,6 +456,7 @@ msgstr "" msgid "Differentiation for %{name}" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:57 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:265 @@ -498,6 +519,7 @@ msgstr "" msgid "Other notes in this strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:25 #, elixir-autogen, elixir-format msgid "Reorder" @@ -518,11 +540,13 @@ msgstr "" msgid "Save updated order" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:213 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:129 #, elixir-autogen, elixir-format msgid "Select" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:39 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:38 #, elixir-autogen, elixir-format msgid "Select a class" @@ -553,6 +577,7 @@ msgstr "" msgid "Under the hood, goals in Lanttern are defined by assessment points linked directly to the strand — when adding goals, we are adding assessment points which, in turn, hold the curriculum items we'll want to assess along the strand course." msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:148 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:116 #, elixir-autogen, elixir-format msgid "Understood. Delete anyway" @@ -574,6 +599,7 @@ msgstr "" msgid "collapse" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:157 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:125 #, elixir-autogen, elixir-format msgid "dismiss" @@ -707,3 +733,114 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Markdown supported in descriptors" msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:11 +#, elixir-autogen, elixir-format +msgid "Activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:98 +#, elixir-autogen, elixir-format +msgid "Activity deleted" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:106 +#, elixir-autogen, elixir-format +msgid "Activity has linked assessments. Deleting it would cause some data loss." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Add an activity note" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:21 +#, elixir-autogen, elixir-format +msgid "Assessing" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:126 +#, elixir-autogen, elixir-format +msgid "Assessment Point" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:218 +#, elixir-autogen, elixir-format +msgid "Assessment Points Order" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:79 +#, elixir-autogen, elixir-format +msgid "Couldn't find activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:58 +#, elixir-autogen, elixir-format +msgid "Create assessment point" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:39 +#, elixir-autogen, elixir-format +msgid "Details & Curriculum" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:61 +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:106 +#, elixir-autogen, elixir-format +msgid "Edit activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:242 +#, elixir-autogen, elixir-format +msgid "Move assessment point down" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:231 +#, elixir-autogen, elixir-format +msgid "Move assessment point up" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:48 +#, elixir-autogen, elixir-format +msgid "My activity notes (visible only to you)" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:64 +#, elixir-autogen, elixir-format +msgid "No assessment points for this activity yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:437 +#, elixir-autogen, elixir-format +msgid "This assessment point already have some entries. Deleting it will cause data loss." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:57 +#, elixir-autogen, elixir-format +msgid "You don't have any notes for this activity yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:41 +#, elixir-autogen, elixir-format +msgid "to assess students" +msgstr "" + +#: lib/lanttern/learning_context/activity.ex:42 +#, elixir-autogen, elixir-format +msgid "Activity has linked assessment points." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:112 +#, elixir-autogen, elixir-format +msgid "Strand has linked activities and/or assessment points (goals). Deleting it would cause some data loss." +msgstr "" + +#: lib/lanttern/learning_context/strand.ex:47 +#, elixir-autogen, elixir-format +msgid "Strand has linked activities." +msgstr "" + +#: lib/lanttern/learning_context/strand.ex:52 +#, elixir-autogen, elixir-format +msgid "Strand has linked assessment points." +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index 042ab9e1..b69aacb8 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -22,6 +22,7 @@ msgstr "" msgid "Assessment points" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/details_component.ex:11 #: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:45 #: lib/lanttern_web/live/shared/menu_component.ex:32 #, elixir-autogen, elixir-format @@ -43,6 +44,7 @@ msgstr "" msgid "School" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:9 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:5 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:2 #: lib/lanttern_web/live/shared/menu_component.ex:20 @@ -92,6 +94,11 @@ msgstr "" msgid "Applying filters..." msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:121 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:178 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:206 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:260 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:35 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:146 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:89 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:155 @@ -141,6 +148,10 @@ msgstr "" msgid "No strands created for selected years and subjects" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:124 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:181 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:263 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:38 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:149 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:92 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:158 @@ -329,6 +340,7 @@ msgstr "" msgid "Activities" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:45 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:34 #, elixir-autogen, elixir-format, fuzzy msgid "Assessment" @@ -339,6 +351,8 @@ msgstr "" msgid "Couldn't find strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:69 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:169 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:137 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:64 #: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:229 @@ -346,6 +360,7 @@ msgstr "" msgid "Delete" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:10 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:6 #, elixir-autogen, elixir-format msgid "Details" @@ -357,6 +372,7 @@ msgstr "" msgid "Edit strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:52 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:47 #, elixir-autogen, elixir-format msgid "My notes" @@ -367,11 +383,6 @@ msgstr "" msgid "Strand deleted" msgstr "" -#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:112 -#, elixir-autogen, elixir-format -msgid "Strand has linked activities. Deleting it would cause some data loss." -msgstr "" - #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:64 #, elixir-autogen, elixir-format msgid "Add a strand note" @@ -392,19 +403,26 @@ msgstr "" msgid "Add strand goal" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:19 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:19 #, elixir-autogen, elixir-format msgid "Add your notes..." msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:67 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:145 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:167 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:28 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:113 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:135 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:28 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:62 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:227 #, elixir-autogen, elixir-format msgid "Are you sure?" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:186 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:102 #: lib/lanttern_web/live/shared/schools/class_filter_form_component.ex:19 #, elixir-autogen, elixir-format @@ -416,11 +434,13 @@ msgstr "" msgid "Create new activity" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:71 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:53 #, elixir-autogen, elixir-format msgid "Current assessment points" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:30 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:30 #, elixir-autogen, elixir-format, fuzzy msgid "Delete note" @@ -436,6 +456,7 @@ msgstr "" msgid "Differentiation for %{name}" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:57 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:265 @@ -498,6 +519,7 @@ msgstr "" msgid "Other notes in this strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:25 #, elixir-autogen, elixir-format msgid "Reorder" @@ -518,11 +540,13 @@ msgstr "" msgid "Save updated order" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:213 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:129 #, elixir-autogen, elixir-format, fuzzy msgid "Select" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:39 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:38 #, elixir-autogen, elixir-format msgid "Select a class" @@ -553,6 +577,7 @@ msgstr "" msgid "Under the hood, goals in Lanttern are defined by assessment points linked directly to the strand — when adding goals, we are adding assessment points which, in turn, hold the curriculum items we'll want to assess along the strand course." msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:148 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:116 #, elixir-autogen, elixir-format msgid "Understood. Delete anyway" @@ -574,6 +599,7 @@ msgstr "" msgid "collapse" msgstr "" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:157 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:125 #, elixir-autogen, elixir-format msgid "dismiss" @@ -707,3 +733,114 @@ msgstr "" #, elixir-autogen, elixir-format, fuzzy msgid "Markdown supported in descriptors" msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:11 +#, elixir-autogen, elixir-format, fuzzy +msgid "Activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:98 +#, elixir-autogen, elixir-format +msgid "Activity deleted" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:106 +#, elixir-autogen, elixir-format, fuzzy +msgid "Activity has linked assessments. Deleting it would cause some data loss." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Add an activity note" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:21 +#, elixir-autogen, elixir-format, fuzzy +msgid "Assessing" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:126 +#, elixir-autogen, elixir-format, fuzzy +msgid "Assessment Point" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:218 +#, elixir-autogen, elixir-format, fuzzy +msgid "Assessment Points Order" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:79 +#, elixir-autogen, elixir-format, fuzzy +msgid "Couldn't find activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:58 +#, elixir-autogen, elixir-format, fuzzy +msgid "Create assessment point" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:39 +#, elixir-autogen, elixir-format +msgid "Details & Curriculum" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:61 +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:106 +#, elixir-autogen, elixir-format +msgid "Edit activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:242 +#, elixir-autogen, elixir-format +msgid "Move assessment point down" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:231 +#, elixir-autogen, elixir-format +msgid "Move assessment point up" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:48 +#, elixir-autogen, elixir-format, fuzzy +msgid "My activity notes (visible only to you)" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:64 +#, elixir-autogen, elixir-format, fuzzy +msgid "No assessment points for this activity yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:437 +#, elixir-autogen, elixir-format, fuzzy +msgid "This assessment point already have some entries. Deleting it will cause data loss." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:57 +#, elixir-autogen, elixir-format, fuzzy +msgid "You don't have any notes for this activity yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:41 +#, elixir-autogen, elixir-format +msgid "to assess students" +msgstr "" + +#: lib/lanttern/learning_context/activity.ex:42 +#, elixir-autogen, elixir-format, fuzzy +msgid "Activity has linked assessment points." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:112 +#, elixir-autogen, elixir-format, fuzzy +msgid "Strand has linked activities and/or assessment points (goals). Deleting it would cause some data loss." +msgstr "" + +#: lib/lanttern/learning_context/strand.ex:47 +#, elixir-autogen, elixir-format, fuzzy +msgid "Strand has linked activities." +msgstr "" + +#: lib/lanttern/learning_context/strand.ex:52 +#, elixir-autogen, elixir-format +msgid "Strand has linked assessment points." +msgstr "" diff --git a/priv/gettext/pt_BR/LC_MESSAGES/default.po b/priv/gettext/pt_BR/LC_MESSAGES/default.po index bedbb5a9..02569fe3 100644 --- a/priv/gettext/pt_BR/LC_MESSAGES/default.po +++ b/priv/gettext/pt_BR/LC_MESSAGES/default.po @@ -22,6 +22,7 @@ msgstr "Ações" msgid "Assessment points" msgstr "Pontos de avaliação" +#: lib/lanttern_web/live/pages/strands/activity/id/details_component.ex:11 #: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:45 #: lib/lanttern_web/live/shared/menu_component.ex:32 #, elixir-autogen, elixir-format @@ -43,6 +44,7 @@ msgstr "Rubricas" msgid "School" msgstr "Escola" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:9 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:5 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:2 #: lib/lanttern_web/live/shared/menu_component.ex:20 @@ -92,6 +94,11 @@ msgstr "Aplicar filtros" msgid "Applying filters..." msgstr "Aplicando filtros..." +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:121 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:178 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:206 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:260 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:35 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:146 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:89 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:155 @@ -141,6 +148,10 @@ msgstr "Nova trilha" msgid "No strands created for selected years and subjects" msgstr "Nenhuma trilha criadas para os anos e componentes selecionados" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:124 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:181 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:263 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:38 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:149 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:92 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:158 @@ -329,6 +340,7 @@ msgstr "Sobre" msgid "Activities" msgstr "Atividades" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:45 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:34 #, elixir-autogen, elixir-format msgid "Assessment" @@ -339,6 +351,8 @@ msgstr "Avaliação" msgid "Couldn't find strand" msgstr "Não foi possível encontrar a trilha" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:69 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:169 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:137 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:64 #: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:229 @@ -346,6 +360,7 @@ msgstr "Não foi possível encontrar a trilha" msgid "Delete" msgstr "Deletar" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:10 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:6 #, elixir-autogen, elixir-format msgid "Details" @@ -357,6 +372,7 @@ msgstr "Detalhes" msgid "Edit strand" msgstr "Editar trilha" +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:52 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:47 #, elixir-autogen, elixir-format msgid "My notes" @@ -367,11 +383,6 @@ msgstr "Minhas anotações" msgid "Strand deleted" msgstr "Trilha deletada" -#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:112 -#, elixir-autogen, elixir-format -msgid "Strand has linked activities. Deleting it would cause some data loss." -msgstr "Trilha com atividades conectadas. Deletá-la causaria perda de dados." - #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:64 #, elixir-autogen, elixir-format msgid "Add a strand note" @@ -392,19 +403,26 @@ msgstr "Adicionar rubrica" msgid "Add strand goal" msgstr "Adicionar objetivo da trilha" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:19 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:19 #, elixir-autogen, elixir-format msgid "Add your notes..." msgstr "Adicione suas anotações..." +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:67 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:145 +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:167 +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:28 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:113 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:135 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:28 #: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:62 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:227 #, elixir-autogen, elixir-format msgid "Are you sure?" msgstr "Você tem certeza?" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:186 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:102 #: lib/lanttern_web/live/shared/schools/class_filter_form_component.ex:19 #, elixir-autogen, elixir-format @@ -416,11 +434,13 @@ msgstr "Turmas" msgid "Create new activity" msgstr "Criar nova atividade" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:71 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:53 #, elixir-autogen, elixir-format msgid "Current assessment points" msgstr "Pontos de avaliação atuais" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:30 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:30 #, elixir-autogen, elixir-format msgid "Delete note" @@ -436,6 +456,7 @@ msgstr "Diferenciação" msgid "Differentiation for %{name}" msgstr "Diferenciação para %{name}" +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:57 #: lib/lanttern_web/live/pages/strands/id/notes_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:265 @@ -498,6 +519,7 @@ msgstr "Nenhum ponto de avaliação para esta trilha ainda" msgid "Other notes in this strand" msgstr "Outras anotações nesta trilha" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:51 #: lib/lanttern_web/live/pages/strands/id/activities_component.ex:25 #, elixir-autogen, elixir-format msgid "Reorder" @@ -518,11 +540,13 @@ msgstr "Critério da rubrica:" msgid "Save updated order" msgstr "Salvar ordem atualizada" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:213 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:129 #, elixir-autogen, elixir-format msgid "Select" msgstr "Selecionar" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:39 #: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:38 #, elixir-autogen, elixir-format msgid "Select a class" @@ -553,6 +577,7 @@ msgstr "Este objetivo já possui alguns registros. Deletá-lo irá causar perda msgid "Under the hood, goals in Lanttern are defined by assessment points linked directly to the strand — when adding goals, we are adding assessment points which, in turn, hold the curriculum items we'll want to assess along the strand course." msgstr "Por baixo dos panos, objetivos no Lanttern são definidos por pontos de avaliação vinculados diretamente à trilha — ao adicionar objetivos, nós estamos adicionando pontos de avaliação que, por sua vez, contém os itens curriculares que nós queremos avaliar ao longo da trilha." +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:148 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:116 #, elixir-autogen, elixir-format msgid "Understood. Delete anyway" @@ -574,6 +599,7 @@ msgstr "Você ainda não poussui anotações para esta trilha" msgid "collapse" msgstr "fechar" +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:157 #: lib/lanttern_web/live/pages/strands/id/about_component.ex:125 #, elixir-autogen, elixir-format msgid "dismiss" @@ -707,3 +733,114 @@ msgstr "Selecione uma escala" #, elixir-autogen, elixir-format msgid "Markdown supported in descriptors" msgstr "Suporta Markdown nos descritores" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:11 +#, elixir-autogen, elixir-format +msgid "Activity" +msgstr "Atividade" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:98 +#, elixir-autogen, elixir-format +msgid "Activity deleted" +msgstr "Atividade deletada" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:106 +#, elixir-autogen, elixir-format +msgid "Activity has linked assessments. Deleting it would cause some data loss." +msgstr "Atividade com avaliações conectadas. Deletá-la causaria perda de dados." + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Add an activity note" +msgstr "Adicionar anotações da atividade" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:21 +#, elixir-autogen, elixir-format +msgid "Assessing" +msgstr "Avaliando" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:126 +#, elixir-autogen, elixir-format +msgid "Assessment Point" +msgstr "Ponto de Avaliação" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:218 +#, elixir-autogen, elixir-format +msgid "Assessment Points Order" +msgstr "Ordem dos Pontos de Avaliação" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.ex:79 +#, elixir-autogen, elixir-format +msgid "Couldn't find activity" +msgstr "Não foi possível encontrar a atividade" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:58 +#, elixir-autogen, elixir-format +msgid "Create assessment point" +msgstr "Criar ponto de avaliação" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:39 +#, elixir-autogen, elixir-format +msgid "Details & Curriculum" +msgstr "Detalhes & Currículo" + +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:61 +#: lib/lanttern_web/live/pages/strands/activity/id/activity_live.html.heex:106 +#, elixir-autogen, elixir-format +msgid "Edit activity" +msgstr "Editar atividade" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:242 +#, elixir-autogen, elixir-format +msgid "Move assessment point down" +msgstr "Mover ponto de avaliação para baixo" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:231 +#, elixir-autogen, elixir-format +msgid "Move assessment point up" +msgstr "Mover ponto de avaliação para cima" + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:48 +#, elixir-autogen, elixir-format +msgid "My activity notes (visible only to you)" +msgstr "Minhas anotações sobre a atividade (visível somente para mim)" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:64 +#, elixir-autogen, elixir-format +msgid "No assessment points for this activity yet" +msgstr "Nenhum ponto de avaliação para esta atividade ainda" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:437 +#, elixir-autogen, elixir-format +msgid "This assessment point already have some entries. Deleting it will cause data loss." +msgstr "Este ponto de avaliação já possui alguns registros. Deletá-lo irá causar perda de dados." + +#: lib/lanttern_web/live/pages/strands/activity/id/notes_component.ex:57 +#, elixir-autogen, elixir-format +msgid "You don't have any notes for this activity yet" +msgstr "Você ainda não poussui anotações para esta atividade" + +#: lib/lanttern_web/live/pages/strands/activity/id/assessment_component.ex:41 +#, elixir-autogen, elixir-format +msgid "to assess students" +msgstr "para avaliar estudantes" + +#: lib/lanttern/learning_context/activity.ex:42 +#, elixir-autogen, elixir-format +msgid "Activity has linked assessment points." +msgstr "Atividade possui pontos de avaliação conectados." + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:112 +#, elixir-autogen, elixir-format +msgid "Strand has linked activities and/or assessment points (goals). Deleting it would cause some data loss." +msgstr "Trilha com atividades e/ou pontos de avaliação (objetivos) conectados. Deletá-la causaria perda de dados." + +#: lib/lanttern/learning_context/strand.ex:47 +#, elixir-autogen, elixir-format +msgid "Strand has linked activities." +msgstr "Trilha possui atividades conectadas." + +#: lib/lanttern/learning_context/strand.ex:52 +#, elixir-autogen, elixir-format +msgid "Strand has linked assessment points." +msgstr "Trilha possui pontos de avaliação conectados."