[chirp_devel] [PATCH] [uv-b5] Add instructions for clone mode
# HG changeset patch # User Marco Filippi iz3gme.marco@gmail.com # Date 1382020000 -7200 # Node ID 7cdd91f28568ab1723e83ab5eacd4e37badabdb7 # Parent b989118832cb7d4a7586f026f9f205313234ea69 [uv-b5] Add instructions for clone mode part of feature #1163
diff --git a/chirp/uvb5.py b/chirp/uvb5.py --- a/chirp/uvb5.py +++ b/chirp/uvb5.py @@ -19,6 +19,7 @@ RadioSettingValueBoolean, RadioSettingValueList, \ RadioSettingValueInteger, RadioSettingValueString, \ RadioSettingValueFloat +from textwrap import dedent
mem_format = """ struct memory { @@ -231,6 +232,29 @@
_memsize = 0x1000
+ @classmethod + def get_prompts(cls): + rp = chirp_common.RadioPrompts() + rp.pre_download = _(dedent("""\ + 1. Turn radio off. + 2. Connect cable to mic/spkr connector. + 3. Make sure connector is firmly connected. + 4. Turn radio on. + 5. Make sure CTCSS in current channel is turned off or move + to other channel with CTCSS turned off. + 6. Make sure there is no receiving signal on current channel. + 7. Click OK to download image from device.""")) + rp.pre_upload = _(dedent("""\ + 1. Turn radio off. + 2. Connect cable to mic/spkr connector. + 3. Make sure connector is firmly connected. + 4. Turn radio on. + 5. Make sure CTCSS in current channel is turned off or move + to other channel with CTCSS turned off. + 6. Make sure there is no receiving signal on current channel. + 7. Click OK to upload image to device.""")) + return rp + def get_features(self): rf = chirp_common.RadioFeatures() rf.has_settings = True
On 18/10/2013 02:06, Dan Smith wrote:
Hi Marco!
6. Make sure there is no receiving signal on current channel.
This might be a little confusing for native speakers.
How about "Tune to a quiet channel"? Anyone else have a better short phrase for this?
Thanks!
And "Tune to a quiet channel where no signal opens the squelch"?
Any way, as usual, feel free to translate my itanglish before to commit :)
73 de IZ3GME Marco
The original was not that bad ;)
what about 6. Ensure that the radio is tuned to channel with no activity.
On Friday, October 18, 2013 4:00 AM, IZ3GME Marco iz3gme.marco@gmail.com wrote:
On 18/10/2013 02:06, Dan Smith wrote:
Hi Marco!
+ 6. Make sure there is no receiving signal on current channel.
This might be a little confusing for native speakers.
How about "Tune to a quiet channel"? Anyone else have a better short phrase for this?
Thanks!
And "Tune to a quiet channel where no signal opens the squelch"?
Any way, as usual, feel free to translate my itanglish before to commit :)
73 de IZ3GME Marco
_______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
participants (4)
-
Dan Smith
-
IZ3GME Marco
-
Jens J.
-
Marco Filippi IZ3GME