Moodle

Fix multichoice help file location in all lang packs

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.8.5
  • Fix Version/s: None
  • Component/s: Documentation, Language
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE

Description

Either move the multichoice help file from the quiz folder to the qtype_multichoice folder manually in each lang pack or notify translators in the languages forum. I'm guessing it's not possible to move the file in bulk-mode fashion, as Daniel suggests in MDL-14467

Activity

Hide
Helen Foster added a comment -

Adding VIP watchers for their opinions.

Show
Helen Foster added a comment - Adding VIP watchers for their opinions.
Hide
Eloy Lafuente (stronk7) added a comment -

So this is about to, in all the langs having these help files:

1) Copy the help/quiz/multichoice.html and help/quiz/multichoiceshuffle.html files to help/qtype_multichoice
2) Change in help/quiz/index.html all links to the old files to the new ones
3) Leave comment in old files with:

<!-- This file should now be deleted. It has been moved from the quiz folder to the
qtype_multichoice folder. However, it remains here for backward compatibility reasons. -->

yup? Looks done-able, IMO.

P.S: Some day, we'll have those index.html built automatically, grrr. it's really a pain to keep them manually updated when all the information needed to build them is out there (in help files themselves).

Show
Eloy Lafuente (stronk7) added a comment - So this is about to, in all the langs having these help files: 1) Copy the help/quiz/multichoice.html and help/quiz/multichoiceshuffle.html files to help/qtype_multichoice 2) Change in help/quiz/index.html all links to the old files to the new ones 3) Leave comment in old files with: <!-- This file should now be deleted. It has been moved from the quiz folder to the qtype_multichoice folder. However, it remains here for backward compatibility reasons. --> yup? Looks done-able, IMO. P.S: Some day, we'll have those index.html built automatically, grrr. it's really a pain to keep them manually updated when all the information needed to build them is out there (in help files themselves).
Hide
Koen Roggemans added a comment -

As it stands now, in the pre Moodle 2.0-situation, we will need the files on both locations for backwards compatability. So I suggest

create the qtype_folder
cp the file

leave the rest as it is "will be solved in Moodle 2.0". With the branched (or sort of) language pack, we will be able to remove the files not used in Moodle 2.0

Show
Koen Roggemans added a comment - As it stands now, in the pre Moodle 2.0-situation, we will need the files on both locations for backwards compatability. So I suggest create the qtype_folder cp the file leave the rest as it is "will be solved in Moodle 2.0". With the branched (or sort of) language pack, we will be able to remove the files not used in Moodle 2.0
Hide
Koen Roggemans added a comment -

Can someone comment on litle script to fix the language packes please? A way of making a loop through all langauage files would be nice too:

mkdir qtype_calculated
mkdir qtype_description
mkdir qtype_essay
mkdir qtype_match
mkdir qtype_multianswer
mkdir qtype_multichoice
mkdir qtype_numerical
mkdir qtype_randomsamatch
mkdir qtype_shortanswer
mkdir qtype_truefalse
cp calculated.html qtype_calculated/calculated.html
cp description.html qtype_description/description.html
cp essay.html qtype_essay/essay.html
cp match.html qtype_match/match.html
cp multianswer.html qtype_multianswer/multianswer.html
cp multichoice.html qtype_multichoice/multichoice.html
cp numerical.html qtype_numerical/numerical.html
cp randomsamatch.html qtype_randomsamatch/randomsamatch.html
cp shortanswer.html qtype_shortanswer/shortanswer.html
cp truefalse.html qtype_truefalse/trufalse.html
cvs add qtype_calculated
cvs add qtype_description
cvs add qtype_essay
cvs add qtype_match
cvs add qtype_multianswer
cvs add qtype_multichoice
cvs add qtype_numerical
cvs add qtype_randomsamatch
cvs add qtype_shortanswer
cvs add qtype_truefalse
cvs add qtype_calculated/calculated.html
cvs add qtype_description/description.html
cvs add qtype_essay/essay.html
cvs add qtype_match/match.html
cvs add qtype_multianswer/multianswer.html
cvs add qtype_multichoice/multichoice.html
cvs add qtype_numerical/numerical.html
cvs add qtype_randomsamatch/randomsamatch.html
cvs add qtype_shortanswer/shortanswer.html
cvs add qtype_truefalse/truefalse.html
cvs commit -m "MDL-14594" qtype_calculated qtype_description qtype_essay qtype_match qtype_multianswer qtype_multichoice qtype_numerical qtype_randomsamatch qtype_shortanswer qtype_truefalse qtype_calculated/calculated.html qtype_description/description.html qtype_essay/essay.html qtype_match/match.html qtype_multianswer/multianswer.html qtype_multichoice/multichoice.html qtype_numerical/numerical.html qtype_randomsamatch/randomsamatch.html qtype_shortanswer/shortanswer.html qtype_truefalse/truefalse.html

Show
Koen Roggemans added a comment - Can someone comment on litle script to fix the language packes please? A way of making a loop through all langauage files would be nice too: mkdir qtype_calculated mkdir qtype_description mkdir qtype_essay mkdir qtype_match mkdir qtype_multianswer mkdir qtype_multichoice mkdir qtype_numerical mkdir qtype_randomsamatch mkdir qtype_shortanswer mkdir qtype_truefalse cp calculated.html qtype_calculated/calculated.html cp description.html qtype_description/description.html cp essay.html qtype_essay/essay.html cp match.html qtype_match/match.html cp multianswer.html qtype_multianswer/multianswer.html cp multichoice.html qtype_multichoice/multichoice.html cp numerical.html qtype_numerical/numerical.html cp randomsamatch.html qtype_randomsamatch/randomsamatch.html cp shortanswer.html qtype_shortanswer/shortanswer.html cp truefalse.html qtype_truefalse/trufalse.html cvs add qtype_calculated cvs add qtype_description cvs add qtype_essay cvs add qtype_match cvs add qtype_multianswer cvs add qtype_multichoice cvs add qtype_numerical cvs add qtype_randomsamatch cvs add qtype_shortanswer cvs add qtype_truefalse cvs add qtype_calculated/calculated.html cvs add qtype_description/description.html cvs add qtype_essay/essay.html cvs add qtype_match/match.html cvs add qtype_multianswer/multianswer.html cvs add qtype_multichoice/multichoice.html cvs add qtype_numerical/numerical.html cvs add qtype_randomsamatch/randomsamatch.html cvs add qtype_shortanswer/shortanswer.html cvs add qtype_truefalse/truefalse.html cvs commit -m "MDL-14594" qtype_calculated qtype_description qtype_essay qtype_match qtype_multianswer qtype_multichoice qtype_numerical qtype_randomsamatch qtype_shortanswer qtype_truefalse qtype_calculated/calculated.html qtype_description/description.html qtype_essay/essay.html qtype_match/match.html qtype_multianswer/multianswer.html qtype_multichoice/multichoice.html qtype_numerical/numerical.html qtype_randomsamatch/randomsamatch.html qtype_shortanswer/shortanswer.html qtype_truefalse/truefalse.html
Hide
Petr Škoda (skodak) added a comment -

we are very close to release, moving the target, sorry...

Show
Petr Škoda (skodak) added a comment - we are very close to release, moving the target, sorry...

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: