Page 1 of 1

OpenKM 5.1.10 Migration Spelling Correction

PostPosted:Sun Jul 01, 2012 6:57 am
by Alexires
In the migration guide, it tells you to insert the following queries into the Admin panel:
Code: Select all
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.document', 'Are you sure to move document ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.folder', 'Are you sure to move folder ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.mail', 'Are you sure to move e-mail ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.category.delete', 'Are you sure deleting category ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.keyword.delete', 'Are you sure deleting keyword ?', 'en-GB');
To make grammatical sense, this should read:
Code: Select all
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.document', 'Are you sure you want to move this document ?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.folder', 'Are you sure you want to move this folder?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.dragdrop.mail', 'Are you sure you want to move this e-mail?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.category.delete', 'Are you sure you want to delete this category?', 'en-GB');
INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'confirm.keyword.delete', 'Are you sure you want to delete this keyword?', 'en-GB');
I've just changed the confirmation notice. I thought you might want a heads up...

Re: OpenKM 5.1.10 Migration Spelling Correction

PostPosted:Sun Jul 01, 2012 5:18 pm
by jllort
Thanks, we have changed in wiki and in translation file.

Re: OpenKM 5.1.10 Migration Spelling Correction

PostPosted:Mon Jul 02, 2012 5:19 am
by okmuser
Hi,

Can you please also check confirmation on notes deletion.

It says 'confirm.delete.note' rather than 'Are you sure to delete the notes?' (or "Confirm Delete ?")

Alexires, although it is a personal preference, I would like to see simple confirmations "Confirm Move?" "YES" or "NO" - as this can be implemented to any move operations, eg. folders, documents, emails, categories....

Cheers,
OKMUser

Re: OpenKM 5.1.10 Migration Spelling Correction

PostPosted:Wed Jul 04, 2012 6:03 pm
by jllort
In administration - languages - you can change any translation, there's no limit for doing it.

About the error confirm.delete.note it's caused because the translation is not set ( sometimes because has been upgraded application but not translation files ), you should upgrade translation files.

Re: OpenKM 5.1.10 Migration Spelling Correction

PostPosted:Fri Jul 06, 2012 10:50 am
by Alexires
okmuser - I was just making what they originally had in the wiki more correct grammatically. If you don't like the way it asks your permission to do things, talk with jllort or pavila about it :p

Re: OpenKM 5.1.10 Migration Spelling Correction

PostPosted:Sat Jul 14, 2012 9:30 am
by pavila
Comments and fixs are always welcome :wink: