From d3ebe3fc3972a96297fcb4865963bcaf56dc27fc Mon Sep 17 00:00:00 2001 From: endoooo Date: Mon, 29 Jan 2024 11:57:46 -0300 Subject: [PATCH] feat: added strand details pt-br translations --- .../live/pages/strands/id/about_component.ex | 36 +- .../pages/strands/id/activities_component.ex | 28 +- .../pages/strands/id/assessment_component.ex | 16 +- .../live/pages/strands/id/notes_component.ex | 24 +- .../live/pages/strands/id/strand_live.ex | 6 +- .../pages/strands/id/strand_live.html.heex | 32 +- .../strands/id/strand_rubrics_component.ex | 36 +- .../assessment_point_form_component.ex | 19 +- .../curriculum_item_search_component.ex | 4 +- .../activity_form_component.ex | 30 +- .../shared/rubrics/rubric_form_component.ex | 36 +- .../schools/class_filter_form_component.ex | 4 +- priv/gettext/default.pot | 417 +++++++++++++++++- priv/gettext/en/LC_MESSAGES/default.po | 417 +++++++++++++++++- priv/gettext/en/LC_MESSAGES/errors.po | 5 + priv/gettext/errors.pot | 5 + priv/gettext/pt_BR/LC_MESSAGES/default.po | 417 +++++++++++++++++- priv/gettext/pt_BR/LC_MESSAGES/errors.po | 5 + priv/gettext/schools.pot | 1 - priv/gettext/taxonomy.pot | 1 - 20 files changed, 1415 insertions(+), 124 deletions(-) diff --git a/lib/lanttern_web/live/pages/strands/id/about_component.ex b/lib/lanttern_web/live/pages/strands/id/about_component.ex index ebe09e5c..95f50e1e 100644 --- a/lib/lanttern_web/live/pages/strands/id/about_component.ex +++ b/lib/lanttern_web/live/pages/strands/id/about_component.ex @@ -14,7 +14,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do
<.markdown text={@strand.description} />
-

Goals

+

<%= gettext("Goals") %>

<.collection_action :if={@has_goal_position_change} @@ -24,7 +24,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do phx-target={@myself} class="font-bold" > - Save updated order + <%= gettext("Save updated order") %> <.collection_action type="button" @@ -32,12 +32,14 @@ defmodule LantternWeb.StrandLive.AboutComponent do phx-click="new_goal" phx-target={@myself} > - Add strand goal + <%= gettext("Add strand goal") %>

- 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. + <%= gettext( + "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." + ) %>

@@ -52,7 +54,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do phx-click={JS.push("edit_goal", value: %{id: curriculum_item.assessment_point_id})} phx-target={@myself} > - Edit + <%= gettext("Edit") %>

<%= curriculum_item.name %>

@@ -60,7 +62,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do
<.icon_button type="button" - sr_text="Move curriculum item up" + sr_text={gettext("Move curriculum item up")} name="hero-chevron-up-mini" theme="ghost" rounded @@ -71,7 +73,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do /> <.icon_button type="button" - sr_text="Move curriculum item down" + sr_text={gettext("Move curriculum item down")} name="hero-chevron-down-mini" theme="ghost" rounded @@ -89,7 +91,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do show={true} on_cancel={JS.patch(~p"/strands/#{@strand}?tab=about")} > - <:title>Strand Goal + <:title><%= gettext("Strand Goal") %> <.live_component module={AssessmentPointFormComponent} id={Map.get(@assessment_point, :id) || :new} @@ -108,10 +110,10 @@ defmodule LantternWeb.StrandLive.AboutComponent 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") %>
@@ -130,9 +132,9 @@ defmodule LantternWeb.StrandLive.AboutComponent 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> @@ -141,10 +143,10 @@ defmodule LantternWeb.StrandLive.AboutComponent 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 + <.button type="submit" form="assessment-point-form" phx-disable-with={gettext("Saving...")}> + <%= gettext("Save") %> @@ -210,7 +212,7 @@ defmodule LantternWeb.StrandLive.AboutComponent do {:error, _changeset} -> # we may have more error types, but for now we are handling only this one message = - "This goal already have some entries. Deleting it will cause data loss." + gettext("This goal 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/id/activities_component.ex b/lib/lanttern_web/live/pages/strands/id/activities_component.ex index d4122988..6529a1a8 100644 --- a/lib/lanttern_web/live/pages/strands/id/activities_component.ex +++ b/lib/lanttern_web/live/pages/strands/id/activities_component.ex @@ -13,7 +13,7 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do

- Strand activities + <%= gettext("Strand activities") %>

