8000 Uptading fork for new strings translation by RAVMN · Pull Request #4 · RAVMN/fx_cast · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Uptading fork for new strings translation #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 39 commits into from
Jan 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
8c5360a
Updated spanish translation (#91)
RAVMN Jan 12, 2020
270d62e
Fix indent
hensm Jan 12, 2020
d65c607
Implement initial media overlay
hensm Jan 12, 2020
164cde9
Add missing options type
hensm Jan 13, 2020
95bd156
Update packages and fix issue with app build script
hensm Jan 13, 2020
3a27953
Ensure returned receivers from StatusManager have a valid status
hensm Jan 13, 2020
2154fe4
Fix overlay createElement property descriptors definition
hensm Jan 13, 2020
a23ae9e
Show app name in receiver selector if known based on app ID
hensm Jan 13, 2020
d4f71e7
Unify receiver selector launching and allow switching to app media type
hensm Jan 14, 2020
09543f5
Always show "Cast..." menu item
hensm Jan 14, 2020
6f433d8
Dynamically register media overlay content script
hensm Jan 14, 2020
d387012
Fix locale message name typo
hensm Jan 14, 2020
a2c4e97
Make media overlay content script re-registration sequential
hensm Jan 14, 2020
c522343
Fix media casting handling unified receiver selector
hensm Jan 14, 2020
4858642
Correct label name in compatibility report issue template
hensm Jan 15, 2020
9295d8e
Add stop action to receiver selectors
hensm Jan 16, 2020
81fc98d
Add app launch path to loadSender
hensm Jan 16, 2020
ffb84ef
Add local .srt subtitle support
hensm Jan 19, 2020
d90bb00
Add build option to skip native selector build on macOS
hensm Jan 19, 2020
bbfc380
Fix CORS header on local subtitles
hensm Jan 19, 2020
ede9de4
Fix stop button not being enabled in certain contexts
hensm Jan 19, 2020
058b40b
Show stop button text regardless of receiver idle state
hensm Jan 20, 2020
7ce91cd
Use requestAnimationFrame in place of setInterval for tab mirroring
hensm Jan 20, 2020
3553912
Misc formatting
hensm Jan 21, 2020
7f84b90
Enable strict mode for extension build
hensm Jan 23, 2020
f6e09ca
Replace remaining console calls with logger calls
hensm Jan 23, 2020
23f431d
Fix tsconfig typo
hensm Jan 23, 2020
13dfb26
Fix options page bridge section not showing
hensm Jan 23, 2020
f2bb46d
Add option to enable/disable the backup bridge daemon connection
hensm Jan 23, 2020
bdfd67b
Fix YouTube casting
hensm Jan 23, 2020
6588ef9
Add extension update manifest
hensm Jan 23, 2020
b4669d1
Remove unnecessary download permissions
hensm Jan 23, 2020
b1fdd1e
Clean history after receiver selector popup is opened
hensm Jan 23, 2020
b7acf9b
Update missing locale strings list
hensm Jan 23, 2020
4d021fe
Added the missing NL (Dutch) Translations (#100)
ThaDaVos Jan 23, 2020
722a673
Fix typo
hensm Jan 23, 2020
c942877
Update missing locale strings list
hensm Jan 23, 2020
87fdec4
Add license + contributor info to options page
hensm Jan 23, 2020
27174c6
Don't check contentTabId/contentFrameId for background shims
hensm Jan 23, 2020
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/compatibility-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ assignees: ''


**Issues:**
Set the appropriate `status-` label and list any issues here.
Set the appropriate `compat-` label and list any issues here.


**Error log (if applicable):**
41 changes: 21 additions & 20 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,24 @@ Compatibility reports are always helpful. Use the "Compatibility Report" issue t

Missing strings:

* `nl`
* `popupMediaTypeApp`
* `popupMediaTypeTab`
* `popupMediaTypeScreen`
* `popupMediaTypeFile`
* `popupMediaSelectCastLabel`
* `popupMediaSelectToLabel`
* `contextAddToWhitelist`
* `contextAddToWhitelistRecommended`
* `contextAddToWhitelistAdvancedAdd`
* `optionsMediaSyncElementDescription`
* `optionsReceiverSelectorCategoryName`
* `optionsReceiverSelectorCategoryDescription`
* `optionsReceiverSelectorType`
* `optionsReceiverSelectorTypeBrowser`
* `optionsReceiverSelectorTypeNative`
* `optionsReceiverSelectorWaitForConnection`
* `optionsReceiverSelectorWaitForConnectionDescription`
* `optionsReceiverSelectorCloseIfFocusLost`
* `optionsMirroringAppIdDescription`

* `de`
* `mediaOverlayTitle`
* `optionsBridgeBackupEnabled`
* `optionsBridgeBackupEnabledDescription`
* `optionsMediaOverlayEnabled`
* `optionsMediaOverlayEnabledDescription`
* `optionsMediaOverlayEnabledTemp`
* `popupMediaTypeAppMedia`
* `popupStopButtonTitle`

* `es`
* `mediaOverlayTitle`
* `mediaOverlayTitle`
* `optionsBridgeBackupEnabled`
* `optionsBridgeBackupEnabledDescription`
* `optionsMediaOverlayEnabled`
* `optionsMediaOverlayEnabledDescription`
* `optionsMediaOverlayEnabledTemp`
* `popupMediaTypeAppMedia`
* `popupStopButtonTitle`
26 changes: 18 additions & 8 deletions app/bin/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ const { executableName

// Command line args
const argv = minimist(process.argv.slice(2), {
boolean: [ "package" ]
boolean: [ "package", "skipNativeBuilds" ]
, string: [ "platform", "arch", "packageType" ]
, default: {
platform: os.platform()
, arch: os.arch()
, package: false
// Linux package type (deb/rpm)
, packageType: "deb"
, skipNativeBuilds: false
}
});

Expand Down Expand Up @@ -116,7 +117,14 @@ async function build () {
spawnSync("mv", [ path.join(BUILD_PATH, "src/*"), BUILD_PATH ]
, spawnOptions);
} else {
fs.moveSync(path.join(BUILD_PATH, "src"), BUILD_PATH);
const buildSrcDir = path.join(BUILD_PATH, "src");

for (const fileName of fs.readdirSync(buildSrcDir)) {
fs.moveSync(path.join(buildSrcDir, fileName)
, path.join(BUILD_PATH, fileName));
}

fs.removeSync(buildSrcDir);
}

// Copy other files
Expand Down Expand Up @@ -183,12 +191,12 @@ async function build () {
// Run pkg to create a single executable
await pkg.exec([
BUILD_PATH
, "--target", `${pkgPlatform[argv.platform]}-${argv.arch}`
, "--target", `node12-${pkgPlatform[argv.platform]}-${argv.arch}`
, "--output", path.join(BUILD_PATH, executableName[argv.platform])
]);

// Build NativeMacReceiverSelector
if (isBuildingForMacOnMac) {
if (isBuildingForMacOnMac && !argv.skipNativeBuilds) {
const selectorPath = path.join(__dirname, "../selector/mac/");
const derivedDataPath = path.join(__dirname, "../selector/mac/build/");

Expand Down Expand Up @@ -234,7 +242,7 @@ async function build () {
, path.join(DIST_PATH, executableName[argv.platform])
, { overwrite: true });

if (isBuildingForMacOnMac) {
if (isBuildingForMacOnMac && !argv.skipNativeBuilds) {
fs.moveSync(
path.join(BUILD_PATH, selectorExecutableName)
, path.join(DIST_PATH, selectorExecutableName)
Expand Down Expand Up @@ -326,9 +334,11 @@ function packageDarwin (
fs.moveSync(path.join(BUILD_PATH, manifestName)
, path.join(rootManifestPath, manifestName));

// Move selector executable alongside main executable
fs.moveSync(path.join(BUILD_PATH, selectorExecutableName)
, path.join(rootExecutablePath, selectorExecutableName));
if (isBuildingForMacOnMac && !argv.skipNativeBuilds) {
// Move selector executable alongside main executable
fs.moveSync(path.join(BUILD_PATH, selectorExecutableName)
, path.join(rootExecutablePath, selectorExecutableName));
}


// Copy static files to be processed
Expand Down
Loading
0