Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming exercises: Adjust translations for participation mode tooltips #9468

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
ngbTooltip="{{ 'artemisApp.programmingExercise.allowOfflineIde.alertNoTheia' | artemisTranslate }}"
/>
}
} @else {
<jhi-help-icon text="artemisApp.programmingExercise.allowOfflineIde.description" />
}
</label>
</div>
Expand Down Expand Up @@ -74,6 +76,8 @@
ngbTooltip="{{ 'artemisApp.programmingExercise.allowOnlineEditor.alertNoTheia' | artemisTranslate }}"
/>
}
} @else {
<jhi-help-icon text="artemisApp.programmingExercise.allowOnlineEditor.description" />
}
</label>
</div>
Expand All @@ -99,6 +103,8 @@
[placement]="'top'"
ngbTooltip="{{ 'artemisApp.programmingExercise.allowOnlineIde.alert' | artemisTranslate }}"
/>
} @else {
<jhi-help-icon text="artemisApp.programmingExercise.allowOnlineIde.description" />
}
iyannsch marked this conversation as resolved.
Show resolved Hide resolved
</label>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/main/webapp/i18n/de/programmingExercise.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,21 @@
"workdir": "Verzeichnis",
"allowOnlineEditor": {
"title": "Online-Editor erlauben",
"description": "Ein Online-Texteditor mit Datei-Explorer und Code-Hervorhebungsfunktionen, jedoch ohne die Möglichkeit, Code zu kompilieren oder auszuführen.",
"alert": "Es muss mindestens eine Option (Offline-IDE, Online-Editor oder Online-IDE) ausgewählt sein",
"alertNoTheia": "Es muss mindestens eine Option (Offline-IDE oder Online-Editor) ausgewählt sein"
},
"onlineEditor": "Online",
"allowOfflineIde": {
"title": "Offline-IDE erlauben",
"description": "Aktiviere diese Option, um es zu erlauben, die Übung herunterzuladen und lokal mit der bevorzugten IDE daran zu arbeiten.",
iyannsch marked this conversation as resolved.
Show resolved Hide resolved
"alert": "Es muss mindestens eine Option (Offline-IDE, Online-Editor oder Online-IDE) ausgewählt sein",
"alertNoTheia": "Es muss mindestens eine Option (Offline-IDE oder Online-Editor) ausgewählt sein"
},
"offlineIde": "IDE",
"allowOnlineIde": {
"title": "Online-IDE erlauben",
"description": "Eine auf Visual Studio Code basierende Online-Entwicklungsumgebung mit Code-Hervorhebungs- und Formatierungsfunktionen. Vorkonfiguriert für die Sprache der Übung und mit der Möglichkeit, Code online zu kompilieren oder auszuführen.",
"alert": "Es muss mindestens eine Option (Offline-IDE, Online-Editor oder Online-IDE) ausgewählt sein.",
"alertNoTheia": "Es muss mindestens eine Option (Offline-IDE oder Online-Editor) ausgewählt sein"
iyannsch marked this conversation as resolved.
Show resolved Hide resolved
},
Expand Down
3 changes: 3 additions & 0 deletions src/main/webapp/i18n/en/programmingExercise.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,21 @@
"customizeDockerImage": "You can customize the Docker image. Make sure to provide it in amd64 and arm64 and include all build dependencies to guarantee a short build duration.",
"allowOnlineEditor": {
"title": "Allow Online Editor",
"description": "An online text editor featuring a file explorer, coding window, and code highlighting features but without the ability to compile or run code.",
"alert": "At least one option (Offline IDE, Online Editor, or Online IDE) must be selected",
"alertNoTheia": "At least one option (Offline IDE or Online Editor) must be selected"
},
"onlineEditor": "Online",
"allowOfflineIde": {
"title": "Allow Offline IDE",
"description": "Check this option to allow students to download the exercise and work on it locally using their preferred IDE.",
iyannsch marked this conversation as resolved.
Show resolved Hide resolved
"alert": "At least one option (Offline IDE, Online Editor, or Online IDE) must be selected",
"alertNoTheia": "At least one option (Offline IDE or Online Editor) must be selected"
},
"offlineIde": "IDE",
"allowOnlineIde": {
"title": "Allow Online IDE",
"description": "An online coding environment based on Visual Studio Code featuring code highlighting and formatting features. Pre-configured to your exercise's language and with the ability to compile or run code online.",
"alert": "At least one option (Offline IDE, Online Editor, or Online IDE) must be selected.",
"alertNoTheia": "At least one option (Offline IDE or Online Editor) must be selected"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { ProfileInfo } from 'app/shared/layouts/profiles/profile-info.model';
import { ProfileService } from 'app/shared/layouts/profiles/profile.service';
import { PROFILE_THEIA } from 'app/app.constants';
import { ArtemisTestModule } from '../../../test.module';
import { ArtemisSharedComponentModule } from 'app/shared/components/shared-component.module';

describe('ProgrammingExerciseDifficultyComponent', () => {
let fixture: ComponentFixture<ProgrammingExerciseDifficultyComponent>;
Expand All @@ -24,7 +25,7 @@ describe('ProgrammingExerciseDifficultyComponent', () => {

beforeEach(() => {
TestBed.configureTestingModule({
imports: [ArtemisTestModule],
imports: [ArtemisTestModule, ArtemisSharedComponentModule],
declarations: [
CheckboxControlValueAccessor,
DefaultValueAccessor,
Expand Down
Loading