Commit graph

37106 commits

Author SHA1 Message Date
Solomon Peachy
dfe409c993 voice: Revert one of the changes made in b6053c4d54
We already voiced the full text displayed in that splash message.

Change-Id: I40cf3de9124f9614b139fae41c47ef2ce7fb227a
2024-05-19 21:05:43 -04:00
Solomon Peachy
27cb1abcec builds: Add disabled voice builds for Spanish, Estonian, and Czech
Including default voice selections

Note that piper does not have an Estonian voice option yet.

Change-Id: Ie3b9edcae222e70790eb01d38a13e2e69df8e7df
2024-05-18 10:45:36 -04:00
Solomon Peachy
76de880ee0 lang: Replace "DAC's" with "DAC" in English source.
Fix up the translations afterwards

Change-Id: I58594aa8022e071b2f1ccc071562de2512962b31
2024-05-17 08:31:09 -04:00
Solomon Peachy
8b1efab7a6 voice-corrections: move generic corrections to the END and document why
This is because a language may have a specific correction that should
take precedence over the global one, but if the global one is applied
first, then the language-specific correction gets skipped.

Change-Id: I45f736f20d6c83864df0bf764ca3d75ec4b9626a
2024-05-17 08:23:48 -04:00
Solomon Peachy
6c2f8f640f genlang: Strip _all_ leading '~' from dest/voice strings
(Instead of just the first)

Change-Id: I3c730fd4e570dc5ec77d63777c8499e81f1b0491
2024-05-17 08:07:58 -04:00
Solomon Peachy
1530bb4849 voice-corrections: Correct an error in English and sort languages alphabetically
('ADC' was being converted to 'A C C' for some reason..)

Change-Id: I0157813cad963cbfae3f63b00f0c75df01ec8e0c
2024-05-17 08:06:22 -04:00
Solomon Peachy
c615a02ee3 updatelang: Improve tests for illegal characters
Change-Id: I1a8ed93f1e7d6b449e634656c8ff087f28c259f5
2024-05-16 21:51:14 -04:00
Solomon Peachy
b9755a3085 A handful of language cleanups
Change-Id: If828e6c6d13ec8ef15d829d6c8fb950ad3af3f75
2024-05-16 21:51:14 -04:00
Solomon Peachy
eb71060e96 lang: Run the master English language file through a cleanup pass
Do a cleanup pass on english-US too.

Change-Id: I1b13d1c05585ef7258378d8a89bfe01cba0d7b36
2024-05-16 21:16:25 -04:00
Solomon Peachy
3a6ed727d4 lang: Add a special flag to differentiate "intentionally identical to english"
We normally treat "same as English" as a translation errors that needs to be
corrected.  However, many languages effectively use english words as-is, so
we need a way of distinguishing the "intentionally the same" situations with
our tools "automatically copying missing translated strings from English" to
avoid blank or missing UI strings.

The solution is to make sure these "intentionally same as english"
strings are actually different.  This will be accomplished by prepending
'~' to the these strings.  This special character is stripped from the
binary data files used by the player and the voice generation tools.

Change-Id: I90088cbd74de0e5cb9d65f75f26afe04f7e301bf
2024-05-16 20:40:37 -04:00
William Wilgus
9d3b012ac0 [BugFix, Asan] skin_tokens.c get_dir path name underrun
preventing multiple slashes reads prior to the buffer by 1 byte
when only a single slash exists

Change-Id: I1ce1dc8d754bf1c8798dc49f396c9142e4a6e49c
2024-05-13 17:19:45 -04:00
Christian Soffke
556b466f05 shortcuts: allow empty name for sleep shortcuts with default duration
missed this in f631bfe

Change-Id: Ifdb3ffc04b49133b770850b98399605c04742f6e
2024-05-13 21:26:30 +02:00
Solomon Peachy
b94e5d77fe Update English_US "translation"
Change-Id: I94bcbb86ab8421aee248553dc38fd13bb6573cf7
2024-05-13 14:21:26 -04:00
Solomon Peachy
08c35a2299 FS#13422: Update Polish Translation (Adam Rak)
Change-Id: Ida6a7315645102a27732dc66809dc9ee922f9b46
2024-05-13 14:21:26 -04:00
Christian Soffke
fdba79cd77 shortcuts: refactor sleeptimer / talk_timedate
move some functions around, with no effect on behavior

Change-Id: I4638a28f5ff2a851534a3dd696ea7e763029cb2f
2024-05-13 18:18:45 +02:00
Christian Soffke
8eeef333a1 shortcuts: add 'reboot' type
Enabled by d55dcef

Change-Id: I689e289feb4715aab603bae4a6855cf5e227562b
2024-05-13 18:06:55 +02:00
Christian Soffke
f631bfe5b4 shortcuts: sleep timer: allow omitting number of minutes
'sleep' can now appear in the data field of a 'time' shortcut
without being followed by a number, allowing you to stop a
running timer, or to start a new one using the default sleep
timer duration (the duration setting can already be added to
the Shortcuts menu as well).

Also see here:
https://forums.rockbox.org/index.php/topic,54312.msg250940.html

Change-Id: I9d0e62ef1b6187c35133067349729a4d94273c7a
2024-05-13 18:06:55 +02:00
Christian Soffke
b8b4fdd999 shortcuts: voice fixes
- current time wasn't spoken
- 'sleep' shortcuts were voiced as "Time & Date"
- selected item wasn't spoken when returning
from Delete confirmation dialog

Change-Id: I3a3e8b7782323a8c02ae07302ecdfdd742e60908
2024-05-13 18:06:55 +02:00
Christian Soffke
51a5123f5e shortcuts: 'browse' type: fix ignored name field
see https://forums.rockbox.org/index.php/topic,54619.0.html

Change-Id: I9615ec9ee2e058a67199db96e16cd7008daf0891
2024-05-13 18:06:55 +02:00
Solomon Peachy
b6053c4d54 voice: Fix a handful of non-voiced splash messages
Change-Id: I561c756c542fa24824a881b5632c955a920b8471
2024-05-13 12:02:17 -04:00
Solomon Peachy
0bfc5d8d99 voice: Switch default piper voice for english-us
The original one was picked at random; while I personally find it
pleasing, it's soft spoken and doesn't work well when voicing over
already-playing music.

Change-Id: I0ed033f02a54f42e2d0729cab883068ecaad6faa
2024-05-13 12:02:17 -04:00
Aidan MacDonald
cc45e4d88d Really fix yellow this time
Change-Id: I73a39f823ca5d20f8a562ddb36ba4f8c7137b2db
2024-05-12 15:21:56 +01:00
Aidan MacDonald
2061448341 Fix yellow in 5f377c2613
Change-Id: Ib593e7afea52bc768242aa93d304f38fa1aea054
2024-05-12 15:05:21 +01:00
Dana Conrad
5f377c2613 Eros Q Native: Add Stereo SW behavior setting
Hopefully this should cover our bases so we can change
the behavior of the stereo switch to keep line out working
when they change the hardware on us!

Change-Id: Ic36bcb3778d5681a5f3f158c689df9c1420c1d7e
2024-05-12 09:42:02 -04:00
Solomon Peachy
d0758c5330 builds: Add 'erosqnative' to the 'unstable' build list
This will add it to the nightly builds, and add voice etc generation

Change-Id: I8d792775f9db9da23271913e62a170f2a907ed41
2024-05-10 08:34:04 -04:00
William Wilgus
4128a1fe48 [Bugfix/Feature] OpenPlugin and default plugins
selecting files to run is nice and all but you might not like the plugin
you can edit it OpenPlugin Viewer Plugin but instead pop it when you add
a file to reduce suprises

shortcut viewer is not ready for this so exclude it for now

Change-Id: I950599d87f47d42e8c2d59695f6583d497b217f0
adds: default plugin (if any) is selected in the open with dialog
2024-05-09 16:13:24 -04:00
Solomon Peachy
6e82897bfc make: Update help text
Change-Id: I069d3f62d93f0e8aab48f2cedbc8c7e65fde94d4
2024-05-08 22:40:18 -04:00
Solomon Peachy
54389dcf2f configure: fix test for LD version on non-macos systems
Change-Id: I6296a013def3e55b44cbba781f3a397a94d2c561
2024-05-08 22:40:18 -04:00
Aidan MacDonald
e37cd0f2f5 x1000: Enable NOCROSSREFS_TO()
Start enforcing the correctness of references to the .init section.

Change-Id: I507891a25be9cccff4cf8ec13fdc799b73c75176
2024-05-08 22:14:10 -04:00
Solomon Peachy
1957237a46 Fix red in 8c86fb6da0 (ipod5g only)
Change-Id: Idf6a488728b0187779bc4a9232c7e7e9400afeec
2024-05-08 22:03:59 -04:00
Solomon Peachy
8c86fb6da0 arm: Use -masm-syntax-unified when compiling with gcc8 or newer
Annoyingly, this makes all of the '.S' files we compile get treated as
divided syntax, so we need to make the syntax in them explicit.

Change-Id: I56a3916b7b24c84a1214a5d6bc4ed4d651f002cf
2024-05-08 21:45:42 -04:00
Solomon Peachy
0a89d1d4df Fix a typo in English
Change-Id: Ia0b84338cecbc744050336ac49074ec1a559f51a
2024-05-08 10:42:00 -04:00
Solomon Peachy
6bb6c20479 voice: Don't generate talkclips for directories with 'talkclip.ignore'
Add one of these to the .rockbox directory

