浏览代码

Minor - update lang var, fix test

Julio Montoya 6 年之前
父节点
当前提交
964615693c
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 1
      main/lang/english/trad4all.inc.php
  2. 1 0
      tests/behat/features/toolLp.feature

+ 2 - 1
main/lang/english/trad4all.inc.php

@@ -2480,7 +2480,7 @@ $LearnpathNoNext = "This is the last learning object.";
 $LearnpathNoPrev = "This is the first learning object.";
 $LearnpathAddLearnpath = "Create new learning path";
 $LearnpathEditLearnpath = "Edit learnpath";
-$LearnpathDeleteLearnpath = "Delete course";
+$LearnpathDeleteLearnpath = "Delete";
 $LearnpathDoNotPublish = "do not publish";
 $LearnpathPublish = "Publish on course homepage";
 $LearnpathNotPublished = "not published";
@@ -8389,4 +8389,5 @@ $GenerateStats = "Generate statistics";
 $BasicCourseDocuments = "Basic course documents";
 $WeekX = "Week %s";
 $QuizWrongAnswerHereIsTheCorrectOne = "Wrong answer. The correct one was:";
+$ThisQuizCanBeEmbeddable = "This quiz can be embeddable on videos or mobile content";
 ?>

+ 1 - 0
tests/behat/features/toolLp.feature

@@ -51,6 +51,7 @@ Feature: LP tool
 
   Scenario: Delete a LP category
     Given I am on "/main/lp/lp_controller.php?cidReq=TEMP&action=list"
+    Then I should see "LP category 1"
     And I follow "Delete"
     Then I should not see "LP category 1"