translation

This commit is contained in:
crocsg 2024-10-02 19:40:52 +00:00
parent 5df632236a
commit 79b2d119d3
17 changed files with 234 additions and 53 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,123 @@
/* Compatability shim for jQuery and underscores.js.
*
* Copyright Sphinx contributors
* Released under the two clause BSD licence
*/
/**
* small helper function to urldecode strings
*
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
*/
jQuery.urldecode = function(x) {
if (!x) {
return x
}
return decodeURIComponent(x.replace(/\+/g, ' '));
};
/**
* small helper function to urlencode strings
*/
jQuery.urlencode = encodeURIComponent;
/**
* This function returns the parsed url parameters of the
* current request. Multiple values per key are supported,
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s === 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
for (var i = 0; i < parts.length; i++) {
var tmp = parts[i].split('=', 2);
var key = jQuery.urldecode(tmp[0]);
var value = jQuery.urldecode(tmp[1]);
if (key in result)
result[key].push(value);
else
result[key] = [value];
}
return result;
};
/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node, addItems) {
if (node.nodeType === 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 &&
!jQuery(node.parentNode).hasClass(className) &&
!jQuery(node.parentNode).hasClass("nohighlight")) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className;
}
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
var bbox = node.parentElement.getBBox();
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
addItems.push({
"parent": node.parentNode,
"target": rect});
}
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this, addItems);
});
}
}
var addItems = [];
var result = this.each(function() {
highlight(this, addItems);
});
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
};
/*
* backward compatibility for jQuery.browser
* This will be supported until firefox bug is fixed.
*/
if (!jQuery.browser) {
jQuery.uaMatch = function(ua) {
ua = ua.toLowerCase();
var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[];
return {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
};
jQuery.browser = {};
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
}

2
docs/_build/gettext/_static/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: BrailleRap 6.6.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-04 20:40+0000\n"
"POT-Creation-Date: 2024-10-02 19:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -1462,7 +1462,6 @@ msgstr ""
msgid "coté moteur"
msgstr ""
#: ../../assemblage.rst:1358
#: ../../assemblage.rst:1358
msgid "1"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: BrailleRap 6.6.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-04 19:51+0000\n"
"POT-Creation-Date: 2024-10-02 19:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -61,8 +61,11 @@ msgid "2 planches de contreplaqué 5mm en 900mm x 400mm."
msgstr ""
#: ../../bom.rst:20
msgid "lasercut/brapxl-v6.6-planche1_900x400.svg"
msgstr ""
#: ../../bom.rst:21
msgid "lasercut/.svg"
msgid "lasercut/brapxl-v6-6-planche2_900x400.svg"
msgstr ""
#: ../../bom.rst:24
@ -113,6 +116,11 @@ msgstr ""
#: ../../bom.rst:80
#: ../../bom.rst:85
#: ../../bom.rst:87
#: ../../bom.rst:113
#: ../../bom.rst:114
#: ../../bom.rst:116
#: ../../bom.rst:117
#: ../../bom.rst:118
msgid "1"
msgstr ""
@ -130,6 +138,8 @@ msgstr ""
#: ../../bom.rst:79
#: ../../bom.rst:82
#: ../../bom.rst:83
#: ../../bom.rst:112
#: ../../bom.rst:115
msgid "2"
msgstr ""
@ -247,6 +257,30 @@ msgstr ""
msgid "Electronique"
msgstr ""
#: ../../bom.rst:113
msgid "2 Moteurs Nema 17 40 N/cm 40mm avec câble (17HS4401) 1 Electro-aimant *tau-826b* 12V 2A 1 MKS GEN 1.4 ou carte compatible Ramps 1.4 ou MKS GEN L 2.1 https://github.com/makerbase-mks 2 drivers DRV8825 avec radiateur 1 1N4004 diode de roue libre ou equivalent (12V 2A) (pour MKS GEN 1.4) 1 Embase Alimentation jack 2.5 1 Alimentation 12v 6A === ==========================================================================================="
#: ../../bom.rst:112
msgid "Moteurs Nema 17 40 N/cm 40mm avec câble (17HS4401)."
msgstr ""
#: ../../bom.rst:113
msgid "Electro-aimant *tau-826b* 12V 2A."
msgstr ""
#: ../../bom.rst:114
msgid "MKS GEN 1.4 ou carte compatible Ramps 1.4 ou MKS GEN L 2.1 https://github.com/makerbase-mks."
msgstr ""
#: ../../bom.rst:115
msgid "drivers DRV8825 avec radiateur."
msgstr ""
#: ../../bom.rst:116
msgid "1N4004 diode de roue libre ou equivalent (12V 2A) (pour MKS GEN 1.4)."
msgstr ""
#: ../../bom.rst:117
msgid "Embase Alimentation jack 2.5."
msgstr ""
#: ../../bom.rst:118
msgid "Alimentation 12v 6A."
msgstr ""

View File

@ -99,7 +99,7 @@ locale_dirs = [
'locale/',
]
gettext_compact = False
gettext_uuid = True
gettext_uuid = False
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .

View File

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-07-04 19:51+0000\n"
"POT-Creation-Date: 2024-10-02 19:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.1\n"
"Generated-By: Babel 2.16.0\n"
# Stephane <contact@braillerap.org>, 2018.
#: ../../bom.rst:2
@ -42,7 +42,6 @@ msgstr "The dxf files are availables here : "
msgid "https://github.com/BrailleRap/BrailleRap/tree/master/lasercut"
msgstr "https://github.com/BrailleRap/BrailleRap/tree/master/lasercut"
#: ../../bom.rst:12
msgid "lasercut/Braillerap_v6-5-1_600x400-planche1.svg"
msgstr "lasercut/Braillerap_v6-5-1_600x400-planche1.svg"
@ -59,9 +58,15 @@ msgstr "For BrailleRAP XL"
msgid "2 planches de contreplaqué 5mm en 900mm x 400mm."
msgstr "2 900mm x 400mm 5mm plywood sheets"
#: ../../bom.rst:20 ../../bom.rst:21
msgid "lasercut/.svg"
msgstr "lasercut/.svg"
#: ../../bom.rst:20
#, fuzzy
msgid "lasercut/brapxl-v6.6-planche1_900x400.svg"
msgstr "lasercut/Braillerap_v6-5-1_600x400-planche1.svg"
#: ../../bom.rst:21
#, fuzzy
msgid "lasercut/brapxl-v6-6-planche2_900x400.svg"
msgstr "lasercut/Braillerap_v6-5-1-600x400-planche2.svg"
#: ../../bom.rst:24
msgid "Pièces imprimées"
@ -105,7 +110,8 @@ msgid "Rail de guidage linéaire ( diamètre 8mm ) **330 mm** length"
msgstr "Linear rod 8mm diameter **330 mm** length"
#: ../../bom.rst:40 ../../bom.rst:41 ../../bom.rst:59 ../../bom.rst:60
#: ../../bom.rst:80 ../../bom.rst:85 ../../bom.rst:87
#: ../../bom.rst:80 ../../bom.rst:85 ../../bom.rst:87 ../../bom.rst:113
#: ../../bom.rst:114 ../../bom.rst:116 ../../bom.rst:117 ../../bom.rst:118
msgid "1"
msgstr "1"
@ -118,7 +124,7 @@ msgid "Rail de guidage linéaire ( diamètre 8mm ) **100 mm** length"
msgstr "Linear rod 8mm diameter **100 mm** length"
#: ../../bom.rst:43 ../../bom.rst:62 ../../bom.rst:79 ../../bom.rst:82
#: ../../bom.rst:83
#: ../../bom.rst:83 ../../bom.rst:112 ../../bom.rst:115
msgid "2"
msgstr "2"
@ -229,6 +235,7 @@ msgid ""
msgstr ""
"MKS GEN-L (Mega2560) board and 2 DRV8825 drivers https://github.com"
"/makerbase-mks"
#: ../../bom.rst:101
msgid ""
"Une carte MKS TinyBee (ESP32) et 2 drivers TMC2209 https://github.com"
@ -241,56 +248,72 @@ msgstr ""
msgid ""
"D'autres configuration sont possibles, mais vous devrez effectuer la "
"configuration du firmware vous même"
msgstr "Many other board configuration are availables. But you will need to build a firmware for it."
msgstr ""
"Many other board configuration are availables. But you will need to build"
" a firmware for it."
#: ../../bom.rst:107
msgid "Electronique"
msgstr "Electronics"
#: ../../bom.rst:112
msgid "Moteurs Nema 17 40 N/cm 40mm avec câble (17HS4401)."
msgstr "Nema 17 Motors 40N/cm 40mm with wire (17hs4401)"
#: ../../bom.rst:113
msgid "Electro-aimant *tau-826b* 12V 2A."
msgstr "Solenoid *tau-826b* 12V 2A."
#: ../../bom.rst:114
msgid ""
"2 Moteurs Nema 17 40 N/cm 40mm avec câble (17HS4401) 1 Electro-aimant"
" *tau-826b* 12V 2A 1 MKS GEN 1.4 ou carte compatible Ramps 1.4 ou MKS "
"GEN L 2.1 https://github.com/makerbase-mks 2 drivers DRV8825 avec "
"radiateur 1 1N4004 diode de roue libre ou equivalent (12V 2A) (pour "
"MKS GEN 1.4) 1 Embase Alimentation jack 2.5 1 Alimentation 12v 6A ==="
" "
"==========================================================================================="
"MKS GEN 1.4 ou carte compatible Ramps 1.4 ou MKS GEN L 2.1 "
"https://github.com/makerbase-mks."
msgstr ""
"2 Nema 17 40 N/cm 40mm with wire (17HS4401)"
"1 Solenoid *tau-826b* 12V 2A"
"1 MKS GEN 1.4 or equivalent board Ramps 1.4 ou MKS GEN L 2.1 https://github.com/makerbase-mks"
"2 DRV8825 drivers with dissipator"
"1 1N4004 diode de roue libre ou equivalent (12V 2A) (for MKS GEN 1.4)"
"1 Power supply Female jack 2.5"
"1 Power supply 12v 6A"
" "
"==========================================================================================="
"MKS GEN 1.4 board or Ramps 1.4 compatible or MKS GEN L 2.1 "
"https://github.com/makerbase-mks."
#msgid ""
#"MKS GEN 1.4 ou carte compatible "
#"Ramps 1.4 ou MKS GEN L 2.1 "
#"https://github.com/makerbase-mks"
#msgstr ""
#"MKS GEN 1.4 or Ramps 1.4 "
#"compatible or MKS GEN L 2.1 "
#"https://github.com/makerbase-mks"
#: ../../bom.rst:115
msgid "drivers DRV8825 avec radiateur."
msgstr "DRV8825 drivers with dissipator"
#msgid "drivers DRV8825 avec radiateur"
#msgstr "DRV8825 drivers with cooling radiator"
#: ../../bom.rst:116
msgid "1N4004 diode de roue libre ou equivalent (12V 2A) (pour MKS GEN 1.4)."
msgstr "free wheel diod 1n4004 or equivalent (12v 2A) (only for MKS GEN 1.4)"
#msgid "Moteurs Nema 17 40 N/cm 40mm avec câble (17HS4401)"
#msgstr "Nema 17 40 N/cm with wire (17HS4401)"
#: ../../bom.rst:117
msgid "Embase Alimentation jack 2.5."
msgstr "Power supply female jack 2.5"
#msgid "Electro-aimant *tau-826b* 12V 2A"
#msgstr "Solenoid *tau-826* 12V 2A"
#: ../../bom.rst:118
msgid "Alimentation 12v 6A."
msgstr "12V 6A power supply"
#msgid "1N4004 diode de roue libre ou equivalent (12V 2A) (pour MKS GEN 1.4)"
#msgstr "1N4004 flyback diode (12V 2A) (only for MKS GEN 1.4)"
#~ msgid "lasercut/.svg"
#~ msgstr "lasercut/.svg"
#msgid "Embase Alimentation jack 2.5"
#msgstr "jack 2.5mm Power supply connector"
#msgid "Alimentation 12v 6A"
#msgstr "12V 6A Power supply"
#~ msgid ""
#~ "2 Moteurs Nema 17 40 N/cm 40mm"
#~ " avec câble (17HS4401) 1 Electro-"
#~ "aimant *tau-826b* 12V 2A 1 MKS"
#~ " GEN 1.4 ou carte compatible Ramps"
#~ " 1.4 ou MKS GEN L 2.1 "
#~ "https://github.com/makerbase-mks 2 drivers "
#~ "DRV8825 avec radiateur 1 1N4004 diode"
#~ " de roue libre ou equivalent (12V "
#~ "2A) (pour MKS GEN 1.4) 1 Embase"
#~ " Alimentation jack 2.5 1 Alimentation "
#~ "12v 6A === "
#~ "==========================================================================================="
#~ msgstr ""
#~ "2 Nema 17 40 N/cm 40mm with "
#~ "wire (17HS4401)1 Solenoid *tau-826b* "
#~ "12V 2A1 MKS GEN 1.4 or "
#~ "equivalent board Ramps 1.4 ou MKS "
#~ "GEN L 2.1 https://github.com/makerbase-mks2"
#~ " DRV8825 drivers with dissipator1 "
#~ "1N4004 diode de roue libre ou "
#~ "equivalent (12V 2A) (for MKS GEN "
#~ "1.4)1 Power supply Female jack 2.51"
#~ " Power supply 12v 6A "
#~ "==========================================================================================="