Closed (fixed)
Project:
Language Icons
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Dec 2010 at 11:53 UTC
Updated:
3 Jan 2011 at 15:10 UTC
Jump to comment: Most recent file
I ran the 6.x-2.x code through http://upgrade.boombatower.com/ and this is what I got. Needs a bit of reviewing, but generally looks good.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 995446-05-upgrade_boombatower_com-d7.patch | 4.69 KB | Freso |
| #1 | 995446-01-upgrade_boombatower_com-d7.patch | 4.63 KB | Freso |
| languageicons-d6-d7-update.patch | 13.83 KB | Freso |
Comments
Comment #1
Freso commentedI still need to figure out whether to keep the suggested "admin/config/language/icons" instead of the current "admin/config/regional/language/icons". Probably not, but I'm having some issues with my development server, so... :/
Comment #2
klonosShouldn't all instances of
function languageicons_update_6xxx()change tofunction languageicons_update_7xxx()?Comment #3
klonos1. I think that it's more logical for the menu item to be placed in Regional settings -> Languages
2. The menu item should read 'Language icons' and not plain 'Icons', because there are a lot of projects out there aiming to add icons in various parts of the interface like in admin menu, config page etc. This would avoid future confusion.
Comment #4
Freso commentedNope: (hook_update_N documentation)
Yep, me too. I just didn't know why the script wanted to place it somewhere else, and since I couldn't check it out on a test site, I decided to let it stay until I'd tried it out. Which I have now. ;) It is back in its proper menu location now. :)
Hm. If this would be a source of confusion, then I believe the string should rather have a context added to it. Since the menu item is placed underneath "Language", it would be superfluous to have "Language icons" as a child of it... (IMHO) Either way, this is a new issue which in all cases should be opened on its own - feel free to do so, to open the discussion for everybody to join in on. :)
Comment #5
Freso commentedThe attached patch has been committed. Apart from the changes from upgrade.boombatower.com, I also removed a
variable_get()NULL default value and update the@todoforlanguageicons_update_6200().Comment #6
Freso commentedAnd here's the committed patch. :p
Comment #7
klonosHey Frederik, I somehow missed your replies in #4. I've created separate issues for these:
#1003152: Update numbers for the 7.x branch should be numbered 71xx (according to module's target core and major version number)
#1003260: Language icons link should be under Configuration -> Regional settings -> Languages
#1003278: Link text should be 'Language icons' & configuration page title should be 'Language icons settings/configuration'