Change-Id: Ibc9733ba31d1b2c49b69ab833d284faa84f5cedd
2024-05-07 16:21:21 -04:00
Solomon Peachy
64e4f81ffc voice: Properly handle UTF8-encoded filenames when generating talkclips
Eg this was happening before:

  '11 - Breña.mp3' --> '11 - Breña.mp3'

As well as resulting in incorrect voicing, it was breaking the encoding
of the .wav to .talk.

Change-Id: I6cf844d843ddf1a459f92e1ebd55c9feec886f55
2024-05-07 16:21:21 -04:00
William Wilgus
3348d84206 open_plugins Fix Yellow
Change-Id: I036bd57c7e55f7059f858e9f0929500c2094e579
2024-05-06 18:00:49 -04:00
William Wilgus
ee840709d3 [Feature] Open plugins now recognizes known filetypes and can run them
now you can run your lua files without having to add the viewer to
the shortcut or if you want a bmp file to be displayed when you start
the device that can be done as well

Change-Id: Ia56b566789623a2ca78d9e4583086db6e2cd689b
2024-05-06 17:27:25 -04:00
William Wilgus
30482bd908 [BugFix] Radio make sure resume frequency is in range
out of range frequencies hang the device (clip zip, others?)

Change-Id: I0d3af83a05479f70a958168f57c8cc305195b06b
2024-05-06 10:28:27 -04:00
Solomon Peachy
1189006a4b Update .gitignore
Change-Id: I7fed7aeb4ebbf861c0b0603e869db023b5d6dee7
2024-05-05 14:19:22 -04:00
William Wilgus
f55483a966 lua --remove files moved to include directory
Change-Id: Ic9256cb28126dba89b1458109c717f846f5b6d38
2024-05-05 14:11:47 -04:00
Solomon Peachy
c34076b2a5 Theme Editor: Make it compile with modern toolchains
Change-Id: Idc0ef3dd34ab186b4ea40f4d916a2addf87eb478
2024-05-05 14:05:13 -04:00
William Wilgus
d7c541742f Allow first level folders in plugin menu
add sorting directories as files
move picross files to a hidden folder

use directory for lua_scripts, sgt_puzzles

make plugin browser able to handle 1st level directories

Change-Id: I30852d71dc992c378d5790756e94f06f5a2e9bef
2024-05-05 14:01:43 -04:00
William Wilgus
efcea66280 Revert "readdir_r use in tagcache.check_dir, ft_load"
This reverts commit 0c737d3b2e.

Reason for revert: Not really a concern as open_stream returns an independent buffer since g#566

Change-Id: Idbd2f4a7cc2ea6362b7714629469eeb7b3d19b3b
2024-05-02 13:38:32 -04:00
William Wilgus
0c737d3b2e readdir_r use in tagcache.check_dir, ft_load
Change-Id: Ibcde39ed247e100dd47ae877fb2a3625bbb38d8b
2024-05-02 09:33:29 -04:00
Solomon Peachy
f2f5543856 Minor mechanical corrections to the Serbian translation
Just silencing some warnings that prevented 100% completion status.

Change-Id: I92ed17317b6397f71e65034f1ce7f66ecb92854f
2024-05-02 09:20:43 -04:00
Solomon Peachy
edb32a022d FS#13421: Update Serbian translation (Ivan Pesic)
Change-Id: Ic3d11c695803889be2036ba3aef97a07ec02819f
2024-05-02 08:52:00 -04:00
Solomon Peachy
8ad2512a02 FS#12549: Improve manual with respect to shortcut talkclips
Change-Id: I27adef824649071cc30142f7fad8d04cd810774b
2024-05-01 21:00:08 -04:00
Solomon Peachy
2ba12c1674 trnslation: Fix minor errors in the Dutch and Italian translations
Change-Id: Iaec389b0a6357320c2d9662a824dd1872410a7cd
2024-05-01 10:29:30 -04:00
Solomon Peachy
b32266b7db updatelang: Avoid some runtime warnings
...And add '"' to the suspicious character list

Change-Id: Ia8a790882085a6e82c89cae09164ddbccf36e47f
2024-05-01 09:11:58 -04:00
Solomon Peachy
67f61e1e13 Minor fix for the Turkish translation
...Quotes (") are not legal characters in a string

Change-Id: I445b145011577c64fd428bd2dbdf55080a156e1e
2024-05-01 08:59:22 -04:00
Solomon Peachy
69828c36a8 FS#13419: Updated Turkish translation (Eren Akpolat)
Change-Id: Ib49cc2f1566a0d446ea50ff270e0ecda2caf43ba
2024-05-01 08:08:12 -04:00