Skip to content

Commit

Permalink
Item8884: deprecated oopschangelanguage template - no longer used
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@7931 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jun 27, 2010
1 parent ecf1c65 commit ce1507b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
1 change: 0 additions & 1 deletion core/data/System/Skins.txt
Expand Up @@ -53,7 +53,6 @@ The following template names are used for Foswiki screens, and are referenced in
* =no_such_topic=, =no_such_web=, =only_group=, =topic_access=
* =oopsattention= - used to format Attention messages
* =already_exists=, =bad_email=, =bad_ver_code=, =bad_wikiname=, =base_web_missing=, =confirm=, =created_web=, =delete_err=, =invalid_web_color=, =invalid_web_name=, =in_a_group=, =mandatory_field=, =merge_notice=, =missing_action=, =missing_fields=, =move_err=, =missing_action=, =no_form_def=, =no_users_to_reset=, =not_a_user=, =oversized_upload=, =password_changed=, =password_mismatch=, =problem_adding=, =remove_user_done=, =rename_err=, =rename_not_wikiword=, =rename_topic_exists=, =rename_web_err=, =rename_web_exists=, =rename_web_prerequisites=, =reset_bad=, =reset_ok=, =save_error=, =send_mail_error=, =thanks=, =topic_exists=, =unrecognized_action=, =upload_name_changed=, =web_creation_error=, =web_exists=, =web_missing=, =wrong_password=, =zero_size_upload=
* =oopschangelanguage= - used to prompt for a new language when internationalisation is enabled
* =oopsgeneric= - a basic dialog for user information; provides "ok" button only
* =oopslanguagechanged= - used to confirm a new language when internationalisation is enabled
* =oopsleaseconflict= - used to format lease Conflict messages
Expand Down
27 changes: 1 addition & 26 deletions core/templates/oopschangelanguage.tmpl
@@ -1,26 +1 @@
%{ This is a default template }%%TMPL:INCLUDE{"foswiki"}%
%TMPL:DEF{"titleaction"}% %MAKETEXT{"(change language)"}% %TMPL:END%
%TMPL:DEF{"webaction"}%%TMPL:END%
%TMPL:DEF{"heading"}%%MAKETEXT{"Change language"}%%TMPL:END%

%TMPL:DEF{"languagenotes"}%
%ICON{info}% %MAKETEXT{"You can set your favorite language permanently by setting the [_1] variable in your user topic." args="*LANGUAGE*"}%
%TMPL:END%

%TMPL:DEF{"content"}%

%MAKETEXT{"Foswiki's user interface is available in several languages. If you want to change the language for this session, choose one of the following and hit \"Change language\". Otherwise, follow the \"Cancel\" link on the bottom of the page to return to the previous topic."}%

<center>
<form action="%SCRIPTURLPATH{"oops"}%/%WEB%/%TOPIC%" method="post">
<select name="language">
%LANGUAGES{format="<option $marker value='$langtag'>$langname</option>" selection="%LANGUAGE%"}%
</select>
<input type="hidden" name="template" value="oopslanguagechanged"/>
<input type="submit" class="foswikiSubmit" value=' %MAKETEXT{"Change language"}% ' />
</form>
</center>

%TMPL:P{"languagenotes"}%
%TMPL:P{"topicinfo"}%
%TMPL:END%
%{ This template is no longer used, and will be removed in a future release }%

0 comments on commit ce1507b

Please sign in to comment.