Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .claude/rules/app-names.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# App names

## Translated names

An app name can be translated in `manifest.properties`, with one optional key per locale after `app.N.name`:

```
app.0.name=Clock
app.0.name.de-DE=Uhr
app.0.name.ja-JP=時計
```

- Locales are the ones of the `translations/<locale>.po` files: `de-DE`, `es-ES`, `fr-FR`, `ja-JP`, `ko-KR`, `zh-CN`, `zh-TW`. A language-only tag (`de`) also works, for every region.
- The launcher shows the translation for the device language, else `app.N.name`. Firmware without translated names ignores the keys, so keep `manifest.version=0.3`.
- The publisher sends them to the app catalog as `appNameTranslations` (`name.<locale>` for the package, else `app.0.name.<locale>`).

## Translated descriptions

`description.short` and `description` can be translated the same way, for App Hub:

```
description.short=Digital and analog clock
description.short.de-DE=Digitale und analoge Uhr
description=Digital and analog clock.\n\nSwitch between ...
description.de-DE=Digitale und analoge Uhr.\n\nWechsle ...
```

- `description.short.<locale>`: at most 32 characters, like the English one.
- `description.<locale>`: keep the `\n` escapes of the English text.
- The publisher writes a list per locale (`list-<arch>-<locale>-<page>.json`) for App Hub. A device downloads the one of its locale or language, so small devices don't parse every translation.
- Translate them for apps whose UI is translated (that have `translations/*.po`).

## Keep names short

A launcher tile cuts off long names. A name should be as short as possible while it still says which app it is.

- Not wider than the English name, or 12 columns when that is shorter. Chinese, Japanese and Korean characters count as 2. `tt app build` warns about wider names.
- At most 32 UTF-8 bytes (a firmware limit, an error when exceeded).
- When the translation can't be short, leave it out: the English name is shown instead. "Bluetooth-Neigungsmaus" for Air Mouse is too long.
- Don't translate brand and game names (Doom, Snake in German, 2048).
- Bump `version.code` and `version.name` of an app whose manifest changes.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ jobs:
id-token: write
with:
target: s3
# HelloWorld targets every ESP32 platform, so its build fills the compiler cache for the others
warm_cache_app: HelloWorld
secrets: inherit
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ sdkconfig.old
dependencies.lock

__pycache__

