| 1451 | } |
| 1452 | |
| 1453 | const TranslatableString ContinueScrubbingMessage( |
| 1454 | const Scrubber &scrubber, bool clicked) |
| 1455 | { |
| 1456 | #if 0 |
| 1457 | if(scrubber.Seeks()) |
| 1458 | /* i18n-hint: These commands assist the user in finding a sound by ear. ... |
| 1459 | "Scrubbing" is variable-speed playback, ... |
| 1460 | "Seeking" is normal speed playback but with skips |
| 1461 | */ |
| 1462 | return XO("Move to Seek"); |
| 1463 | else |
| 1464 | /* i18n-hint: These commands assist the user in finding a sound by ear. ... |
| 1465 | "Scrubbing" is variable-speed playback, ... |
| 1466 | "Seeking" is normal speed playback but with skips |
| 1467 | */ |
| 1468 | return XO("Move to Scrub"); |
| 1469 | #else |
| 1470 | if( clicked ) { |
| 1471 | // Since mouse is down, mention dragging first. |
| 1472 | // IsScrubbing is true if Scrubbing OR seeking. |
| 1473 | if( scrubber.IsScrubbing() ) |
| 1474 | // User is dragging already, explain. |
| 1475 | return XO("Drag to Seek. Release to stop seeking."); |
| 1476 | else |
| 1477 | // User has clicked but not yet moved or released. |
| 1478 | return XO("Drag to Seek. Release and move to Scrub."); |
| 1479 | } |
| 1480 | // Since mouse is up, mention moving first. |
| 1481 | return XO("Move to Scrub. Drag to Seek."); |
| 1482 | #endif |
| 1483 | } |
| 1484 | |
| 1485 | const TranslatableString ScrubbingMessage(const Scrubber &scrubber, bool clicked) |
| 1486 | { |
no test coverage detected