<.collection_action @@ -22,20 +22,20 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do phx-click={JS.exec("data-show", to: "#strand-activities-order-overlay")} icon_name="hero-arrows-up-down" > - Reorder + <%= gettext("Reorder") %> <.collection_action type="link" patch={~p"/strands/#{@strand}/new_activity"} icon_name="hero-plus-circle" > - Create new activity + <%= gettext("Create new activity") %>
<%= if @activities_count == 0 do %>
- <.empty_state>No activities for this strand yet + <.empty_state><%= gettext("No activities for this strand yet") %>
<% else %>
@@ -53,7 +53,9 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do <%= activity.name %>
- <.badge :for={subject <- activity.subjects}><%= subject.name %> + <.badge :for={subject <- activity.subjects}> + <%= Gettext.dgettext(LantternWeb.Gettext, "taxonomy", subject.name) %> +
@@ -68,7 +70,7 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do show={true} on_cancel={JS.patch(~p"/strands/#{@strand}?tab=activities")} > - <:title>New activity + <:title><%= gettext("New activity") %> <.live_component module={ActivityFormComponent} id={:new} @@ -84,10 +86,10 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do theme="ghost" phx-click={JS.exec("data-cancel", to: "#activity-form-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="submit" form="activity-form"> - Save + <%= gettext("Save") %> @@ -108,7 +110,7 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do def reorder_overlay(assigns) do ~H""" <.slide_over id="strand-activities-order-overlay"> - <:title>Strand Activities Order + <:title><%= gettext("Strand Activities Order") %>
  1. <.icon_button type="button" - sr_text="Move activity up" + sr_text={gettext("Move activity up")} name="hero-chevron-up-mini" theme="ghost" rounded @@ -132,7 +134,7 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do /> <.icon_button type="button" - sr_text="Move activity down" + sr_text={gettext("Move activity down")} name="hero-chevron-down-mini" theme="ghost" rounded @@ -150,10 +152,10 @@ defmodule LantternWeb.StrandLive.ActivitiesComponent do theme="ghost" phx-click={JS.exec("data-cancel", to: "#strand-activities-order-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="button" phx-click="save_order" phx-target={@myself}> - Save + <%= gettext("Save") %> diff --git a/lib/lanttern_web/live/pages/strands/id/assessment_component.ex b/lib/lanttern_web/live/pages/strands/id/assessment_component.ex index 783f74d5..e4335123 100644 --- a/lib/lanttern_web/live/pages/strands/id/assessment_component.ex +++ b/lib/lanttern_web/live/pages/strands/id/assessment_component.ex @@ -17,7 +17,7 @@ defmodule LantternWeb.StrandLive.AssessmentComponent do
    <%= if @classes do %>

    - Viewing + <%= gettext("Viewing") %> - to view students assessments + <%= gettext("to view students assessments") %>

    <% end %>
    <%!-- if no assessment points, render empty state --%>
    - <.empty_state>No assessment points for this strand yet + <.empty_state><%= gettext("No assessment points for this strand 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. <.slide_over id="classes-filter-overlay"> - <:title>Classes + <:title><%= gettext("Classes") %> <.live_component module={ClassFilterFormComponent} id={:filter} @@ -119,14 +119,14 @@ defmodule LantternWeb.StrandLive.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") %> diff --git a/lib/lanttern_web/live/pages/strands/id/notes_component.ex b/lib/lanttern_web/live/pages/strands/id/notes_component.ex index 3437f7bb..8aa51bcf 100644 --- a/lib/lanttern_web/live/pages/strands/id/notes_component.ex +++ b/lib/lanttern_web/live/pages/strands/id/notes_component.ex @@ -16,7 +16,7 @@ defmodule LantternWeb.StrandLive.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.StrandLive.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,16 @@ defmodule LantternWeb.StrandLive.NotesComponent do <% else %> <%= if @note do %>
      -

      My strand notes (visible only to you)

      +

      + <%= gettext("My strand 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 strand yet + <.empty_state><%= gettext("You don't have any notes for this strand yet") %>
      <% end %> <%= if length(@activities_notes) > 0 do %> -

      Other notes in this strand

      +

      + <%= gettext("Other notes in this strand") %> +

      <.link navigate={~p"/strands/activity/#{note.activity.id}?tab=notes"} 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 47737c20..93aff010 100644 --- a/lib/lanttern_web/live/pages/strands/id/strand_live.ex +++ b/lib/lanttern_web/live/pages/strands/id/strand_live.ex @@ -82,7 +82,7 @@ defmodule LantternWeb.StrandLive do case LearningContext.get_strand(id, preloads: [:subjects, :years]) do strand when is_nil(strand) -> socket - |> put_flash(:error, "Couldn't find strand") + |> put_flash(:error, gettext("Couldn't find strand")) |> redirect(to: ~p"/strands") strand -> @@ -101,7 +101,7 @@ defmodule LantternWeb.StrandLive do {:ok, _strand} -> {:noreply, socket - |> put_flash(:info, "Strand deleted") + |> put_flash(:info, gettext("Strand deleted")) |> push_navigate(to: ~p"/strands")} {:error, _changeset} -> @@ -109,7 +109,7 @@ defmodule LantternWeb.StrandLive do socket |> put_flash( :error, - "Strand has linked activities. Deleting it would cause some data loss." + gettext("Strand has linked activities. Deleting it would cause some data loss.") )} end end diff --git a/lib/lanttern_web/live/pages/strands/id/strand_live.html.heex b/lib/lanttern_web/live/pages/strands/id/strand_live.html.heex index aeb9cd1e..b135c728 100644 --- a/lib/lanttern_web/live/pages/strands/id/strand_live.html.heex +++ b/lib/lanttern_web/live/pages/strands/id/strand_live.html.heex @@ -2,16 +2,20 @@ <:top>
      <.breadcrumbs class="mt-2" item_class="text-white drop-shadow-sm"> - <:item link={~p"/strands"}>Strands - <:item>Details + <:item link={~p"/strands"}><%= gettext("Strands") %> + <:item><%= gettext("Details") %> <.nav_menu_button />

      <%= @strand.name %>

      - <.badge :for={subject <- @strand.subjects} theme="dark"><%= subject.name %> - <.badge :for={year <- @strand.years} theme="dark"><%= year.name %> + <.badge :for={subject <- @strand.subjects} theme="dark"> + <%= Gettext.dgettext(LantternWeb.Gettext, "taxonomy", subject.name) %> + + <.badge :for={year <- @strand.years} theme="dark"> + <%= Gettext.dgettext(LantternWeb.Gettext, "taxonomy", year.name) %> +
      @@ -21,26 +25,26 @@ patch={~p"/strands/#{@strand}?#{%{tab: "about"}}"} is_current={@current_tab == :about && "true"} > - About + <%= gettext("About") %> <:tab patch={~p"/strands/#{@strand}?#{%{tab: "assessment"}}"} is_current={@current_tab == :assessment && "true"} > - Assessment + <%= gettext("Assessment") %> <:tab patch={~p"/strands/#{@strand}?#{%{tab: "activities"}}"} is_current={@current_tab == :activities && "true"} > - Activities + <%= gettext("Activities") %> <:tab patch={~p"/strands/#{@strand}?#{%{tab: "notes"}}"} is_current={@current_tab == :notes && "true"} icon_name="hero-eye-slash" > - My notes + <%= gettext("My notes") %> <.menu_button id={@strand.id}> @@ -49,15 +53,15 @@ id={"edit-strand-#{@strand.id}"} phx-click={JS.patch(~p"/strands/#{@strand}/edit")} > - Edit strand + <%= gettext("Edit strand") %> <.menu_button_item id={"remove-strand-#{@strand.id}"} class="text-red-500" phx-click="delete_strand" - data-confirm="Are you sure?" + data-confirm={gettext("Are you sure?")} > - Delete + <%= gettext("Delete") %> @@ -101,7 +105,7 @@ show={true} on_cancel={JS.patch(~p"/strands/#{@strand}")} > - <:title>Edit strand + <:title><%= gettext("Edit strand") %> <.live_component module={StrandFormComponent} id={@strand.id} @@ -116,10 +120,10 @@ theme="ghost" phx-click={JS.exec("data-cancel", to: "#strand-form-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="submit" form="strand-form"> - Save + <%= gettext("Save") %> diff --git a/lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex b/lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex index e556cfb6..2ad4b0c0 100644 --- a/lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex +++ b/lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex @@ -14,7 +14,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do def render(assigns) do ~H"""
      -

      Goal rubrics

      +

      <%= gettext("Goal rubrics") %>

      JS.toggle( @@ -47,7 +47,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do class="hidden" theme="ghost" rounded - sr_text="expand" + sr_text={gettext("expand")} phx-click={ JS.toggle(to: "#goal-rubric-#{assessment_point.rubric_id}") |> JS.toggle( @@ -66,7 +66,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do } phx-target={@myself} > - Add rubric + <%= gettext("Add rubric") %> <% end %>
      @@ -86,7 +86,9 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do
      -

      Differentiation

      +

      + <%= gettext("Differentiation") %> +

      <.person_tab :for={student <- @students} @@ -122,7 +124,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do name="hero-arrows-pointing-in" theme="ghost" rounded - sr_text="collapse" + sr_text={gettext("collapse")} phx-click={ JS.toggle( to: @@ -140,7 +142,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do class="hidden" theme="ghost" rounded - sr_text="expand" + sr_text={gettext("expand")} phx-click={ JS.toggle( to: @@ -166,7 +168,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do } phx-target={@myself} > - Add diff + <%= gettext("Add diff") %> <% end %>
      @@ -196,7 +198,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do show={true} on_cancel={JS.patch(~p"/strands/#{@strand}?tab=assessment")} > - <:title>Rubric + <:title><%= gettext("Rubric") %>

      <%= @assessment_point.curriculum_item.curriculum_component.name %> @@ -204,7 +206,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do <%= @assessment_point.curriculum_item.name %>

      - Differentiation for <%= @student.name %> + <%= gettext("Differentiation for %{name}", name: @student.name) %>

      <.live_component module={RubricFormComponent} @@ -222,9 +224,9 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do theme="ghost" phx-click="delete_rubric" phx-target={@myself} - data-confirm="Are you sure?" + data-confirm={gettext("Are you sure?")} > - Delete + <%= gettext("Delete") %> <:actions> @@ -233,14 +235,14 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do theme="ghost" phx-click={JS.exec("data-cancel", to: "#rubric-form-overlay")} > - Cancel + <%= gettext("Cancel") %> <.button type="submit" form={"rubric-form-#{@rubric.id || :new}"} phx-disable-with="Saving..." > - Save + <%= gettext("Save") %> @@ -258,9 +260,9 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do ~H"""

      - Rubric criteria: <%= @rubric.criteria %> + <%= gettext("Rubric criteria:") %> <%= @rubric.criteria %>

      <.rubric_descriptors rubric={@rubric} /> @@ -418,7 +420,7 @@ defmodule LantternWeb.StrandLive.StrandRubricsComponent do {:error, _changeset} -> socket = socket - |> put_flash(:error, "Something went wrong") + |> put_flash(:error, dgettext("errors", "Something went wrong")) |> push_patch(to: ~p"/strands/#{socket.assigns.strand}/rubric/manage") {:noreply, socket} diff --git a/lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex b/lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex index 10c31f3b..c5962909 100644 --- a/lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex +++ b/lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex @@ -19,17 +19,22 @@ defmodule LantternWeb.Assessments.AssessmentPointFormComponent do phx-target={@myself} > <.error_block :if={@form.source.action == :insert} class="mb-6"> - Oops, something went wrong! Please check the errors below. + <%= gettext("Oops, something went wrong! Please check the errors below.") %> <.input field={@form[:id]} type="hidden" /> <.input field={@form[:activity_id]} type="hidden" /> - <.input field={@form[:name]} label="Assessment point name" phx-debounce="1500" class="mb-6" /> + <.input + field={@form[:name]} + label={gettext("Assessment point name")} + phx-debounce="1500" + class="mb-6" + /> <%= if @curriculum_from_strand_id do %> <.input field={@form[:curriculum_item_id]} type="radio" options={@curriculum_item_options} - prompt="Select curriculum item" + prompt={gettext("Select curriculum item")} class="mb-6" /> <% else %> @@ -37,7 +42,7 @@ defmodule LantternWeb.Assessments.AssessmentPointFormComponent do module={CurriculumItemSearchComponent} id="curriculum-item-search" notify_component={@myself} - label="Curriculum" + label={gettext("Curriculum")} />
      <%= if @selected_curriculum_item do %> @@ -51,7 +56,7 @@ defmodule LantternWeb.Assessments.AssessmentPointFormComponent do <% else %> <.badge> - No curriculum item selected + <%= gettext("No curriculum item selected") %> <% end %>
      @@ -61,9 +66,9 @@ defmodule LantternWeb.Assessments.AssessmentPointFormComponent do <.input field={@form[:scale_id]} type="select" - label="Scale" + label={gettext("Scale")} options={@scale_options} - prompt="Select a scale" + prompt={gettext("Select a scale")} class="mb-6" /> diff --git a/lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex b/lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex index 2cd3652e..d51ff0d3 100644 --- a/lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex +++ b/lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex @@ -10,11 +10,11 @@ defmodule LantternWeb.Curricula.CurriculumItemSearchComponent do <%= @label %>

      - You can search by id adding # before the id + <%= gettext("You can search by id adding # before the id") %> <.inline_code> #123 - and search by code wrapping it in parenthesis + <%= gettext("and search by code wrapping it in parenthesis") %> <.inline_code> (ABC123) diff --git a/lib/lanttern_web/live/shared/learning_context/activity_form_component.ex b/lib/lanttern_web/live/shared/learning_context/activity_form_component.ex index f2746068..9e238101 100644 --- a/lib/lanttern_web/live/shared/learning_context/activity_form_component.ex +++ b/lib/lanttern_web/live/shared/learning_context/activity_form_component.ex @@ -24,19 +24,25 @@ defmodule LantternWeb.LearningContext.ActivityFormComponent do <.input field={@form[:strand_id]} type="select" - label="Strand" - prompt="Select strand" + label={gettext("Strand")} + prompt={gettext("Select strand")} options={@strand_options} class="mb-6" /> <% else %> <.input field={@form[:strand_id]} type="hidden" /> <% end %> - <.input field={@form[:name]} type="text" label="Name" class="mb-6" phx-debounce="1500" /> + <.input + field={@form[:name]} + type="text" + label={gettext("Name")} + class="mb-6" + phx-debounce="1500" + /> <.input field={@form[:description]} type="textarea" - label="Description" + label={gettext("Description")} class="mb-1" phx-debounce="1500" /> @@ -48,15 +54,17 @@ defmodule LantternWeb.LearningContext.ActivityFormComponent do multi_field={:subjects_ids} options={@subject_options} selected_ids={@selected_subjects_ids} - label="Subjects" - prompt="Select subject" - empty_message="No subject selected" + label={gettext("Subjects")} + prompt={gettext("Select subject")} + empty_message={gettext("No subject selected")} notify_component={@myself} />

      - <.input field={@form[:position]} type="number" label="Position" class="mb-6" /> + <.input field={@form[:position]} type="number" label={gettext("Position")} class="mb-6" />
      - <.button type="submit" phx-disable-with="Saving...">Save activity + <.button type="submit" phx-disable-with={gettext("Saving...")}> + <%= gettext("Save activity") %> +
      @@ -139,7 +147,7 @@ defmodule LantternWeb.LearningContext.ActivityFormComponent do {:noreply, socket - |> put_flash(:info, "Activity updated successfully") + |> put_flash(:info, gettext("Activity updated successfully")) |> handle_navigation(activity)} {:error, %Ecto.Changeset{} = changeset} -> @@ -156,7 +164,7 @@ defmodule LantternWeb.LearningContext.ActivityFormComponent do {:noreply, socket - |> put_flash(:info, "Activity created successfully") + |> put_flash(:info, gettext("Activity created successfully")) |> handle_navigation(activity)} {:error, %Ecto.Changeset{} = changeset} -> diff --git a/lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex b/lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex index 2ea90445..48729f5a 100644 --- a/lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex +++ b/lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex @@ -24,31 +24,33 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do phx-submit="save" > <.error_block :if={@form.source.action == :insert} class="mb-6"> - Oops, something went wrong! Please check the errors below. + <%= gettext("Oops, something went wrong! Please check the errors below.") %> <.input field={@form[:id]} type="hidden" /> <.input field={@form[:diff_for_rubric_id]} type="hidden" /> - <.input field={@form[:criteria]} type="text" label="Criteria" phx-debounce="1500" /> + <.input field={@form[:criteria]} type="text" label={gettext("Criteria")} phx-debounce="1500" /> <.input field={@form[:is_differentiation]} type="toggle" - label="Is differentiation" + label={gettext("Is differentiation")} class={["mt-6", if(@hide_diff_and_scale, do: "hidden")]} /> <.input field={@form[:scale_id]} type="select" - label="Scale" + label={gettext("Scale")} options={@scale_options} - prompt="Select scale" + prompt={gettext("Select scale")} phx-target={@myself} phx-change="scale_selected" class={["mt-6", if(@hide_diff_and_scale, do: "hidden")]} /> <.descriptors_fields scale={@scale} field={@form[:descriptors]} myself={@myself} />
      - <.button type="button" theme="ghost" phx-click={@on_cancel}>Cancel - <.button type="submit">Save + <.button type="button" theme="ghost" phx-click={@on_cancel}> + <%= gettext("Cancel") %> + + <.button type="submit"><%= gettext("Save") %>
      @@ -61,14 +63,14 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do defp descriptors_fields(%{scale: nil} = assigns) do ~H""" -

      Select a scale to create descriptors

      +

      <%= gettext("Select a scale to create descriptors") %>

      """ end defp descriptors_fields(%{scale: %{type: "ordinal"}} = assigns) do ~H""" -
      Descriptors
      - <.markdown_supported class="mt-2 mb-6" message="Markdown supported in descriptors" /> +
      <%= gettext("Descriptors") %>
      + <.markdown_supported class="mt-2 mb-6" message={gettext("Markdown supported in descriptors")} /> <.inputs_for :let={ef} field={@field}> <.input type="hidden" field={ef[:scale_id]} /> <.input type="hidden" field={ef[:scale_type]} /> @@ -87,8 +89,8 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do defp descriptors_fields(%{scale: %{type: "numeric"}} = assigns) do ~H""" -
      Descriptors
      - <.markdown_supported class="mt-2 mb-6" message="Markdown supported in descriptors" /> +
      <%= gettext("Descriptors") %>
      + <.markdown_supported class="mt-2 mb-6" message={gettext("Markdown supported in descriptors")} /> <.inputs_for :let={ef} field={@field}>
      @@ -99,7 +101,7 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do min={@scale.start} max={@scale.stop} field={ef[:score]} - label="Score" + label={gettext("Score")} class="mt-6" /> <.input type="textarea" field={ef[:descriptor]} /> @@ -112,7 +114,9 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do """ end @@ -336,7 +340,7 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do {:noreply, socket - |> put_flash(:info, "Rubric updated successfully") + |> put_flash(:info, gettext("Rubric updated successfully")) |> handle_navigation()} {:error, %Ecto.Changeset{} = changeset} -> @@ -361,7 +365,7 @@ defmodule LantternWeb.Rubrics.RubricFormComponent do {:noreply, socket - |> put_flash(:info, "Rubric created successfully") + |> put_flash(:info, gettext("Rubric created successfully")) |> handle_navigation()} {:error, %Ecto.Changeset{} = changeset} -> diff --git a/lib/lanttern_web/live/shared/schools/class_filter_form_component.ex b/lib/lanttern_web/live/shared/schools/class_filter_form_component.ex index f2b9bc50..7ab914d8 100644 --- a/lib/lanttern_web/live/shared/schools/class_filter_form_component.ex +++ b/lib/lanttern_web/live/shared/schools/class_filter_form_component.ex @@ -15,7 +15,9 @@ defmodule LantternWeb.Schools.ClassFilterFormComponent do <.form id="class-filter-form" for={@form} phx-submit="save" phx-target={@myself}>
      - Classes + + <%= gettext("Classes") %> +
      <.check_field :for={opt <- @classes} diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 8951559f..1abac9ef 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -22,6 +22,7 @@ msgstr "" msgid "Assessment points" msgstr "" +#: 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 msgid "Curriculum" @@ -42,6 +43,7 @@ msgstr "" msgid "School" msgstr "" +#: 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 #, elixir-autogen, elixir-format @@ -90,8 +92,16 @@ msgstr "" msgid "Applying filters..." msgstr "" +#: 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 +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:122 +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:35 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:123 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:238 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:93 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:129 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:51 #, elixir-autogen, elixir-format msgid "Cancel" msgstr "" @@ -131,12 +141,20 @@ msgstr "" msgid "No strands created for selected years and subjects" msgstr "" +#: 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 +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:38 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:126 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:245 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:132 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:53 #, elixir-autogen, elixir-format msgid "Save" msgstr "" #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:70 +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:57 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:112 #, elixir-autogen, elixir-format msgid "Subjects" @@ -163,6 +181,7 @@ msgstr "" msgid "Cancel cover replacement" msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:45 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:100 #, elixir-autogen, elixir-format msgid "Description" @@ -173,11 +192,13 @@ msgstr "" msgid "File \"%{file}\" is invalid." msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:38 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:93 #, elixir-autogen, elixir-format msgid "Name" msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:59 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:114 #, elixir-autogen, elixir-format msgid "No subject selected" @@ -188,7 +209,9 @@ msgstr "" msgid "No year selected" msgstr "" +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:22 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:17 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:27 #, elixir-autogen, elixir-format msgid "Oops, something went wrong! Please check the errors below." msgstr "" @@ -203,11 +226,14 @@ msgstr "" msgid "Save Strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:148 +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:65 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:132 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:58 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:113 #, elixir-autogen, elixir-format msgid "Select subject" @@ -278,7 +304,7 @@ msgstr "" msgid "Something went wrong!" msgstr "" -#: lib/lanttern_web/live/pages/strands/strands_live.ex:19 +#: lib/lanttern_web/live/pages/strands/strands_live.ex:20 #, elixir-autogen, elixir-format msgid "all %{type}" msgstr "" @@ -292,3 +318,392 @@ msgstr "" #, elixir-autogen, elixir-format msgid "years" msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:28 +#, elixir-autogen, elixir-format +msgid "About" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:40 +#, elixir-autogen, elixir-format +msgid "Activities" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Assessment" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:85 +#, elixir-autogen, elixir-format +msgid "Couldn't find strand" +msgstr "" + +#: 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 +#, elixir-autogen, elixir-format +msgid "Delete" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:6 +#, elixir-autogen, elixir-format +msgid "Details" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:56 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:108 +#, elixir-autogen, elixir-format +msgid "Edit strand" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:47 +#, elixir-autogen, elixir-format +msgid "My notes" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:104 +#, elixir-autogen, elixir-format +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" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:171 +#, elixir-autogen, elixir-format +msgid "Add diff" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:69 +#, elixir-autogen, elixir-format +msgid "Add rubric" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:35 +#, elixir-autogen, elixir-format +msgid "Add strand goal" +msgstr "" + +#: 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/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 +#, elixir-autogen, elixir-format +msgid "Are you sure?" +msgstr "" + +#: 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 +msgid "Classes" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:32 +#, elixir-autogen, elixir-format +msgid "Create new activity" +msgstr "" + +#: 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/id/notes_component.ex:30 +#, elixir-autogen, elixir-format +msgid "Delete note" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:90 +#, elixir-autogen, elixir-format +msgid "Differentiation" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:209 +#, elixir-autogen, elixir-format +msgid "Differentiation for %{name}" +msgstr "" + +#: 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 +#, elixir-autogen, elixir-format +msgid "Edit" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:17 +#, elixir-autogen, elixir-format +msgid "Goal rubrics" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:17 +#, elixir-autogen, elixir-format +msgid "Goals" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:137 +#, elixir-autogen, elixir-format +msgid "Move activity down" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:126 +#, elixir-autogen, elixir-format +msgid "Move activity up" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:76 +#, elixir-autogen, elixir-format +msgid "Move curriculum item down" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:65 +#, elixir-autogen, elixir-format +msgid "Move curriculum item up" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:48 +#, elixir-autogen, elixir-format +msgid "My strand notes (visible only to you)" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:73 +#, elixir-autogen, elixir-format +msgid "New activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:38 +#, elixir-autogen, elixir-format +msgid "No activities for this strand yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:46 +#, elixir-autogen, elixir-format +msgid "No assessment points for this strand yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:70 +#, elixir-autogen, elixir-format +msgid "Other notes in this strand" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:25 +#, elixir-autogen, elixir-format +msgid "Reorder" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:201 +#, elixir-autogen, elixir-format +msgid "Rubric" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:263 +#, elixir-autogen, elixir-format +msgid "Rubric criteria:" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:27 +#, elixir-autogen, elixir-format +msgid "Save updated order" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:129 +#, elixir-autogen, elixir-format +msgid "Select" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:38 +#, elixir-autogen, elixir-format +msgid "Select a class" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:113 +#, elixir-autogen, elixir-format +msgid "Strand Activities Order" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:94 +#, elixir-autogen, elixir-format +msgid "Strand Goal" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:16 +#, elixir-autogen, elixir-format +msgid "Strand activities" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:215 +#, elixir-autogen, elixir-format +msgid "This goal already have some entries. Deleting it will cause data loss." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:40 +#, elixir-autogen, elixir-format +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/id/about_component.ex:116 +#, elixir-autogen, elixir-format +msgid "Understood. Delete anyway" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:20 +#, elixir-autogen, elixir-format +msgid "Viewing" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:56 +#, elixir-autogen, elixir-format +msgid "You don't have any notes for this strand yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:36 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:127 +#, elixir-autogen, elixir-format +msgid "collapse" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:125 +#, elixir-autogen, elixir-format +msgid "dismiss" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:50 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:145 +#, elixir-autogen, elixir-format +msgid "expand" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:40 +#, elixir-autogen, elixir-format +msgid "to view students assessments" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:167 +#, elixir-autogen, elixir-format +msgid "Activity created successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:150 +#, elixir-autogen, elixir-format +msgid "Activity updated successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:28 +#, elixir-autogen, elixir-format +msgid "Assessment point name" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:59 +#, elixir-autogen, elixir-format +msgid "No curriculum item selected" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:63 +#, elixir-autogen, elixir-format +msgid "Position" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Save activity" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:69 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:41 +#, elixir-autogen, elixir-format +msgid "Scale" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:71 +#, elixir-autogen, elixir-format +msgid "Select a scale" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:37 +#, elixir-autogen, elixir-format +msgid "Select curriculum item" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:28 +#, elixir-autogen, elixir-format +msgid "Select strand" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:27 +#, elixir-autogen, elixir-format +msgid "Strand" +msgstr "" + +#: lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex:13 +#, elixir-autogen, elixir-format +msgid "You can search by id adding # before the id" +msgstr "" + +#: lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex:17 +#, elixir-autogen, elixir-format +msgid "and search by code wrapping it in parenthesis" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:117 +#, elixir-autogen, elixir-format +msgid "Add descriptor" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:31 +#, elixir-autogen, elixir-format +msgid "Criteria" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:72 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:92 +#, elixir-autogen, elixir-format +msgid "Descriptors" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:35 +#, elixir-autogen, elixir-format +msgid "Is differentiation" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:368 +#, elixir-autogen, elixir-format +msgid "Rubric created successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:343 +#, elixir-autogen, elixir-format +msgid "Rubric updated successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:104 +#, elixir-autogen, elixir-format +msgid "Score" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Select a scale to create descriptors" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:43 +#, elixir-autogen, elixir-format +msgid "Select scale" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:73 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:93 +#, elixir-autogen, elixir-format +msgid "Markdown supported in descriptors" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index bb6f153a..042ab9e1 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/shared/assessments/assessment_point_form_component.ex:45 #: lib/lanttern_web/live/shared/menu_component.ex:32 #, elixir-autogen, elixir-format msgid "Curriculum" @@ -42,6 +43,7 @@ msgstr "" msgid "School" msgstr "" +#: 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 #, elixir-autogen, elixir-format @@ -90,8 +92,16 @@ msgstr "" msgid "Applying filters..." msgstr "" +#: 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 +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:122 +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:35 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:123 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:238 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:93 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:129 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:51 #, elixir-autogen, elixir-format msgid "Cancel" msgstr "" @@ -131,12 +141,20 @@ msgstr "" msgid "No strands created for selected years and subjects" msgstr "" +#: 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 +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:38 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:126 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:245 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:132 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:53 #, elixir-autogen, elixir-format msgid "Save" msgstr "" #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:70 +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:57 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:112 #, elixir-autogen, elixir-format msgid "Subjects" @@ -163,6 +181,7 @@ msgstr "" msgid "Cancel cover replacement" msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:45 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:100 #, elixir-autogen, elixir-format msgid "Description" @@ -173,11 +192,13 @@ msgstr "" msgid "File \"%{file}\" is invalid." msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:38 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:93 #, elixir-autogen, elixir-format msgid "Name" msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:59 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:114 #, elixir-autogen, elixir-format msgid "No subject selected" @@ -188,7 +209,9 @@ msgstr "" msgid "No year selected" msgstr "" +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:22 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:17 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:27 #, elixir-autogen, elixir-format msgid "Oops, something went wrong! Please check the errors below." msgstr "" @@ -203,11 +226,14 @@ msgstr "" msgid "Save Strand" msgstr "" +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:148 +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:65 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:132 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:58 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:113 #, elixir-autogen, elixir-format msgid "Select subject" @@ -278,7 +304,7 @@ msgstr "" msgid "Something went wrong!" msgstr "" -#: lib/lanttern_web/live/pages/strands/strands_live.ex:19 +#: lib/lanttern_web/live/pages/strands/strands_live.ex:20 #, elixir-autogen, elixir-format msgid "all %{type}" msgstr "" @@ -292,3 +318,392 @@ msgstr "" #, elixir-autogen, elixir-format, fuzzy msgid "years" msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:28 +#, elixir-autogen, elixir-format +msgid "About" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:40 +#, elixir-autogen, elixir-format +msgid "Activities" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:34 +#, elixir-autogen, elixir-format, fuzzy +msgid "Assessment" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:85 +#, elixir-autogen, elixir-format +msgid "Couldn't find strand" +msgstr "" + +#: 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 +#, elixir-autogen, elixir-format +msgid "Delete" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:6 +#, elixir-autogen, elixir-format +msgid "Details" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:56 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:108 +#, elixir-autogen, elixir-format +msgid "Edit strand" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:47 +#, elixir-autogen, elixir-format +msgid "My notes" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:104 +#, elixir-autogen, elixir-format +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" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:171 +#, elixir-autogen, elixir-format +msgid "Add diff" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:69 +#, elixir-autogen, elixir-format +msgid "Add rubric" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:35 +#, elixir-autogen, elixir-format +msgid "Add strand goal" +msgstr "" + +#: 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/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 +#, elixir-autogen, elixir-format +msgid "Are you sure?" +msgstr "" + +#: 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 +msgid "Classes" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:32 +#, elixir-autogen, elixir-format +msgid "Create new activity" +msgstr "" + +#: 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/id/notes_component.ex:30 +#, elixir-autogen, elixir-format, fuzzy +msgid "Delete note" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:90 +#, elixir-autogen, elixir-format +msgid "Differentiation" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:209 +#, elixir-autogen, elixir-format +msgid "Differentiation for %{name}" +msgstr "" + +#: 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 +#, elixir-autogen, elixir-format +msgid "Edit" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:17 +#, elixir-autogen, elixir-format +msgid "Goal rubrics" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:17 +#, elixir-autogen, elixir-format +msgid "Goals" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:137 +#, elixir-autogen, elixir-format +msgid "Move activity down" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:126 +#, elixir-autogen, elixir-format +msgid "Move activity up" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:76 +#, elixir-autogen, elixir-format +msgid "Move curriculum item down" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:65 +#, elixir-autogen, elixir-format +msgid "Move curriculum item up" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:48 +#, elixir-autogen, elixir-format +msgid "My strand notes (visible only to you)" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:73 +#, elixir-autogen, elixir-format +msgid "New activity" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:38 +#, elixir-autogen, elixir-format +msgid "No activities for this strand yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:46 +#, elixir-autogen, elixir-format +msgid "No assessment points for this strand yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:70 +#, elixir-autogen, elixir-format +msgid "Other notes in this strand" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:25 +#, elixir-autogen, elixir-format +msgid "Reorder" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:201 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rubric" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:263 +#, elixir-autogen, elixir-format +msgid "Rubric criteria:" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:27 +#, elixir-autogen, elixir-format +msgid "Save updated order" +msgstr "" + +#: 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/id/assessment_component.ex:38 +#, elixir-autogen, elixir-format +msgid "Select a class" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:113 +#, elixir-autogen, elixir-format +msgid "Strand Activities Order" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:94 +#, elixir-autogen, elixir-format, fuzzy +msgid "Strand Goal" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:16 +#, elixir-autogen, elixir-format +msgid "Strand activities" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:215 +#, elixir-autogen, elixir-format +msgid "This goal already have some entries. Deleting it will cause data loss." +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:40 +#, elixir-autogen, elixir-format +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/id/about_component.ex:116 +#, elixir-autogen, elixir-format +msgid "Understood. Delete anyway" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:20 +#, elixir-autogen, elixir-format +msgid "Viewing" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:56 +#, elixir-autogen, elixir-format +msgid "You don't have any notes for this strand yet" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:36 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:127 +#, elixir-autogen, elixir-format, fuzzy +msgid "collapse" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:125 +#, elixir-autogen, elixir-format +msgid "dismiss" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:50 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:145 +#, elixir-autogen, elixir-format +msgid "expand" +msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:40 +#, elixir-autogen, elixir-format +msgid "to view students assessments" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:167 +#, elixir-autogen, elixir-format +msgid "Activity created successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:150 +#, elixir-autogen, elixir-format, fuzzy +msgid "Activity updated successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:28 +#, elixir-autogen, elixir-format, fuzzy +msgid "Assessment point name" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:59 +#, elixir-autogen, elixir-format, fuzzy +msgid "No curriculum item selected" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:63 +#, elixir-autogen, elixir-format +msgid "Position" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:66 +#, elixir-autogen, elixir-format, fuzzy +msgid "Save activity" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:69 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:41 +#, elixir-autogen, elixir-format +msgid "Scale" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:71 +#, elixir-autogen, elixir-format, fuzzy +msgid "Select a scale" +msgstr "" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:37 +#, elixir-autogen, elixir-format +msgid "Select curriculum item" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:28 +#, elixir-autogen, elixir-format, fuzzy +msgid "Select strand" +msgstr "" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:27 +#, elixir-autogen, elixir-format, fuzzy +msgid "Strand" +msgstr "" + +#: lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex:13 +#, elixir-autogen, elixir-format +msgid "You can search by id adding # before the id" +msgstr "" + +#: lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex:17 +#, elixir-autogen, elixir-format +msgid "and search by code wrapping it in parenthesis" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:117 +#, elixir-autogen, elixir-format +msgid "Add descriptor" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:31 +#, elixir-autogen, elixir-format +msgid "Criteria" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:72 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:92 +#, elixir-autogen, elixir-format, fuzzy +msgid "Descriptors" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:35 +#, elixir-autogen, elixir-format, fuzzy +msgid "Is differentiation" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:368 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rubric created successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:343 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rubric updated successfully" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:104 +#, elixir-autogen, elixir-format +msgid "Score" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Select a scale to create descriptors" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:43 +#, elixir-autogen, elixir-format, fuzzy +msgid "Select scale" +msgstr "" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:73 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:93 +#, elixir-autogen, elixir-format, fuzzy +msgid "Markdown supported in descriptors" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/errors.po b/priv/gettext/en/LC_MESSAGES/errors.po index 844c4f5c..3a01cbd1 100644 --- a/priv/gettext/en/LC_MESSAGES/errors.po +++ b/priv/gettext/en/LC_MESSAGES/errors.po @@ -110,3 +110,8 @@ msgstr "" msgid "must be equal to %{number}" msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:423 +#, elixir-autogen, elixir-format +msgid "Something went wrong" +msgstr "" diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot index eef2de2b..4e4861f4 100644 --- a/priv/gettext/errors.pot +++ b/priv/gettext/errors.pot @@ -107,3 +107,8 @@ msgstr "" msgid "must be equal to %{number}" msgstr "" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:423 +#, elixir-autogen, elixir-format +msgid "Something went wrong" +msgstr "" diff --git a/priv/gettext/pt_BR/LC_MESSAGES/default.po b/priv/gettext/pt_BR/LC_MESSAGES/default.po index 70b72b0b..bedbb5a9 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/shared/assessments/assessment_point_form_component.ex:45 #: lib/lanttern_web/live/shared/menu_component.ex:32 #, elixir-autogen, elixir-format msgid "Curriculum" @@ -42,6 +43,7 @@ msgstr "Rubricas" msgid "School" msgstr "Escola" +#: 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 #, elixir-autogen, elixir-format @@ -90,8 +92,16 @@ msgstr "Aplicar filtros" msgid "Applying filters..." msgstr "Aplicando filtros..." +#: 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 +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:122 +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:35 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:123 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:238 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:93 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:129 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:51 #, elixir-autogen, elixir-format msgid "Cancel" msgstr "Cancelar" @@ -131,12 +141,20 @@ 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/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 +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:38 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:126 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:245 #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:132 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:53 #, elixir-autogen, elixir-format msgid "Save" msgstr "Salvar" #: lib/lanttern_web/live/pages/strands/strands_live.html.heex:70 +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:57 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:112 #, elixir-autogen, elixir-format msgid "Subjects" @@ -163,6 +181,7 @@ msgstr "Suas trilhas favoritas" msgid "Cancel cover replacement" msgstr "Cancelar substituição da capa" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:45 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:100 #, elixir-autogen, elixir-format msgid "Description" @@ -173,11 +192,13 @@ msgstr "Descrição" msgid "File \"%{file}\" is invalid." msgstr "O arquivo \"%{file}\" é inválido." +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:38 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:93 #, elixir-autogen, elixir-format msgid "Name" msgstr "Nome" +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:59 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:114 #, elixir-autogen, elixir-format msgid "No subject selected" @@ -188,7 +209,9 @@ msgstr "Nenhum componente selecionado" msgid "No year selected" msgstr "Nenhum ano selecionado" +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:22 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:17 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:27 #, elixir-autogen, elixir-format msgid "Oops, something went wrong! Please check the errors below." msgstr "Oops, algo deu errado! Por favor, confira os erros abaixo." @@ -203,11 +226,14 @@ msgstr "Alterar imagem" msgid "Save Strand" msgstr "Salvar Trilha" +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:148 +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:65 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:132 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "Salvando..." +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:58 #: lib/lanttern_web/live/shared/learning_context/strand_form_component.ex:113 #, elixir-autogen, elixir-format msgid "Select subject" @@ -278,7 +304,7 @@ msgstr "Não conseguimos nos conectar" msgid "Something went wrong!" msgstr "Algo deu errado!" -#: lib/lanttern_web/live/pages/strands/strands_live.ex:19 +#: lib/lanttern_web/live/pages/strands/strands_live.ex:20 #, elixir-autogen, elixir-format msgid "all %{type}" msgstr "todos %{type}" @@ -292,3 +318,392 @@ msgstr "componentes" #, elixir-autogen, elixir-format msgid "years" msgstr "anos" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:28 +#, elixir-autogen, elixir-format +msgid "About" +msgstr "Sobre" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:40 +#, elixir-autogen, elixir-format +msgid "Activities" +msgstr "Atividades" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Assessment" +msgstr "Avaliação" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:85 +#, elixir-autogen, elixir-format +msgid "Couldn't find strand" +msgstr "Não foi possível encontrar a trilha" + +#: 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 +#, elixir-autogen, elixir-format +msgid "Delete" +msgstr "Deletar" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:6 +#, elixir-autogen, elixir-format +msgid "Details" +msgstr "Detalhes" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:56 +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:108 +#, elixir-autogen, elixir-format +msgid "Edit strand" +msgstr "Editar trilha" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.html.heex:47 +#, elixir-autogen, elixir-format +msgid "My notes" +msgstr "Minhas anotações" + +#: lib/lanttern_web/live/pages/strands/id/strand_live.ex:104 +#, elixir-autogen, elixir-format +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" +msgstr "Adicionar uma anotação da trilha" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:171 +#, elixir-autogen, elixir-format +msgid "Add diff" +msgstr "Adicionar diferenciação" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:69 +#, elixir-autogen, elixir-format +msgid "Add rubric" +msgstr "Adicionar rubrica" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:35 +#, elixir-autogen, elixir-format +msgid "Add strand goal" +msgstr "Adicionar objetivo da trilha" + +#: 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/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 +#, elixir-autogen, elixir-format +msgid "Are you sure?" +msgstr "Você tem certeza?" + +#: 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 +msgid "Classes" +msgstr "Turmas" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:32 +#, elixir-autogen, elixir-format +msgid "Create new activity" +msgstr "Criar nova atividade" + +#: 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/id/notes_component.ex:30 +#, elixir-autogen, elixir-format +msgid "Delete note" +msgstr "Deletar anotação" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:90 +#, elixir-autogen, elixir-format +msgid "Differentiation" +msgstr "Diferenciação" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:209 +#, elixir-autogen, elixir-format +msgid "Differentiation for %{name}" +msgstr "Diferenciação para %{name}" + +#: 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 +#, elixir-autogen, elixir-format +msgid "Edit" +msgstr "Editar" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:17 +#, elixir-autogen, elixir-format +msgid "Goal rubrics" +msgstr "Rubricas de objetivo" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:17 +#, elixir-autogen, elixir-format +msgid "Goals" +msgstr "Objetivos" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:137 +#, elixir-autogen, elixir-format +msgid "Move activity down" +msgstr "Mover atividade para baixo" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:126 +#, elixir-autogen, elixir-format +msgid "Move activity up" +msgstr "Mover atividade para cima" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:76 +#, elixir-autogen, elixir-format +msgid "Move curriculum item down" +msgstr "Mover item curricular para baixo" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:65 +#, elixir-autogen, elixir-format +msgid "Move curriculum item up" +msgstr "Mover item curricular para cima" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:48 +#, elixir-autogen, elixir-format +msgid "My strand notes (visible only to you)" +msgstr "Minhas anotações sobre a trilha (visível somente para mim)" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:73 +#, elixir-autogen, elixir-format +msgid "New activity" +msgstr "Nova atividade" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:38 +#, elixir-autogen, elixir-format +msgid "No activities for this strand yet" +msgstr "Nenhuma atividade para esta trilha ainda" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:46 +#, elixir-autogen, elixir-format +msgid "No assessment points for this strand yet" +msgstr "Nenhum ponto de avaliação para esta trilha ainda" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:70 +#, elixir-autogen, elixir-format +msgid "Other notes in this strand" +msgstr "Outras anotações nesta trilha" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:25 +#, elixir-autogen, elixir-format +msgid "Reorder" +msgstr "Reordenar" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:201 +#, elixir-autogen, elixir-format +msgid "Rubric" +msgstr "Rubrica" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:263 +#, elixir-autogen, elixir-format +msgid "Rubric criteria:" +msgstr "Critério da rubrica:" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:27 +#, elixir-autogen, elixir-format +msgid "Save updated order" +msgstr "Salvar ordem atualizada" + +#: 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/id/assessment_component.ex:38 +#, elixir-autogen, elixir-format +msgid "Select a class" +msgstr "Selecione uma turma" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:113 +#, elixir-autogen, elixir-format +msgid "Strand Activities Order" +msgstr "Ordem das Atividades da Trilha" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:94 +#, elixir-autogen, elixir-format +msgid "Strand Goal" +msgstr "Objetivo da Trilha" + +#: lib/lanttern_web/live/pages/strands/id/activities_component.ex:16 +#, elixir-autogen, elixir-format +msgid "Strand activities" +msgstr "Atividades da trilha" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:215 +#, elixir-autogen, elixir-format +msgid "This goal already have some entries. Deleting it will cause data loss." +msgstr "Este objetivo já possui alguns registros. Deletá-lo irá causar perda de dados." + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:40 +#, elixir-autogen, elixir-format +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/id/about_component.ex:116 +#, elixir-autogen, elixir-format +msgid "Understood. Delete anyway" +msgstr "Compreendo. Deletar mesmo assim" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:20 +#, elixir-autogen, elixir-format +msgid "Viewing" +msgstr "Visualizando" + +#: lib/lanttern_web/live/pages/strands/id/notes_component.ex:56 +#, elixir-autogen, elixir-format +msgid "You don't have any notes for this strand yet" +msgstr "Você ainda não poussui anotações para esta trilha" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:36 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:127 +#, elixir-autogen, elixir-format +msgid "collapse" +msgstr "fechar" + +#: lib/lanttern_web/live/pages/strands/id/about_component.ex:125 +#, elixir-autogen, elixir-format +msgid "dismiss" +msgstr "dispensar" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:50 +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:145 +#, elixir-autogen, elixir-format +msgid "expand" +msgstr "expandir" + +#: lib/lanttern_web/live/pages/strands/id/assessment_component.ex:40 +#, elixir-autogen, elixir-format +msgid "to view students assessments" +msgstr "para visualizar avaliações dos estudantes" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:167 +#, elixir-autogen, elixir-format +msgid "Activity created successfully" +msgstr "Atividade criada com sucesso" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:150 +#, elixir-autogen, elixir-format +msgid "Activity updated successfully" +msgstr "Atividade atualizada com sucesso" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:28 +#, elixir-autogen, elixir-format +msgid "Assessment point name" +msgstr "Nome do pontos de avaliação" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:59 +#, elixir-autogen, elixir-format +msgid "No curriculum item selected" +msgstr "Nenhum item curricular selecionado" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:63 +#, elixir-autogen, elixir-format +msgid "Position" +msgstr "Posição" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Save activity" +msgstr "Salvar atividade" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:69 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:41 +#, elixir-autogen, elixir-format +msgid "Scale" +msgstr "Escala" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:71 +#, elixir-autogen, elixir-format +msgid "Select a scale" +msgstr "Selecione uma escala" + +#: lib/lanttern_web/live/shared/assessments/assessment_point_form_component.ex:37 +#, elixir-autogen, elixir-format +msgid "Select curriculum item" +msgstr "Selecionar item curricular" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:28 +#, elixir-autogen, elixir-format +msgid "Select strand" +msgstr "Selecionar trilha" + +#: lib/lanttern_web/live/shared/learning_context/activity_form_component.ex:27 +#, elixir-autogen, elixir-format +msgid "Strand" +msgstr "Trilha" + +#: lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex:13 +#, elixir-autogen, elixir-format +msgid "You can search by id adding # before the id" +msgstr "Você pode buscar pelo id adicionando # antes do id" + +#: lib/lanttern_web/live/shared/curricula/curriculum_item_search_component.ex:17 +#, elixir-autogen, elixir-format +msgid "and search by code wrapping it in parenthesis" +msgstr "e buscar pelo código colocando parênteses" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:117 +#, elixir-autogen, elixir-format +msgid "Add descriptor" +msgstr "Adicionar descritor" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:31 +#, elixir-autogen, elixir-format +msgid "Criteria" +msgstr "Critério" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:72 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:92 +#, elixir-autogen, elixir-format +msgid "Descriptors" +msgstr "Descritores" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:35 +#, elixir-autogen, elixir-format +msgid "Is differentiation" +msgstr "É diferenciação" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:368 +#, elixir-autogen, elixir-format +msgid "Rubric created successfully" +msgstr "Rubrica criada com sucesso" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:343 +#, elixir-autogen, elixir-format +msgid "Rubric updated successfully" +msgstr "Rubrica atualizada com sucesso" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:104 +#, elixir-autogen, elixir-format +msgid "Score" +msgstr "Score" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:66 +#, elixir-autogen, elixir-format +msgid "Select a scale to create descriptors" +msgstr "Selecione uma escala para criar descritores" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:43 +#, elixir-autogen, elixir-format +msgid "Select scale" +msgstr "Selecione uma escala" + +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:73 +#: lib/lanttern_web/live/shared/rubrics/rubric_form_component.ex:93 +#, elixir-autogen, elixir-format +msgid "Markdown supported in descriptors" +msgstr "Suporta Markdown nos descritores" diff --git a/priv/gettext/pt_BR/LC_MESSAGES/errors.po b/priv/gettext/pt_BR/LC_MESSAGES/errors.po index 724ad779..8da8159c 100644 --- a/priv/gettext/pt_BR/LC_MESSAGES/errors.po +++ b/priv/gettext/pt_BR/LC_MESSAGES/errors.po @@ -100,3 +100,8 @@ msgstr "deve ser maior ou igual a %{number}" msgid "must be equal to %{number}" msgstr "deve ser igual a %{number}" + +#: lib/lanttern_web/live/pages/strands/id/strand_rubrics_component.ex:423 +#, elixir-autogen, elixir-format +msgid "Something went wrong" +msgstr "Algo deu errado" diff --git a/priv/gettext/schools.pot b/priv/gettext/schools.pot index f41ed1c7..085a2522 100644 --- a/priv/gettext/schools.pot +++ b/priv/gettext/schools.pot @@ -7,7 +7,6 @@ ## Run `mix gettext.extract` to bring this file up to ## date. Leave `msgstr`s empty as changing them here has no ## effect: edit them in PO (`.po`) files instead. - ## From LantternWeb.MenuComponent msgid "Teacher" msgstr "" diff --git a/priv/gettext/taxonomy.pot b/priv/gettext/taxonomy.pot index 141dc2b0..d493488e 100644 --- a/priv/gettext/taxonomy.pot +++ b/priv/gettext/taxonomy.pot @@ -7,7 +7,6 @@ ## Run `mix gettext.extract` to bring this file up to ## date. Leave `msgstr`s empty as changing them here has no ## effect: edit them in PO (`.po`) files instead. - ## Years msgid "Kindergarten 0" msgstr ""