[dw-free] Remove unused categories in the customization wizard
[commit: http://hg.dwscoalition.org/dw-free/rev/fd42aca8b1a4]
http://bugs.dwscoalition.org/show_bug.cgi?id=873
Remove unused categories in the customization wizard.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=873
Remove unused categories in the customization wizard.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/en.dat
- cgi-bin/LJ/Customize.pm
-------------------------------------------------------------------------------- diff -r 59215454fe9b -r fd42aca8b1a4 bin/upgrading/en.dat --- a/bin/upgrading/en.dat Sat Apr 18 04:42:53 2009 +0000 +++ b/bin/upgrading/en.dat Sat Apr 18 06:32:53 2009 +0000 @@ -620,49 +620,11 @@ crumb.yourstyles=Your Styles customize.cats.all=All -customize.cats.animals=Animals - -customize.cats.clean=Clean/Simple - -customize.cats.cool=Cool Colors - customize.cats.custom=Your Custom Layers -customize.cats.cute=Cute - -customize.cats.dark=Dark Colors - customize.cats.featured=Featured -customize.cats.food=Food/Drink - -customize.cats.hobbies=Hobbies - -customize.cats.illustrated=Illustrated - -customize.cats.media=Media - -customize.cats.modern=Modern - -customize.cats.nature=Nature - -customize.cats.occasions=Occasions - -customize.cats.pattern=Pattern/Texture - customize.cats.special=Special - -customize.cats.sponsors=Sponsor's - -customize.cats.sup=Minimalism - -customize.cats.tech=Tech - -customize.cats.travel=Travel - -customize.cats.warm=Warm Colors - -customize.cats.writing=Writing customize.layoutname.default=(Unnamed - [[layoutid]]) diff -r 59215454fe9b -r fd42aca8b1a4 cgi-bin/LJ/Customize.pm --- a/cgi-bin/LJ/Customize.pm Sat Apr 18 04:42:53 2009 +0000 +++ b/cgi-bin/LJ/Customize.pm Sat Apr 18 06:32:53 2009 +0000 @@ -667,60 +667,6 @@ sub get_cats { main => 1, order => 4, }, - sup => { - text => LJ::Lang::ml('customize.cats.sup'), - }, - animals => { - text => LJ::Lang::ml('customize.cats.animals'), - }, - clean => { - text => LJ::Lang::ml('customize.cats.clean'), - }, - cool => { - text => LJ::Lang::ml('customize.cats.cool'), - }, - warm => { - text => LJ::Lang::ml('customize.cats.warm'), - }, - cute => { - text => LJ::Lang::ml('customize.cats.cute'), - }, - dark => { - text => LJ::Lang::ml('customize.cats.dark'), - }, - food => { - text => LJ::Lang::ml('customize.cats.food'), - }, - hobbies => { - text => LJ::Lang::ml('customize.cats.hobbies'), - }, - illustrated => { - text => LJ::Lang::ml('customize.cats.illustrated'), - }, - media => { - text => LJ::Lang::ml('customize.cats.media'), - }, - modern => { - text => LJ::Lang::ml('customize.cats.modern'), - }, - nature => { - text => LJ::Lang::ml('customize.cats.nature'), - }, - occasions => { - text => LJ::Lang::ml('customize.cats.occasions'), - }, - pattern => { - text => LJ::Lang::ml('customize.cats.pattern'), - }, - tech => { - text => LJ::Lang::ml('customize.cats.tech'), - }, - travel => { - text => LJ::Lang::ml('customize.cats.travel'), - }, - writing => { - text => LJ::Lang::ml('customize.cats.writing'), - }, ); LJ::run_hooks("modify_cat_list", \@categories, user => $u,); --------------------------------------------------------------------------------