Skip to content

Improvements when saving translation file#290

Merged
infograf768 merged 2 commits intojoomla-projects:developfrom
infograf768:confirmtranslationsave
Mar 21, 2016
Merged

Improvements when saving translation file#290
infograf768 merged 2 commits intojoomla-projects:developfrom
infograf768:confirmtranslationsave

Conversation

@infograf768
Copy link
Contributor

This PR adds:
1_ A confirm dialog when saving and save and close an edited ini file to remind user to set as desired the "Complete" field.

screen shot 2016-03-21 at 11 53 10

2_ A Notice, after saving the file, stating if the "Complete" status has been set or not.

screen shot 2016-03-21 at 11 53 56

3_ It changes the Complete field from a checkbox to a radio type yes/No

screen shot 2016-03-21 at 11 55 27

@infograf768
Copy link
Contributor Author

@Valc
@andrepereiradasilva

To test, install the patched version of com_localise with 2 languages and edit one ini file from the Translations view (test with a non en-GB file).

COM_LOCALISE_LABEL_TRANSLATION_SOURCE_DESC="Press Ctrl-Q to toggle Full Screen editing."
COM_LOCALISE_LABEL_TRANSLATION_VERSION="Version"
COM_LOCALISE_LABEL_TRANSLATION_VERSION_DESC=""
COM_LOCALISE_NOTICE_TRANSLATION_COMPLETE="The transation file has been saved as 'Complete'."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translation

note the missing l

@Valc
Copy link
Contributor

Valc commented Mar 21, 2016

Good idea.
Here it is working fine.

infograf768 added a commit that referenced this pull request Mar 21, 2016
Improvements when saving translation file
@infograf768 infograf768 merged commit 946e631 into joomla-projects:develop Mar 21, 2016
@andrepereiradasilva
Copy link
Contributor

@infograf768 IMHO i think we need to revise this repository structure so we can use the patchtester to test this repository PR. It will be a lot simpler to test PR.

I think what is need is to change the administrator folder, from "component/admin" to "administrator/components/com_localise" and update the files that reference that folder.

See the structure of the patchtester repository for more info https://github.com/joomla-extensions/patchtester

@infograf768 infograf768 deleted the confirmtranslationsave branch March 21, 2016 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants