From 78e4a1dbb1fed0d321b529ccec007f3f6265ae0e Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 20:32:46 +0000 Subject: [PATCH 1/4] changelog updated --- README.md | 12 ++++++------ src/changelog.md | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 080d906..8896728 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,13 @@ The contents of this GitHub repository are used to build http://pinout.xyz and i Current known contributors are: -* de-DE - @rdmueller and KojoePi -* es-ES - @ResonantWave -* fr-FR - @RogueM -* it-IT - @LizardM4 -* tr-TR - @Ardakilic +* de - @rdmueller and @KojoePi +* es - @ResonantWave +* fr - @RogueM +* it - @LizardM4 +* tr - @Ardakilic -You should start by duplicating the `src/en` directory to the +If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate culture. For example if you want to create a German translation you would create the folder `src/de`. There are no plans to support cultures, so you can't have `src/fr-CA` ( sorry! ). diff --git a/src/changelog.md b/src/changelog.md index a8bc481..6845d8b 100644 --- a/src/changelog.md +++ b/src/changelog.md @@ -1,6 +1,9 @@ #Overlays History This document only logs the changes to the overlay files that are relevant for purposes of translations. See files history for further details! +Nov 14, 2015 +- major tweaks to i2c.md and related pins + Nov 12, 2015 - major tweaks to arduino-spi.md From ec4707d06c8ca7b8cd1a2e4e9faf76c2a5d36609 Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 21:00:41 +0000 Subject: [PATCH 2/4] added unit for pull-up value --- src/en/overlay/i2c.md | 2 +- src/en/pin/pin-3.md | 2 +- src/en/pin/pin-5.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/overlay/i2c.md b/src/en/overlay/i2c.md index ccbfd4a..00e5d2e 100644 --- a/src/en/overlay/i2c.md +++ b/src/en/overlay/i2c.md @@ -26,7 +26,7 @@ pin: The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega. -The i2c pins include a fixed 1.8k pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required. +The i2c pins include a fixed 1.8 kohms pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required. You can verify the address of connected I2C peripherals with a simple one-liner: diff --git a/src/en/pin/pin-3.md b/src/en/pin/pin-3.md index 4b47d26..3f1f9df 100644 --- a/src/en/pin/pin-3.md +++ b/src/en/pin/pin-3.md @@ -1,3 +1,3 @@ SDA (i2c Data) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). -SDA includes a fixed, 1.8k pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file +SDA includes a fixed, 1.8 kohms pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file diff --git a/src/en/pin/pin-5.md b/src/en/pin/pin-5.md index 2b03f53..814ea07 100644 --- a/src/en/pin/pin-5.md +++ b/src/en/pin/pin-5.md @@ -1,3 +1,3 @@ SCL (i2c Clock) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). -SCL includes a fixed, 1.8k pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file +SCL includes a fixed, 1.8 kohms pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file From 4ce55fe1682bacc1d90fee1bdb7997551e715f56 Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 21:30:44 +0000 Subject: [PATCH 3/4] retrofit of translatable strings into settings.yam all LANG --- src/de/settings.yaml | 7 +++++++ src/en/settings.yaml | 1 + src/es/settings.yaml | 7 +++++++ src/fr/settings.yaml | 11 +++++++++-- src/it/settings.yaml | 7 +++++++ src/tr/settings.yaml | 7 +++++++ 6 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/de/settings.yaml b/src/de/settings.yaml index 35991f0..73f3e9a 100644 --- a/src/de/settings.yaml +++ b/src/de/settings.yaml @@ -15,7 +15,14 @@ strings: - type_classic: 'Classic form-factor' - pin_header: '{} pin header' - uses_i2c: 'Uses I2C' +- uses_spi: 'Uses SPI' - wiring_pi_pin: 'Wiring Pi pin {}' +- uses_n_gpio_pins: ' Uses {} GPIO pins' +- bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' +- physical_pin_n: 'Physical pin {}' +- more_information: 'More Information' +- github_repository: 'GitHub Repository' +- buy_now: 'Buy Now' overlays: - ground - spi diff --git a/src/en/settings.yaml b/src/en/settings.yaml index 771fa4f..e11bff0 100644 --- a/src/en/settings.yaml +++ b/src/en/settings.yaml @@ -15,6 +15,7 @@ strings: - type_classic: 'Classic form-factor' - pin_header: '{} pin header' - uses_i2c: 'Uses I2C' +- uses_spi: 'Uses SPI' - wiring_pi_pin: 'Wiring Pi pin {}' - uses_n_gpio_pins: ' Uses {} GPIO pins' - bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' diff --git a/src/es/settings.yaml b/src/es/settings.yaml index 25c2250..d30820f 100644 --- a/src/es/settings.yaml +++ b/src/es/settings.yaml @@ -15,7 +15,14 @@ strings: - type_classic: 'formato clásico' - pin_header: '{} pin header' - uses_i2c: 'Usa I2C' +- uses_spi: 'Usa SPI' - wiring_pi_pin: 'Wiring Pi pin {}' +- uses_n_gpio_pins: ' Usa {} GPIO pins' +- bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' +- physical_pin_n: 'Physical pin {}' +- more_information: 'More Information' +- github_repository: 'GitHub Repository' +- buy_now: 'Buy Now' overlays: - ground - spi diff --git a/src/fr/settings.yaml b/src/fr/settings.yaml index ed8ee3c..e6a917d 100644 --- a/src/fr/settings.yaml +++ b/src/fr/settings.yaml @@ -10,12 +10,19 @@ url_suffix: urls: GND: masse strings: -- made_by: 'Produit {manufacturer}' +- made_by: 'produit {manufacturer}' - type_hat: 'format HAT' - type_classic: 'format Classic' - pin_header: '{} broches' - uses_i2c: 'bus I2C' -- wiring_pi_pin: 'Broche Wiring Pi {}' +- uses_spi: 'bus SPI' +- wiring_pi_pin: 'broche Wiring Pi {}' +- uses_n_gpio_pins: ' {} broches GPIO actives' +- bcm_pin_rev1_pi: 'broche BCM {} sur Raspi Rev 1' +- physical_pin_n: 'broche physique {}' +- more_information: 'plus d'information' +- github_repository: 'lien GitHub' +- buy_now: 'achat' overlays: - ground - spi diff --git a/src/it/settings.yaml b/src/it/settings.yaml index 6ef61b3..503b202 100644 --- a/src/it/settings.yaml +++ b/src/it/settings.yaml @@ -15,7 +15,14 @@ strings: - type_classic: 'Fattore di forma classico' - pin_header: '{} pin header' - uses_i2c: 'Utilizza I2C' +- uses_spi: 'Utilizza SPI' - wiring_pi_pin: 'Wiring Pi pin {}' +- uses_n_gpio_pins: ' Utilizza {} GPIO pins' +- bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' +- physical_pin_n: 'Physical pin {}' +- more_information: 'More Information' +- github_repository: 'GitHub Repository' +- buy_now: 'Buy Now' overlays: - ground - spi diff --git a/src/tr/settings.yaml b/src/tr/settings.yaml index 88ac8d1..540970e 100644 --- a/src/tr/settings.yaml +++ b/src/tr/settings.yaml @@ -14,7 +14,14 @@ strings: - type_classic: 'Classic form-factor' - pin_header: '{} pin header' - uses_i2c: 'Uses I2C' +- uses_spi: 'Uses SPI' - wiring_pi_pin: 'Wiring Pi pin {}' +- uses_n_gpio_pins: ' Uses {} GPIO pins' +- bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' +- physical_pin_n: 'Physical pin {}' +- more_information: 'More Information' +- github_repository: 'GitHub Repository' +- buy_now: 'Buy Now' overlays: - ground - spi From 93bd573ab3b35df8d0dfef5a6e30fb3fe55e9100 Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 21:47:40 +0000 Subject: [PATCH 4/4] parsing failure due to apostrophe fixed --- src/fr/settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/settings.yaml b/src/fr/settings.yaml index e6a917d..0b44022 100644 --- a/src/fr/settings.yaml +++ b/src/fr/settings.yaml @@ -20,7 +20,7 @@ strings: - uses_n_gpio_pins: ' {} broches GPIO actives' - bcm_pin_rev1_pi: 'broche BCM {} sur Raspi Rev 1' - physical_pin_n: 'broche physique {}' -- more_information: 'plus d'information' +- more_information: 'informations supplémentaires' - github_repository: 'lien GitHub' - buy_now: 'achat' overlays: