Project

General

Profile

Development #12965

traduire les messages retournés par leaflet sur les erreurs de géoloc

Added by Frédéric Péters (de retour le 10/10) about 6 years ago. Updated almost 6 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
Start date:
26 August 2016
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

        _handleGeolocationError: function (error) {
                var c = error.code,
                    message = error.message ||
                            (c === 1 ? 'permission denied' :
                            (c === 2 ? 'position unavailable' : 'timeout'));

                if (this._locateOptions.setView && !this._loaded) {
                        this.fitWorld();
                }

                this.fire('locationerror', {
                        code: c,
                        message: 'Geolocation error: ' + message + '.'
                });
        },

Files

0001-misc-translate-geolocation-error-messages-12965.patch (2.79 KB) 0001-misc-translate-geolocation-error-messages-12965.patch Frédéric Péters (de retour le 10/10), 02 September 2016 03:11 PM

Associated revisions

Revision 8f41ba60 (diff)
Added by Frédéric Péters (de retour le 10/10) about 6 years ago

misc: translate geolocation error messages (#12965)

History

#2

Updated by Benjamin Dauvergne about 6 years ago

Ack.

#3

Updated by Frédéric Péters (de retour le 10/10) about 6 years ago

  • Status changed from En cours to Résolu (à déployer)
commit 8f41ba6076b283ea897887ef4c3f696e7415e5ff
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Fri Sep 2 15:10:59 2016 +0200

    misc: translate geolocation error messages (#12965)
#4

Updated by Frédéric Péters (de retour le 10/10) almost 6 years ago

  • Target version set to v1.59
#5

Updated by Frédéric Péters (de retour le 10/10) almost 6 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF