Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localization to Brazilian Portuguese #6

Open
wants to merge 54 commits into
base: master
Choose a base branch
from

Conversation

oscarnogueira
Copy link

Just adding the file pt-BR.yml

dro123 and others added 12 commits December 30, 2012 22:44
This makes sure the plugin plays nice with other plugins

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Rename everything to 'meeting_room_calendar_xxx' or 'MeetingRoomCalendarXxx'

Signed-off-by: Tobias Droste <tdroste@gmx.de>
This updates the views to Rails >= 3 and adds
localizations for all texts/dates in English
and German.

Additionally this removes unneeded fields in
the 'create new' and 'update' meeting formular.

Fixed:
Loading more than 50 meetings.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
This adds plugin settings for
 - Project ID
 - Tracker ID
 - CustomFields IDs
 - Show project menu (yes/no)

These can be changed in admin -> plugins ->
redmine_meeting_room configuration.

If nothing is configured a warning is displayed
instead of a 'Internal error 500' message.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
This requires that REST webservice authentication is
enabled:
  Administration -> Settings -> Authentication

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Fixes an error that occurs if the custom field ID
of the room is not 5.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
@oscarnogueira oscarnogueira changed the title Add localization to Brazilian Portugues Add localization to Brazilian Portuguese Apr 11, 2014
dro123 and others added 17 commits April 19, 2014 03:31
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
There's a new option in the plugin settings which enables the
category selection list for meetings. This also enables different
css styles for entries with different categories.

To define which category should be displayed you have to edit
assets/stylesheets/meeting_calendar.css
and add a entry like
.fc-agenda .category_<cid> .fc-event-time, .category_<cid> .fc-event-inner, .category_<cid> a
{
  background-color: #<color>;
}
for every category.

<cid> is the category id which can be obtained by editing the
category. The URL contains the category id.
(e.g. http://[...]/issue_categories/1/edit means <cid>=1)

Signed-off-by: Tobias Droste <tdroste@gmx.de>
- Replace double with single quotes
- Remove unneeded parenthesis
- Replace 'if !x' with 'unless x'

Signed-off-by: Tobias Droste <tdroste@gmx.de>
In the plugins settings there's now a possibility to select multiple projects.
Additionally there are two new options to hide the project selection list and
the room selection list from the meeting_room calendar page.

What's not perfect here is that the rooms are the same for all projects.

There's also a new route added to routes.rb so that
http://[...]/meeting_room_calendar/<project_id>
links directly to the project with id <project_id>.
E.g. http://[..]/meeting_room_calendar/2 will directly fill the calendar
with issues from project '2'.
The issue status for new meetings can now be set in the plugin configuration.
If you for example have some reminder for open issues, you could set the default
issue status to closed so that they will not produce mails for past meetings

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
This adds two options, one to allow drag and drop
and a second one to allow resizing of bookings
with the mouse.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
… rooms

The calendar now respects the user roles and permissions and only shows the projects
the user has access to.
Be aware, that now each user that wants to create, update and delete bookings has
to have these rights for the project! (Administration->Roles and permissions).

Signed-off-by: Tobias Droste <tdroste@gmx.de>
This adds class names to each calendar entry to change the format based on the status
of the ticket.
The CSS classes are called tracker_status_<id> where <id> is the id of the current status.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Thanks to @1dot44mb for this.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Rails 4 disallows 'match' in routes.rb without specifying the http method.
Replace all 'match' with 'get'.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Tested with redmine 3.0.1, works without problems.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Translated Portuguese Brazil
@dro123 dro123 force-pushed the master branch 2 times, most recently from 28bd1aa to a3a5647 Compare September 26, 2015 18:31
This commit does several things:
* Update documentation
* Update FullCalendar, jQuery.qtip and jQuery.alerts libraries
* Make the plugin work again with the new libraries
* Rework localization (see documentation)
* Add an option to allow bookings spanning multiple days
* Add an option to show the ticket ID and a link to the ticket
* Disallow adding/editing/deleting while loading
* JS cleanups

INFO: Due to the new libraries the CSS changed as well!

Signed-off-by: Tobias Droste <tdroste@gmx.de>
dro123 and others added 24 commits October 28, 2015 23:13
During reefactoring the file lost it file ending and the plugin installation
is not working this way.

Add back .rb file ending to the db migrate script.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Added author_url for easy search code from Redmine
This adds an plugin settiing to show weekends
and allow bookings on weekends.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Provided by @dellui in issue #45.
Thanks.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Some of the labels were coming up in Italian by default. The fix should revert it back to English
Updated the incorrect language identifier
rails 5.1+ & redmine 4.1 compatibility
compatibility redmine 4.1. Migration works
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.

None yet

10 participants