You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/models/localization/original.rb
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,4 +44,45 @@ def title
44
44
type.to_s.humanize
45
45
end
46
46
end
47
+
48
+
defusage_details
49
+
returnsuperifsuper.present?
50
+
51
+
casetype
52
+
when:exercise_introduction
53
+
"This is the introduction text shown on the exercise page. It sets the context of the STORY of the exercise. The instructions are shown next and are translated seperately."
54
+
when:exercise_instructions
55
+
"These are the instructions shown on the exercise page. They tell the user what to do to complete the exercise. The introduction is shown before and is translated seperately."
56
+
when:exercise_title
57
+
"This is the title of the exercise shown around the site in various places."
58
+
when:exercise_blurb
59
+
"This is a short blurb about the exercise, shown as part of an exercise widget (e.g. on the page that lists the exercises for a track)."
60
+
when:exercise_source
61
+
"This appears at the bottom of an exercise to show where it originated, and is included in the README downloaded via the CLI."
62
+
when:generic_exercise_introduction
63
+
"This is the **programming-language-agnostic** introduction text. Some tracks override it, but it's generally used across most languages. The instructions and an optional append come seperately."
64
+
when:generic_exercise_instructions
65
+
"These are the **programming-language-agnostic** instructions. Some tracks override them, but they're generally used across most languages. The introduction and an optional append come seperately."
66
+
when:generic_exercise_title
67
+
"This is the **programming-language-agnostic** title of the exercise. It can be overriden by tracks but almost never is."
68
+
when:generic_exercise_blurb
69
+
"This is a **programming-language-agnostic** short blurb about the exercise, shown as part of an exercise widget (e.g. on the page that lists the exercises for a track). It can be overriden by tracks but almost never is."
70
+
when:generic_exercise_source
71
+
"This appears at the bottom of an exercise to show where it originated, and is included in the README downloaded via the CLI. This is the **programming-language-agnostic** version, which can be overriden by tracks but almost never is."
72
+
when:concept_name
73
+
"This is the name of a programming concept for a specific track. It appears throughout the track".
74
+
when:concept_blurb
75
+
"This is a short blurb about a programming concept for a specific track. It appears on the concept page and in various places around the site."
76
+
when:concept_introduction
77
+
"This is the version of the concept explanation that is shown to students BEFORE they complete the associated exercise."
78
+
when:concept_about
79
+
"This is the version of the concept explanation that is shown to students AFTER they complete the associated exercise."
80
+
when:blog_post_content
81
+
"This is the content of a blog post shown on the blog."
82
+
when:docs_content
83
+
"This is the content of a documentation page shown on the docs."
0 commit comments