screenshots/
23 changes: 21 additions & 2 deletions Apps/AirMouse/manifest.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,30 @@ manifest.version=0.3
target.sdk=0.8.0-dev
target.platforms=esp32s3,esp32p4,esp32s31
id=tactility.airmouse
version.name=0.13.0
version.code=13
version.name=0.13.1
version.code=14
name=Air Mouse
description.short=Bluetooth tilt air mouse
description.short.de-DE=Bluetooth-Neigungsmaus
description.short.es-ES=Ratón Bluetooth por inclinación
description.short.fr-FR=Souris Bluetooth par inclinaison
description.short.ja-JP=傾けて操作するBluetoothマウス
description.short.ko-KR=기울여 조작하는 블루투스 마우스
description.short.zh-CN=蓝牙体感倾斜鼠标
description.short.zh-TW=藍牙體感傾斜滑鼠
description=Turns the device into a Bluetooth LE mouse. Rotate the device to move the pointer and tap the two on-screen pads for the left and right buttons. It pairs with a PC, phone or tablet like any other Bluetooth mouse.\n\nThe pointer follows the rotation measured by the gyroscope, so it works the same whether the device is held upright or on its side. Features: automatic calibration, adjustable sensitivity, a settings screen and an optional auto-clutch that freezes the pointer while you reposition the device.\n\nRequires a gyroscope and Bluetooth.
description.de-DE=Macht das Gerät zu einer Bluetooth-LE-Maus. Drehe das Gerät, um den Zeiger zu bewegen, und tippe auf die zwei Felder auf dem Bildschirm für die linke und rechte Maustaste. Es koppelt sich wie jede andere Bluetooth-Maus mit einem PC, Smartphone oder Tablet.\n\nDer Zeiger folgt der vom Gyroskop gemessenen Drehung und funktioniert deshalb gleich, ob das Gerät aufrecht oder seitlich gehalten wird. Funktionen: automatische Kalibrierung, einstellbare Empfindlichkeit, ein Einstellungsbildschirm und eine optionale automatische Kupplung, die den Zeiger anhält, während du das Gerät neu ausrichtest.\n\nBenötigt ein Gyroskop und Bluetooth.
description.es-ES=Convierte el dispositivo en un ratón Bluetooth LE. Gira el dispositivo para mover el puntero y toca los dos botones de la pantalla para el clic izquierdo y derecho. Se empareja con un PC, teléfono o tableta como cualquier otro ratón Bluetooth.\n\nEl puntero sigue la rotación que mide el giroscopio, así que funciona igual con el dispositivo en vertical o de lado. Funciones: calibración automática, sensibilidad ajustable, una pantalla de ajustes y un embrague automático opcional que congela el puntero mientras recolocas el dispositivo.\n\nRequiere un giroscopio y Bluetooth.
description.fr-FR=Transforme l'appareil en souris Bluetooth LE. Faites pivoter l'appareil pour déplacer le pointeur et touchez les deux zones à l'écran pour les boutons gauche et droit. Il s'appaire avec un PC, un téléphone ou une tablette comme n'importe quelle souris Bluetooth.\n\nLe pointeur suit la rotation mesurée par le gyroscope : il fonctionne donc de la même façon que l'appareil soit tenu droit ou sur le côté. Fonctions : calibrage automatique, sensibilité réglable, un écran de réglages et un débrayage automatique optionnel qui fige le pointeur pendant que vous repositionnez l'appareil.\n\nNécessite un gyroscope et le Bluetooth.
description.ja-JP=デバイスを Bluetooth LE マウスにします。デバイスを回転させるとポインターが動き、画面上の2つのパッドをタップすると左右のボタンになります。ほかの Bluetooth マウスと同じように PC、スマートフォン、タブレットとペアリングできます。\n\nポインターはジャイロスコープで測った回転に従うため、デバイスを縦に持っても横に持っても同じように動きます。機能: 自動キャリブレーション、感度調整、設定画面、デバイスを持ち直す間ポインターを止めるオプションの自動クラッチ。\n\nジャイロスコープと Bluetooth が必要です。
description.ko-KR=기기를 블루투스 LE 마우스로 바꿉니다. 기기를 회전하면 포인터가 움직이고, 화면의 두 패드를 누르면 왼쪽과 오른쪽 버튼이 됩니다. 다른 블루투스 마우스처럼 PC, 휴대폰, 태블릿과 페어링됩니다.\n\n포인터는 자이로스코프로 측정한 회전을 따라가므로 기기를 세로로 들든 가로로 들든 똑같이 동작합니다. 기능: 자동 보정, 감도 조절, 설정 화면, 기기를 다시 잡는 동안 포인터를 멈추는 선택형 자동 클러치.\n\n자이로스코프와 블루투스가 필요합니다.
description.zh-CN=将设备变成蓝牙 LE 鼠标。转动设备即可移动指针,点击屏幕上的两个按键作为左键和右键。它可以像其他蓝牙鼠标一样与电脑、手机或平板配对。\n\n指针跟随陀螺仪测得的旋转,因此无论竖握还是横握设备,效果都一样。功能:自动校准、可调灵敏度、设置界面,以及可选的自动离合,在你重新摆放设备时冻结指针。\n\n需要陀螺仪和蓝牙。
description.zh-TW=將裝置變成藍牙 LE 滑鼠。轉動裝置即可移動指標,點擊螢幕上的兩個按鍵作為左鍵和右鍵。它可以像其他藍牙滑鼠一樣與電腦、手機或平板配對。\n\n指標跟隨陀螺儀測得的旋轉,因此無論直握或橫握裝置,效果都一樣。功能:自動校準、可調靈敏度、設定畫面,以及可選的自動離合,在你重新擺放裝置時凍結指標。\n\n需要陀螺儀和藍牙。
app.0.id=tactility.airmouse
app.0.name=Air Mouse
app.0.name.es-ES=Ratón aéreo
app.0.name.ja-JP=エアマウス
app.0.name.ko-KR=에어 마우스
app.0.name.zh-CN=空中鼠标
app.0.name.zh-TW=空中滑鼠
app.0.binary=airmouse
25 changes: 23 additions & 2 deletions Apps/AudioRecorder/manifest.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,32 @@ manifest.version=0.3
target.sdk=0.8.0-dev
target.platforms=esp32s3,esp32p4,esp32s31
id=tactility.audiorecorder
version.name=0.6.0
version.code=6
version.name=0.6.1
version.code=7
name=Recorder
description.short=Record and play WAV audio
description.short.de-DE=WAV-Audio aufnehmen, abspielen
description.short.es-ES=Graba y reproduce audio WAV
description.short.fr-FR=Enregistrer et lire de l'audio
description.short.ja-JP=WAV音声の録音と再生
description.short.ko-KR=WAV 오디오 녹음 및 재생
description.short.zh-CN=录制和播放 WAV 音频
description.short.zh-TW=錄製和播放 WAV 音訊
description=Records 16 kHz, mono, 16-bit WAV audio from the device's microphone and plays it back.\n\nTap a recording to fold out its player beneath the row, with a progress bar, elapsed and total time, and Play, Pause and Stop. Recordings are listed newest-first with their duration, size and date, and can be deleted from the toolbar. Recordings are limited to 5 minutes. The layout follows the Material theme and fills the screen from small 320x240 panels to large landscape displays.
description.de-DE=Nimmt 16-kHz-, Mono-, 16-Bit-WAV-Audio mit dem Mikrofon des Geräts auf und spielt es ab.\n\nTippe auf eine Aufnahme, um darunter ihren Player aufzuklappen, mit Fortschrittsbalken, verstrichener und gesamter Zeit sowie Abspielen, Pause und Stopp. Aufnahmen werden mit Dauer, Größe und Datum aufgelistet, die neueste zuerst, und können über die Symbolleiste gelöscht werden. Aufnahmen sind auf 5 Minuten begrenzt. Das Layout folgt dem Material-Design und füllt den Bildschirm von kleinen 320x240-Displays bis zu großen Querformat-Displays.
description.es-ES=Graba audio WAV de 16 kHz, mono y 16 bits con el micrófono del dispositivo y lo reproduce.\n\nToca una grabación para desplegar su reproductor debajo de la fila, con una barra de progreso, el tiempo transcurrido y total, y Reproducir, Pausa y Detener. Las grabaciones aparecen de la más reciente a la más antigua con su duración, tamaño y fecha, y se pueden borrar desde la barra de herramientas. Las grabaciones duran como máximo 5 minutos. El diseño sigue el tema Material y llena la pantalla, desde paneles pequeños de 320x240 hasta pantallas grandes en horizontal.
description.fr-FR=Enregistre de l'audio WAV 16 kHz, mono, 16 bits avec le micro de l'appareil et le relit.\n\nTouchez un enregistrement pour déplier son lecteur sous la ligne, avec une barre de progression, le temps écoulé et total, et Lecture, Pause et Arrêt. Les enregistrements sont listés du plus récent au plus ancien avec leur durée, leur taille et leur date, et peuvent être supprimés depuis la barre d'outils. Les enregistrements sont limités à 5 minutes. La mise en page suit le thème Material et remplit l'écran, des petits écrans 320x240 aux grands écrans en paysage.
description.ja-JP=デバイスのマイクから 16 kHz、モノラル、16 ビットの WAV 音声を録音し、再生します。\n\n録音をタップすると、その行の下にプレーヤーが開き、進行状況バー、経過時間と合計時間、再生・一時停止・停止ボタンが表示されます。録音は新しい順に長さ、サイズ、日付とともに一覧表示され、ツールバーから削除できます。録音は最長 5 分です。レイアウトはマテリアルテーマに従い、小さな 320x240 のパネルから大きな横長ディスプレイまで画面いっぱいに表示されます。
description.ko-KR=기기의 마이크로 16kHz, 모노, 16비트 WAV 오디오를 녹음하고 재생합니다.\n\n녹음을 누르면 그 행 아래에 플레이어가 펼쳐지며, 진행 막대, 경과 시간과 전체 시간, 재생·일시정지·정지 버튼이 있습니다. 녹음은 최신순으로 길이, 크기, 날짜와 함께 표시되며 도구 모음에서 삭제할 수 있습니다. 녹음은 최대 5분입니다. 레이아웃은 머티리얼 테마를 따르며 작은 320x240 패널부터 큰 가로 디스플레이까지 화면을 채웁니다.
description.zh-CN=使用设备的麦克风录制 16 kHz、单声道、16 位的 WAV 音频并回放。\n\n点击一条录音即可在该行下方展开播放器,包含进度条、已播放时间和总时长,以及播放、暂停和停止按钮。录音按从新到旧排列,显示时长、大小和日期,可在工具栏中删除。每条录音最长 5 分钟。界面遵循 Material 主题,从 320x240 的小屏幕到大尺寸横屏都能铺满屏幕。
description.zh-TW=使用裝置的麥克風錄製 16 kHz、單聲道、16 位元的 WAV 音訊並播放。\n\n點擊一筆錄音即可在該列下方展開播放器,包含進度列、已播放時間和總時長,以及播放、暫停和停止按鈕。錄音依新到舊排列,顯示時長、大小和日期,可在工具列中刪除。每筆錄音最長 5 分鐘。版面遵循 Material 主題,從 320x240 的小螢幕到大尺寸橫向螢幕都能填滿畫面。
app.0.id=tactility.audiorecorder
app.0.name=Recorder
app.0.name.de-DE=Rekorder
app.0.name.es-ES=Grabadora
app.0.name.fr-FR=Dictaphone
app.0.name.ja-JP=レコーダー
app.0.name.ko-KR=녹음기
app.0.name.zh-CN=录音机
app.0.name.zh-TW=錄音機
app.0.binary=audiorecorder
12 changes: 12 additions & 0 deletions Apps/BusyBoxVi/main/Include/libbb.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@
#include <time.h>
#include <unistd.h>

