Merge lp:~openerp-dev/openobject-addons/6.1-opw-581762-msh into lp:openobject-addons/6.1
Proposed by
Mohammed Shekha(Open ERP)
Status: | Approved |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | 7069 |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-581762-msh |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
21 lines (+3/-1) 1 file modified
share/static/src/js/share.js (+3/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581762-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+133240@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of translation of share link of share web-addons.
Demo :- Install share module and see the share link in sidebar in other language is not translatable.
Thanks.
To post a comment you must log in.
Unmerged revisions
- 7069. By Mohammed Shekha(Open ERP)
-
[FIX]Refixed the issue of translation of share link of share web-addons.
This merge seems to contain changes on the stock form view concerning the
traceability. You might want to resubmit a clean merge.
2012/11/7 Mohammed Shekha(Open ERP) <email address hidden>
> Mohammed Shekha(Open ERP) has proposed merging /code.launchpad .net/~openerp- dev/openobject- addons/ 6.1-opw- 581762- msh/+merge/ 133240 /code.launchpad .net/~openerp- dev/openobject- addons/ 6.1-opw- 581762- msh/+merge/ 133240 static/ src/js/ share.js' src/js/ share.js 2011-12-27 20:36:18 +0000 src/js/ share.js 2012-11-07 13:34:45 +0000 parent. action; web.DataSet( self, 'share.wizard', get_context( )); function( ) { items(' other', [{ sidebar_ click_share, stock_view. xml' view.xml 2012-03-02 15:26:24 +0000 view.xml 2012-11-07 13:34:45 +0000 "Traceability" colspan="2"/> available" colspan="2"/> traceability" traceability" traceability" traceability"
> lp:~openerp-dev/openobject-addons/6.1-opw-581762-msh into
> lp:openobject-addons/6.1.
>
> Requested reviews:
> OpenERP Core Team (openerp)
>
> For more details, see:
>
> https:/
>
> Hello,
>
> Fixed the issue of translation of share link of share web-addons.
>
> Demo :- Install share module and see the share link in sidebar in other
> language is not translatable.
>
> Thanks.
> --
>
> https:/
> You are subscribed to branch lp:openobject-addons/6.1.
>
> === modified file 'share/
> --- share/static/
> +++ share/static/
> @@ -1,6 +1,8 @@
>
> openerp.share = function(session) {
>
> +var _t = session.web._t;
> +
> function launch_wizard(self, view, user_type) {
> var action = view.widget_
> var Share = new session.
> view.dataset.
> @@ -50,7 +52,7 @@
> var self = this;
> has_share(
> self.add_
> - label: 'Share',
> + label: _t('Share'),
> callback: self.on_
> classname: 'oe-share',
> }]);
>
> === modified file 'stock/
> --- stock/stock_
> +++ stock/stock_
> @@ -331,8 +331,8 @@
> <group col="2" colspan="2">
> <separator string=
> <field name="stock_
> - <button name="action_
> string="Upstream Traceability" type="object" context="{'type': '', 'field':
> 'prodlot_id'}" icon="gtk-go-up" colspan="2"/>
> - <button name="action_
> string="Downstream Traceability" type="object" context="{'type':
> 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-down" colspan="2"/>
> + <button name="action_
> string="Upstream Traceability" type="object" context="{'type':
> 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-up" colspan="2"/>
> + <button name="action_
> string="Downstream Traceability" type="object" context="{'field':
> 'prodlot_id'}" icon="gtk-go-down" colspan="2"/>
> </group>
> <notebook colspan="4">
> <page string="Revisions">
>
>
>
-- www.agaplan. eu
Niels Huylebroeck
Lead Architect -- Agaplan
Tel. : +32 (0) 93 95 98 90
Web : http://