/* memrchr() is a GNU extension: macOS has none */
#ifdef __APPLE__
static inline void* bb_memrchr(const void* s, int c, size_t n) {
const unsigned char* p = (const unsigned char*)s + n;
while (n--) {
if (*--p == (unsigned char)c) return (void*)p;
}
return NULL;
}
#define memrchr bb_memrchr
#endif

#ifndef TIOCGWINSZ
#define TIOCGWINSZ 0x5413
struct winsize {
Expand Down
4 changes: 2 additions & 2 deletions Apps/BusyBoxVi/manifest.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ manifest.version=0.3
target.sdk=0.8.0-dev
target.platforms=all
id=tactility.busyboxvi
version.name=0.9.0
version.code=9
version.name=0.9.1
version.code=10
name=BusyBox vi
description.short=BusyBox vi text editor
description=The BusyBox vi text editor, for use from the Terminal app.\n\nRun: vi [-c CMD] [-R] [-H] [FILE]...\n\nSupports colon commands (:w, :q, :wq, :e, :r, :s/old/new/), yank and put, marks, plain-text search, repeat, undo and :set options. Regular expressions, shell commands and suspend are not supported. The terminal has no Home, End, PgUp or PgDn keys: use 0, $, Ctrl+B and Ctrl+F.
Expand Down
25 changes: 23 additions & 2 deletions Apps/Calculator/manifest.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,32 @@ manifest.version=0.3
target.sdk=0.8.0-dev
target.platforms=all
id=tactility.calculator
version.name=0.30.0
version.code=30
version.name=0.30.1
version.code=31
name=Calculator
description.short=Simple calculator
description.short.de-DE=Einfacher Taschenrechner
description.short.es-ES=Calculadora sencilla
description.short.fr-FR=Calculatrice simple
description.short.ja-JP=シンプルな電卓
description.short.ko-KR=간단한 계산기
description.short.zh-CN=简易计算器
description.short.zh-TW=簡易計算機
description=Basic calculator with an on-screen keypad for everyday arithmetic. Works with touch and with a keyboard.
description.de-DE=Einfacher Taschenrechner mit Bildschirmtastatur für alltägliche Rechnungen. Funktioniert mit Touch und mit einer Tastatur.
description.es-ES=Calculadora básica con teclado en pantalla para las cuentas de cada día. Funciona con la pantalla táctil y con un teclado.
description.fr-FR=Calculatrice de base avec un pavé numérique à l'écran pour les calculs de tous les jours. Fonctionne au toucher et avec un clavier.
description.ja-JP=日常の計算のための画面キーパッド付きの基本的な電卓です。タッチ操作とキーボードの両方で使えます。
description.ko-KR=일상적인 계산을 위한 화면 키패드가 있는 기본 계산기입니다. 터치와 키보드 모두로 사용할 수 있습니다.
description.zh-CN=带屏幕键盘的基础计算器,适合日常计算。支持触摸和键盘操作。
description.zh-TW=附螢幕鍵盤的基本計算機,適合日常計算。支援觸控和鍵盤操作。
app.0.id=tactility.calculator
app.0.name=Calculator
app.0.name.de-DE=Rechner
app.0.name.es-ES=Calculadora
app.0.name.fr-FR=Calculatrice
app.0.name.ja-JP=電卓
app.0.name.ko-KR=계산기
app.0.name.zh-CN=计算器
app.0.name.zh-TW=計算機
app.0.binary=calculator
25 changes: 23 additions & 2 deletions Apps/Calendar/manifest.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,33 @@ manifest.version=0.3
target.sdk=0.8.0-dev
target.platforms=esp32,esp32s3,esp32p4,esp32s31
id=tactility.calendar
version.name=0.7.1
version.code=10
version.name=0.7.2
version.code=11
name=Calendar
description.short=Read-only CalDAV calendar
description.short.de-DE=CalDAV-Kalender (nur lesen)
description.short.es-ES=Calendario CalDAV (solo lectura)
description.short.fr-FR=Agenda CalDAV en lecture seule
description.short.ja-JP=閲覧専用の CalDAV カレンダー
description.short.ko-KR=읽기 전용 CalDAV 캘린더
description.short.zh-CN=只读 CalDAV 日历
description.short.zh-TW=唯讀 CalDAV 行事曆
description=View your CalDAV calendar in a month view, selected-day agenda, and upcoming agenda. Sync downloads and caches events for later viewing.
description.de-DE=Zeige deinen CalDAV-Kalender in einer Monatsansicht, einer Tagesübersicht für den gewählten Tag und einer Übersicht der kommenden Termine. Die Synchronisierung lädt Termine herunter und speichert sie zum späteren Ansehen.
description.es-ES=Consulta tu calendario CalDAV en una vista mensual, una agenda del día seleccionado y una agenda de próximos eventos. La sincronización descarga los eventos y los guarda para verlos más tarde.
description.fr-FR=Consultez votre agenda CalDAV dans une vue mensuelle, l'agenda du jour sélectionné et l'agenda à venir. La synchronisation télécharge les événements et les garde pour les consulter plus tard.
description.ja-JP=CalDAV カレンダーを、月表示、選択した日の予定、今後の予定で表示します。同期すると予定をダウンロードしてキャッシュし、あとで見ることができます。
description.ko-KR=CalDAV 캘린더를 월 보기, 선택한 날의 일정, 다가오는 일정으로 확인합니다. 동기화하면 일정을 내려받아 캐시해 두므로 나중에 볼 수 있습니다.
description.zh-CN=以月视图、所选日期日程和即将到来的日程查看你的 CalDAV 日历。同步会下载并缓存事件,便于之后查看。
description.zh-TW=以月檢視、所選日期行程和即將到來的行程查看你的 CalDAV 行事曆。同步會下載並快取活動,方便之後查看。
app.0.id=tactility.calendar
app.0.name=Calendar
app.0.name.de-DE=Kalender
app.0.name.es-ES=Calendario
app.0.name.fr-FR=Calendrier
app.0.name.ja-JP=カレンダー
app.0.name.ko-KR=캘린더
app.0.name.zh-CN=日历
app.0.name.zh-TW=行事曆
app.0.binary=calendar
app.0.stack.depth=8192
Loading
Loading